Do not show update nag on update page. Props nbachiyski. fixes #8199
git-svn-id: http://svn.automattic.com/wordpress/trunk@9669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
63c5ee4199
commit
369fe8d11f
|
@ -112,6 +112,11 @@ function core_update_footer( $msg = '' ) {
|
|||
add_filter( 'update_footer', 'core_update_footer' );
|
||||
|
||||
function update_nag() {
|
||||
global $pagenow;
|
||||
|
||||
if ( 'update-core.php' == $pagenow )
|
||||
return;
|
||||
|
||||
$cur = get_preferred_from_update_core();
|
||||
|
||||
if ( ! isset( $cur->response ) || $cur->response != 'upgrade' )
|
||||
|
|
Loading…
Reference in New Issue