Make WordPress Core


Ignore:
Timestamp:
05/29/2015 02:05:26 AM (9 years ago)
Author:
wonderboymusic
Message:

Add @global annotations to (the rest of the?) wp-admin/* files.

Does not include list table file changes.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update-core.php

    r32385 r32643  
    769769 * @since 2.7.0
    770770 *
     771 * @global WP_Filesystem_Base $wp_filesystem
     772 * @global array              $_old_files
     773 * @global array              $_new_bundled_files
     774 * @global wpdb               $wpdb
     775 * @global string             $wp_version
     776 * @global string             $required_php_version
     777 * @global string             $required_mysql_version
     778 *
    771779 * @param string $from New release unzipped path.
    772780 * @param string $to Path to old WordPress installation.
     
    811819    }
    812820
    813     // Import $wp_version, $required_php_version, and $required_mysql_version from the new version
    814     // $wp_filesystem->wp_content_dir() returned unslashed pre-2.8
     821
     822    /**
     823     * Import $wp_version, $required_php_version, and $required_mysql_version from the new version
     824     * $wp_filesystem->wp_content_dir() returned unslashed pre-2.8
     825     *
     826     * @global string $wp_version
     827     * @global string $required_php_version
     828     * @global string $required_mysql_version
     829     */
    815830    global $wp_version, $required_php_version, $required_mysql_version;
    816831
     
    11021117 * @see copy_dir()
    11031118 *
     1119 * @global WP_Filesystem_Base $wp_filesystem
     1120 *
    11041121 * @param string $from source directory
    11051122 * @param string $to destination directory
     
    11571174 * @since 3.3.0
    11581175 *
     1176 * @global string $wp_version
     1177 * @global string $pagenow
     1178 * @global string $action
    11591179 */
    11601180function _redirect_to_about_wordpress( $new_version ) {
     
    11971217 *
    11981218 * @since 4.2.2
     1219 *
     1220 * @global array              $wp_theme_directories
     1221 * @global WP_Filesystem_Base $wp_filesystem
    11991222 */
    12001223function _upgrade_422_remove_genericons() {
Note: See TracChangeset for help on using the changeset viewer.