diff --git a/src/wp-admin/includes/class-wp-filesystem-base.php b/src/wp-admin/includes/class-wp-filesystem-base.php index de5ce054cf..221f8b59f5 100644 --- a/src/wp-admin/includes/class-wp-filesystem-base.php +++ b/src/wp-admin/includes/class-wp-filesystem-base.php @@ -129,14 +129,13 @@ class WP_Filesystem_Base { * @see WP_Filesystem_Base::wp_themes_dir() * @see WP_Filesystem_Base::wp_lang_dir() * - * @param string $base The folder to start searching from. - * @param bool $echo True to display debug information. - * Default false. + * @param string $base Optional. The folder to start searching from. Default '.'. + * @param bool $verbose Optional. True to display debug information. Default false. * @return string The location of the remote path. */ - public function find_base_dir( $base = '.', $echo = false ) { + public function find_base_dir( $base = '.', $verbose = false ) { _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); - $this->verbose = $echo; + $this->verbose = $verbose; return $this->abspath(); } @@ -151,13 +150,13 @@ class WP_Filesystem_Base { * @see WP_Filesystem_Base::wp_themes_dir() * @see WP_Filesystem_Base::wp_lang_dir() * - * @param string $base The folder to start searching from. - * @param bool $echo True to display debug information. + * @param string $base Optional. The folder to start searching from. Default '.'. + * @param bool $verbose Optional. True to display debug information. Default false. * @return string The location of the remote path. */ - public function get_base_dir( $base = '.', $echo = false ) { + public function get_base_dir( $base = '.', $verbose = false ) { _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); - $this->verbose = $echo; + $this->verbose = $verbose; return $this->abspath(); }