From 25b078362930f9cc2367db24d44af5f924c3e6a2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 21 Aug 2020 00:43:05 +0000 Subject: [PATCH] Docs: Correct references to `WP_Filesystem_Base` methods in various DocBlocks. Props pbiron. Fixes #51087. Built from https://develop.svn.wordpress.org/trunk@48835 git-svn-id: http://core.svn.wordpress.org/trunk@48597 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../includes/class-wp-filesystem-base.php | 28 +++++++++---------- wp-admin/includes/class-wp-upgrader.php | 4 +-- wp-includes/version.php | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/wp-admin/includes/class-wp-filesystem-base.php b/wp-admin/includes/class-wp-filesystem-base.php index 170a2444f4..11c9390545 100644 --- a/wp-admin/includes/class-wp-filesystem-base.php +++ b/wp-admin/includes/class-wp-filesystem-base.php @@ -122,12 +122,12 @@ class WP_Filesystem_Base { * Locates a folder on the remote filesystem. * * @since 2.5.0 - * @deprecated 2.7.0 use WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir() instead. - * @see WP_Filesystem::abspath() - * @see WP_Filesystem::wp_content_dir() - * @see WP_Filesystem::wp_plugins_dir() - * @see WP_Filesystem::wp_themes_dir() - * @see WP_Filesystem::wp_lang_dir() + * @deprecated 2.7.0 use WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir() instead. + * @see WP_Filesystem_Base::abspath() + * @see WP_Filesystem_Base::wp_content_dir() + * @see WP_Filesystem_Base::wp_plugins_dir() + * @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. @@ -135,7 +135,7 @@ class WP_Filesystem_Base { * @return string The location of the remote path. */ public function find_base_dir( $base = '.', $echo = false ) { - _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' ); + _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); $this->verbose = $echo; return $this->abspath(); } @@ -144,19 +144,19 @@ class WP_Filesystem_Base { * Locates a folder on the remote filesystem. * * @since 2.5.0 - * @deprecated 2.7.0 use WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir() methods instead. - * @see WP_Filesystem::abspath() - * @see WP_Filesystem::wp_content_dir() - * @see WP_Filesystem::wp_plugins_dir() - * @see WP_Filesystem::wp_themes_dir() - * @see WP_Filesystem::wp_lang_dir() + * @deprecated 2.7.0 use WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir() methods instead. + * @see WP_Filesystem_Base::abspath() + * @see WP_Filesystem_Base::wp_content_dir() + * @see WP_Filesystem_Base::wp_plugins_dir() + * @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. * @return string The location of the remote path. */ public function get_base_dir( $base = '.', $echo = false ) { - _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' ); + _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); $this->verbose = $echo; return $this->abspath(); } diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index 2da3b7cb21..5faac56213 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -344,12 +344,12 @@ class WP_Upgrader { } /** - * Flatten the results of WP_Filesystem::dirlist() for iterating over. + * Flatten the results of WP_Filesystem_Base::dirlist() for iterating over. * * @since 4.9.0 * @access protected * - * @param array $nested_files Array of files as returned by WP_Filesystem::dirlist(). + * @param array $nested_files Array of files as returned by WP_Filesystem_Base::dirlist(). * @param string $path Relative path to prepend to child nodes. Optional. * @return array A flattened array of the $nested_files specified. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 9b628a51b3..5d76ab091b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48834'; +$wp_version = '5.6-alpha-48835'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.