Changeset 11826
- Timestamp:
- 08/16/2009 04:59:38 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-cron.php
r10521 r11826 36 36 die(); 37 37 38 foreach ($crons as $timestamp 38 foreach ($crons as $timestamp => $cronhooks) { 39 39 if ( $timestamp > $local_time ) 40 40 break; -
trunk/wp-includes/update.php
r11714 r11826 48 48 49 49 $options = array( 50 'timeout' => 3,50 'timeout' => defined('DOING_CRON') && DOING_CRON ? 30 : 3, 51 51 'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) 52 52 ); … … 147 147 148 148 $options = array( 149 'timeout' => 3,149 'timeout' => defined('DOING_CRON') && DOING_CRON ? 30 : 3, 150 150 'body' => array( 'plugins' => serialize( $to_send ) ), 151 151 'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) … … 241 241 242 242 $options = array( 243 'timeout' =>3,243 'timeout' => defined('DOING_CRON') && DOING_CRON ? 30 : 3, 244 244 'body' => array( 'themes' => serialize( $themes ) ), 245 245 'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) … … 307 307 return; 308 308 309 wp_update_themes( 309 wp_update_themes(); 310 310 } 311 311
Note: See TracChangeset
for help on using the changeset viewer.