Make WordPress Core


Ignore:
Timestamp:
05/28/2015 09:40:27 PM (10 years ago)
Author:
wonderboymusic
Message:

Add @global annotations for wp-admin/*.

See #32444.

File:
1 edited

Legend:

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

    r32522 r32642  
    2323    wp_die( __( 'You do not have sufficient permissions to update this site.' ) );
    2424
     25/**
     26 *
     27 * @global string $wp_local_package
     28 * @global wpdb   $wpdb
     29 * @global string $wp_version
     30 *
     31 * @staticvar bool $first_pass
     32 *
     33 * @param object $update
     34 */
    2535function list_core_update( $update ) {
    2636    global $wp_local_package, $wpdb, $wp_version;
     
    137147 * @since 2.7.0
    138148 *
    139  * @return null
     149 * @global string $wp_version
     150 * @global string $required_php_version
     151 * @global string $required_mysql_version
    140152 */
    141153function core_upgrade_preamble() {
     
    199211}
    200212
     213/**
     214 *
     215 * @global string $wp_version
     216 */
    201217function list_plugin_updates() {
    202218    global $wp_version;
     
    365381 * @since 2.7.0
    366382 *
    367  * @return null
     383 * @global WP_Filesystem_Base $wp_filesystem Subclass
    368384 */
    369385function do_core_upgrade( $reinstall = false ) {
Note: See TracChangeset for help on using the changeset viewer.