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.php

    r32116 r32643  
    191191add_filter( 'update_footer', 'core_update_footer' );
    192192
     193/**
     194 *
     195 * @global string $pagenow
     196 * @return false|void
     197 */
    193198function update_nag() {
    194199    if ( is_multisite() && !current_user_can('update_core') )
     
    401406}
    402407
     408/**
     409 *
     410 * @global int $upgrading
     411 * @return false|void
     412 */
    403413function maintenance_nag() {
    404414    include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
Note: See TracChangeset for help on using the changeset viewer.