Make WordPress Core

Changeset 9669


Ignore:
Timestamp:
11/13/2008 09:10:53 PM (16 years ago)
Author:
ryan
Message:

Do not show update nag on update page. Props nbachiyski. fixes #8199

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update.php

    r9664 r9669  
    113113
    114114function update_nag() {
     115    global $pagenow;
     116
     117    if ( 'update-core.php' == $pagenow )
     118        return;
     119
    115120    $cur = get_preferred_from_update_core();
    116121
Note: See TracChangeset for help on using the changeset viewer.