From cbc9efcf9df42325f2a3f7891586a0d7812c8501 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 13 Nov 2008 21:10:53 +0000 Subject: [PATCH] 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 --- wp-admin/includes/update.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index ee155bb97e..2e63afca7a 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -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' )