Make WordPress Core


Ignore:
Timestamp:
05/19/2009 08:12:37 PM (15 years ago)
Author:
azaozz
Message:

Include the current theme in theme update check, props josephscott, fixes #9880

File:
1 edited

Legend:

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

    r11383 r11404  
    209209    set_transient( 'update_themes', $current_theme );
    210210
     211    $current_theme->template = get_option( 'template' );
     212
    211213    $themes = array( );
    212     $themes['current_theme'] = $current_theme;
     214    $themes['current_theme'] = (array) $current_theme;
    213215    foreach( (array) $installed_themes as $theme_title => $theme ) {
    214216        $themes[$theme['Template']] = array( );
Note: See TracChangeset for help on using the changeset viewer.