WordPress.org

Make WordPress Core

Changeset 19527


Ignore:
Timestamp:
12/01/2011 04:49:57 AM (6 years ago)
Author:
nacin
Message:

Use GLOBALS. see #18467.

File:
1 edited

Legend:

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

    r19524 r19527  
    555555    exit();
    556556}
    557 if ( version_compare( $GLOBALS['wp_version'], '3.3', '<' ) && 'update-core.php' == $pagenow )
     557if ( version_compare( $GLOBALS['wp_version'], '3.3', '<' ) && 'update-core.php' == $GLOBALS['pagenow'] )
    558558    add_action( '_core_updated_successfully', '_redirect_to_about_wordpress' );
Note: See TracChangeset for help on using the changeset viewer.