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:
Ryan Boren 2008-11-13 21:10:53 +00:00
parent 0b9dc12a17
commit cbc9efcf9d

View File

@ -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' )