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:
parent
6d46bed194
commit
67402127d6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue