Use GLOBALS. see #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19527 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
099603c7f2
commit
91ed8fd115
@ -554,5 +554,5 @@ window.location = '<?php echo admin_url( 'about.php?updated' ); ?>';
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
exit();
|
||||
}
|
||||
if ( version_compare( $GLOBALS['wp_version'], '3.3', '<' ) && 'update-core.php' == $pagenow )
|
||||
if ( version_compare( $GLOBALS['wp_version'], '3.3', '<' ) && 'update-core.php' == $GLOBALS['pagenow'] )
|
||||
add_action( '_core_updated_successfully', '_redirect_to_about_wordpress' );
|
||||
|
Loading…
Reference in New Issue
Block a user