Make WordPress Core

Ticket #9897: wp-includes--update.php.diff

File wp-includes--update.php.diff, 793 bytes (added by josephscott, 15 years ago)
  • wp-includes/update.php

     
    213213        $themes = array( );
    214214        $themes['current_theme'] = (array) $current_theme;
    215215        foreach( (array) $installed_themes as $theme_title => $theme ) {
    216                 $themes[$theme['Template']] = array( );
     216                $themes[$theme['Stylesheet']] = array( );
    217217
    218218                foreach( (array) $theme as $key => $value ) {
    219                         $themes[$theme['Template']][$key] = $value;
     219                        $themes[$theme['Stylesheet']][$key] = $value;
    220220                }
    221221        }
    222222
     
    310310if ( !wp_next_scheduled('wp_update_themes') && !defined('WP_INSTALLING') )
    311311        wp_schedule_event(time(), 'twicedaily', 'wp_update_themes');
    312312
    313 ?>
    314  No newline at end of file
     313?>