Ticket #9897: wp-includes--update.php.diff
File wp-includes--update.php.diff, 793 bytes (added by , 15 years ago) |
---|
-
wp-includes/update.php
213 213 $themes = array( ); 214 214 $themes['current_theme'] = (array) $current_theme; 215 215 foreach( (array) $installed_themes as $theme_title => $theme ) { 216 $themes[$theme[' Template']] = array( );216 $themes[$theme['Stylesheet']] = array( ); 217 217 218 218 foreach( (array) $theme as $key => $value ) { 219 $themes[$theme[' Template']][$key] = $value;219 $themes[$theme['Stylesheet']][$key] = $value; 220 220 } 221 221 } 222 222 … … 310 310 if ( !wp_next_scheduled('wp_update_themes') && !defined('WP_INSTALLING') ) 311 311 wp_schedule_event(time(), 'twicedaily', 'wp_update_themes'); 312 312 313 ?> 314 No newline at end of file 313 ?>