Make WordPress Core


Ignore:
Timestamp:
01/08/2010 08:49:55 PM (14 years ago)
Author:
ryan
Message:

Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.

File:
1 edited

Legend:

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

    r12636 r12673  
    468468
    469469    // Force refresh of plugin update information
    470     if ( $current = get_transient('update_plugins') ) {
     470    if ( $current = get_site_transient('update_plugins') ) {
    471471        unset( $current->response[ $plugin_file ] );
    472         set_transient('update_plugins', $current);
     472        set_site_transient('update_plugins', $current);
    473473    }
    474474
Note: See TracChangeset for help on using the changeset viewer.