Clear upgrade nag when doing manual upgrade. Props Denis-de-Bernardy. fixes #9139

git-svn-id: http://svn.automattic.com/wordpress/trunk@11189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-05-05 04:02:49 +00:00
parent 6d46bed194
commit 67402127d6
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ require( '../wp-load.php' );
timer_start(); timer_start();
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
delete_transient('update_core');
if ( isset( $_GET['step'] ) ) if ( isset( $_GET['step'] ) )
$step = $_GET['step']; $step = $_GET['step'];
else else