Do not show update nag on update page. Props nbachiyski. fixes #8199
git-svn-id: https://develop.svn.wordpress.org/trunk@9669 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0b9dc12a17
commit
cbc9efcf9d
@ -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
Block a user