Make WordPress Core

Changeset 11207


Ignore:
Timestamp:
05/05/2009 08:48:46 PM (15 years ago)
Author:
ryan
Message:

Fix display of plugin update messages after bulk ops. Props DD32. fixes #9303

File:
1 edited

Legend:

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

    r11204 r11207  
    469469
    470470    // Force refresh of plugin update information
    471     delete_transient('update_plugins');
     471    if ( $current = get_transient('update_plugins') ) {
     472        unset( $current->response[ $plugin_file ] );
     473        set_transient('update_plugins', $current);
     474    }
    472475
    473476    return true;
Note: See TracChangeset for help on using the changeset viewer.