Changeset 11826 for trunk/wp-includes/update.php
- Timestamp:
- 08/16/2009 04:59:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.