WordPress.org

Make WordPress Core

Changeset 15139


Ignore:
Timestamp:
06/04/10 15:16:17 (4 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.