Make WordPress Core


Ignore:
Timestamp:
01/08/2010 08:49:55 PM (15 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/theme-install.php

    r11497 r12673  
    477477    $type = 'install';
    478478    // Check to see if this theme is known to be installed, and has an update awaiting it.
    479     $update_themes = get_transient('update_themes');
     479    $update_themes = get_site_transient('update_themes');
    480480    if ( is_object($update_themes) && isset($update_themes->response) ) {
    481481        foreach ( (array)$update_themes->response as $theme_slug => $theme_info ) {
Note: See TracChangeset for help on using the changeset viewer.