Changeset 28805
- Timestamp:
- 06/23/2014 02:30:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r28782 r28805 267 267 if ( defined( 'DOING_CRON' ) && DOING_CRON ) { 268 268 $timeout = 30; 269 } else if ( count( $plugins ) > 10 ){270 // One extra second for every 10 plugins269 } else { 270 // Three seconds, plus one extra second for every 10 plugins 271 271 $timeout = 3 + intval( count( $plugins ) / 10 ); 272 } else {273 $timeout = 3;274 272 } 275 273 … … 424 422 if ( defined( 'DOING_CRON' ) && DOING_CRON ) { 425 423 $timeout = 30; 426 } else if ( count( $themes ) > 10 ){427 // One extra second for every 10 themes424 } else { 425 // Three seconds, plus one extra second for every 10 themes 428 426 $timeout = 3 + intval( count( $themes ) / 10 ); 429 } else {430 $timeout = 3;431 427 } 432 428
Note: See TracChangeset
for help on using the changeset viewer.