WordPress.org

Make WordPress Core

Changeset 42777


Ignore:
Timestamp:
03/04/2018 09:57:10 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use consistent description for $wp_filesystem global.

See #42505.

Location:
trunk/src/wp-admin
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r42761 r42777  
    36353635 * @see Theme_Upgrader
    36363636 *
    3637  * @global WP_Filesystem_Base $wp_filesystem Subclass
     3637 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    36383638 */
    36393639function wp_ajax_install_theme() {
     
    37543754 * @see Theme_Upgrader
    37553755 *
    3756  * @global WP_Filesystem_Base $wp_filesystem Subclass
     3756 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    37573757 */
    37583758function wp_ajax_update_theme() {
     
    38493849 * @see delete_theme()
    38503850 *
    3851  * @global WP_Filesystem_Base $wp_filesystem Subclass
     3851 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    38523852 */
    38533853function wp_ajax_delete_theme() {
     
    39213921 * @see Plugin_Upgrader
    39223922 *
    3923  * @global WP_Filesystem_Base $wp_filesystem Subclass
     3923 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    39243924 */
    39253925function wp_ajax_install_plugin() {
     
    40284028 * @see Plugin_Upgrader
    40294029 *
    4030  * @global WP_Filesystem_Base $wp_filesystem Subclass
     4030 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    40314031 */
    40324032function wp_ajax_update_plugin() {
     
    41354135 * @see delete_plugins()
    41364136 *
    4137  * @global WP_Filesystem_Base $wp_filesystem Subclass
     4137 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    41384138 */
    41394139function wp_ajax_delete_plugin() {
  • trunk/src/wp-admin/includes/class-core-upgrader.php

    r42745 r42777  
    4444     * @since 2.8.0
    4545     *
    46      * @global WP_Filesystem_Base $wp_filesystem Subclass
     46     * @global WP_Filesystem_Base $wp_filesystem                WordPress filesystem subclass.
    4747     * @global callable           $_wp_filesystem_direct_method
    4848     *
  • trunk/src/wp-admin/includes/class-language-pack-upgrader.php

    r42745 r42777  
    150150     * @since 3.7.0
    151151     *
    152      * @global WP_Filesystem_Base $wp_filesystem Subclass
     152     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    153153     *
    154154     * @param array $language_updates Optional. Language pack updates. Default empty array.
  • trunk/src/wp-admin/includes/class-plugin-upgrader.php

    r42343 r42777  
    335335     * @since 3.3.0
    336336     *
    337      * @global WP_Filesystem_Base $wp_filesystem Subclass
     337     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    338338     *
    339339     * @param string $source The path to the downloaded package source.
     
    444444     * @since 2.8.0
    445445     *
    446      * @global WP_Filesystem_Base $wp_filesystem Subclass
     446     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    447447     *
    448448     * @param bool|WP_Error $removed
  • trunk/src/wp-admin/includes/class-theme-upgrader.php

    r42343 r42777  
    448448     * @since 3.3.0
    449449     *
    450      * @global WP_Filesystem_Base $wp_filesystem Subclass
     450     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    451451     *
    452452     * @param string $source The full path to the package source.
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r42761 r42777  
    174174     * @since 2.8.0
    175175     *
    176      * @global WP_Filesystem_Base $wp_filesystem Subclass
     176     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    177177     *
    178178     * @param array $directories                  Optional. A list of directories. If any of these do
     
    290290     * @since 2.8.0
    291291     *
    292      * @global WP_Filesystem_Base $wp_filesystem Subclass
     292     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    293293     *
    294294     * @param string $package        Full path to the package file.
     
    372372     * @since 4.3.0
    373373     *
    374      * @global WP_Filesystem_Base $wp_filesystem Subclass
     374     * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    375375     *
    376376     * @param string $remote_destination The location on the remote filesystem to be cleared
     
    424424     * @since 2.8.0
    425425     *
    426      * @global WP_Filesystem_Base $wp_filesystem Subclass
     426     * @global WP_Filesystem_Base $wp_filesystem        WordPress filesystem subclass.
    427427     * @global array              $wp_theme_directories
    428428     *
  • trunk/src/wp-admin/includes/file.php

    r42776 r42777  
    10761076 * @since 2.5.0
    10771077 *
    1078  * @global WP_Filesystem_Base $wp_filesystem subclass.
     1078 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    10791079 *
    10801080 * @param string $file Full path and filename of ZIP archive.
     
    11481148 * @access private
    11491149 *
    1150  * @global WP_Filesystem_Base $wp_filesystem subclass.
     1150 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    11511151 *
    11521152 * @param string $file       Full path and filename of ZIP archive.
     
    12751275 * @access private
    12761276 *
    1277  * @global WP_Filesystem_Base $wp_filesystem subclass.
     1277 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    12781278 *
    12791279 * @param string $file       Full path and filename of ZIP archive.
     
    13861386 * @since 2.5.0
    13871387 *
    1388  * @global WP_Filesystem_Base $wp_filesystem subclass.
     1388 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    13891389 *
    13901390 * @param string $from     Source directory.
     
    14481448 * @since 2.5.0
    14491449 *
    1450  * @global WP_Filesystem_Base $wp_filesystem subclass.
     1450 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    14511451 *
    14521452 * @param array|false  $args                         Optional. Connection args, These are passed directly to
  • trunk/src/wp-admin/includes/plugin.php

    r42761 r42777  
    813813 * @since 2.6.0
    814814 *
    815  * @global WP_Filesystem_Base $wp_filesystem
     815 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    816816 *
    817817 * @param array  $plugins    List of plugins to delete.
  • trunk/src/wp-admin/includes/theme.php

    r42761 r42777  
    1212 * @since 2.8.0
    1313 *
    14  * @global WP_Filesystem_Base $wp_filesystem Subclass
     14 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    1515 *
    1616 * @param string $stylesheet Stylesheet of the theme to delete
  • trunk/src/wp-admin/includes/update-core.php

    r42547 r42777  
    861861 * @since 2.7.0
    862862 *
    863  * @global WP_Filesystem_Base $wp_filesystem
     863 * @global WP_Filesystem_Base $wp_filesystem          WordPress filesystem subclass.
    864864 * @global array              $_old_files
    865865 * @global array              $_new_bundled_files
  • trunk/src/wp-admin/update-core.php

    r42761 r42777  
    456456 * @since 2.7.0
    457457 *
    458  * @global WP_Filesystem_Base $wp_filesystem Subclass
     458 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
    459459 *
    460460 * @param bool $reinstall
Note: See TracChangeset for help on using the changeset viewer.