Docs: Use consistent description for `$wp_filesystem` global.

See #42505.
Built from https://develop.svn.wordpress.org/trunk@42777


git-svn-id: http://core.svn.wordpress.org/trunk@42607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-03-04 21:58:30 +00:00
parent 179bec1306
commit 58592b64dc
12 changed files with 25 additions and 25 deletions

View File

@ -3634,7 +3634,7 @@ function wp_ajax_save_wporg_username() {
*
* @see Theme_Upgrader
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*/
function wp_ajax_install_theme() {
check_ajax_referer( 'updates' );
@ -3753,7 +3753,7 @@ function wp_ajax_install_theme() {
*
* @see Theme_Upgrader
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*/
function wp_ajax_update_theme() {
check_ajax_referer( 'updates' );
@ -3848,7 +3848,7 @@ function wp_ajax_update_theme() {
*
* @see delete_theme()
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*/
function wp_ajax_delete_theme() {
check_ajax_referer( 'updates' );
@ -3920,7 +3920,7 @@ function wp_ajax_delete_theme() {
*
* @see Plugin_Upgrader
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*/
function wp_ajax_install_plugin() {
check_ajax_referer( 'updates' );
@ -4027,7 +4027,7 @@ function wp_ajax_install_plugin() {
*
* @see Plugin_Upgrader
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*/
function wp_ajax_update_plugin() {
check_ajax_referer( 'updates' );
@ -4134,7 +4134,7 @@ function wp_ajax_update_plugin() {
*
* @see delete_plugins()
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*/
function wp_ajax_delete_plugin() {
check_ajax_referer( 'updates' );

View File

@ -43,7 +43,7 @@ class Core_Upgrader extends WP_Upgrader {
*
* @since 2.8.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
* @global callable $_wp_filesystem_direct_method
*
* @param object $current Response object for whether WordPress is current.

View File

@ -149,7 +149,7 @@ class Language_Pack_Upgrader extends WP_Upgrader {
*
* @since 3.7.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param array $language_updates Optional. Language pack updates. Default empty array.
* @param array $args {

View File

@ -334,7 +334,7 @@ class Plugin_Upgrader extends WP_Upgrader {
*
* @since 3.3.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $source The path to the downloaded package source.
* @return string|WP_Error The source as passed, or a WP_Error object
@ -443,7 +443,7 @@ class Plugin_Upgrader extends WP_Upgrader {
*
* @since 2.8.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param bool|WP_Error $removed
* @param string $local_destination

View File

@ -447,7 +447,7 @@ class Theme_Upgrader extends WP_Upgrader {
*
* @since 3.3.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $source The full path to the package source.
* @return string|WP_Error The source or a WP_Error.

View File

@ -173,7 +173,7 @@ class WP_Upgrader {
*
* @since 2.8.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param array $directories Optional. A list of directories. If any of these do
* not exist, a WP_Error object will be returned.
@ -289,7 +289,7 @@ class WP_Upgrader {
*
* @since 2.8.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $package Full path to the package file.
* @param bool $delete_package Optional. Whether to delete the package file after attempting
@ -371,7 +371,7 @@ class WP_Upgrader {
*
* @since 4.3.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $remote_destination The location on the remote filesystem to be cleared
* @return bool|WP_Error True upon success, WP_Error on failure.
@ -423,7 +423,7 @@ class WP_Upgrader {
*
* @since 2.8.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
* @global array $wp_theme_directories
*
* @param array|string $args {

View File

@ -1075,7 +1075,7 @@ function verify_file_md5( $filename, $expected_md5 ) {
*
* @since 2.5.0
*
* @global WP_Filesystem_Base $wp_filesystem subclass.
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $file Full path and filename of ZIP archive.
* @param string $to Full path on the filesystem to extract archive to.
@ -1147,7 +1147,7 @@ function unzip_file( $file, $to ) {
* @see unzip_file()
* @access private
*
* @global WP_Filesystem_Base $wp_filesystem subclass.
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $file Full path and filename of ZIP archive.
* @param string $to Full path on the filesystem to extract archive to.
@ -1274,7 +1274,7 @@ function _unzip_file_ziparchive( $file, $to, $needed_dirs = array() ) {
* @see unzip_file()
* @access private
*
* @global WP_Filesystem_Base $wp_filesystem subclass.
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $file Full path and filename of ZIP archive.
* @param string $to Full path on the filesystem to extract archive to.
@ -1385,7 +1385,7 @@ function _unzip_file_pclzip( $file, $to, $needed_dirs = array() ) {
*
* @since 2.5.0
*
* @global WP_Filesystem_Base $wp_filesystem subclass.
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $from Source directory.
* @param string $to Destination directory.
@ -1447,7 +1447,7 @@ function copy_dir( $from, $to, $skip_list = array() ) {
*
* @since 2.5.0
*
* @global WP_Filesystem_Base $wp_filesystem subclass.
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param array|false $args Optional. Connection args, These are passed directly to
* the `WP_Filesystem_*()` classes. Default false.

View File

@ -812,7 +812,7 @@ function activate_plugins( $plugins, $redirect = '', $network_wide = false, $sil
*
* @since 2.6.0
*
* @global WP_Filesystem_Base $wp_filesystem
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param array $plugins List of plugins to delete.
* @param string $deprecated Deprecated.

View File

@ -11,7 +11,7 @@
*
* @since 2.8.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string $stylesheet Stylesheet of the theme to delete
* @param string $redirect Redirect to page when complete.

View File

@ -860,7 +860,7 @@ $_new_bundled_files = array(
*
* @since 2.7.0
*
* @global WP_Filesystem_Base $wp_filesystem
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
* @global array $_old_files
* @global array $_new_bundled_files
* @global wpdb $wpdb

View File

@ -455,7 +455,7 @@ function list_translation_updates() {
*
* @since 2.7.0
*
* @global WP_Filesystem_Base $wp_filesystem Subclass
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param bool $reinstall
*/

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42776';
$wp_version = '5.0-alpha-42777';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.