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:
ryan 2008-11-13 21:10:53 +00:00
parent 63c5ee4199
commit 369fe8d11f
1 changed files with 5 additions and 0 deletions

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