Ticket #9880: wp-includes--update.php.diff
File wp-includes--update.php.diff, 786 bytes (added by , 16 years ago) |
---|
-
wp-includes/update.php
208 208 $current_theme->last_checked = time(); 209 209 set_transient( 'update_themes', $current_theme ); 210 210 211 $current_theme->template = get_option( 'template' ); 212 211 213 $themes = array( ); 212 $themes['current_theme'] = $current_theme;214 $themes['current_theme'] = (array) $current_theme; 213 215 foreach( (array) $installed_themes as $theme_title => $theme ) { 214 216 $themes[$theme['Template']] = array( ); 215 217 … … 308 310 if ( !wp_next_scheduled('wp_update_themes') && !defined('WP_INSTALLING') ) 309 311 wp_schedule_event(time(), 'twicedaily', 'wp_update_themes'); 310 312 311 ?> 312 No newline at end of file 313 ?>