Make WordPress Core


Ignore:
Timestamp:
06/04/2010 03:16:17 PM (14 years ago)
Author:
ryan
Message:

Make upgrading global so maintenance_nag() can see it. see #13721

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/load.php

    r14313 r15139  
    142142    if ( !file_exists( ABSPATH . '.maintenance' ) || defined( 'WP_INSTALLING' ) )
    143143        return;
     144
     145    global $upgrading;
    144146
    145147    include( ABSPATH . '.maintenance' );
Note: See TracChangeset for help on using the changeset viewer.