Changeset 59291
- Timestamp:
- 10/25/2024 08:24:08 PM (7 months ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r59288 r59291 3557 3557 $return = array(); 3558 3558 3559 // Increase the script timeout limit to allow ample time for diff UI setup. 3559 3560 if ( function_exists( 'set_time_limit' ) ) { 3560 // Increase the script timeout limit to allow ample time for diff UI setup.3561 3561 set_time_limit( 5 * MINUTE_IN_SECONDS ); 3562 3562 } -
trunk/src/wp-admin/includes/class-wp-upgrader.php
r59257 r59291 526 526 $clear_destination = $args['clear_destination']; 527 527 528 // Give the upgrade an additional 300 seconds(5 minutes) to ensure the install doesn't prematurely timeout having used up the maximum script execution time upacking and downloading in WP_Upgrader->run. 528 /* 529 * Give the upgrade an additional 300 seconds (5 minutes) to ensure the install 530 * doesn't prematurely timeout having used up the maximum script execution time 531 * upacking and downloading in WP_Upgrader->run(). 532 */ 529 533 if ( function_exists( 'set_time_limit' ) ) { 530 534 set_time_limit( 300 ); -
trunk/src/wp-admin/includes/update-core.php
r59182 r59291 971 971 global $wp_filesystem, $_old_files, $_old_requests_files, $_new_bundled_files, $wpdb; 972 972 973 /* 974 * Give core update script an additional 300 seconds (5 minutes) 975 * to finish updating large files when running on slower servers. 976 */ 973 977 if ( function_exists( 'set_time_limit' ) ) { 974 // Gives core update script time an additional 300 seconds(5 minutes) to finish updating large files or run on slower servers.975 978 set_time_limit( 300 ); 976 979 } -
trunk/src/wp-includes/class-pop3.php
r59039 r59291 60 60 settype($timeout,"integer"); 61 61 $this->TIMEOUT = $timeout; 62 // Extend POP3 request timeout to the specified TIMEOUT property. 62 63 if(function_exists("set_time_limit")){ 63 // Extends POP3 request timeout to specified TIMEOUT property.64 64 set_time_limit($timeout); 65 65 } … … 76 76 77 77 function update_timer () { 78 // Extend POP3 request timeout to the specified TIMEOUT property. 78 79 if(function_exists("set_time_limit")){ 79 // Allows additional extension of POP3 request timeout to specified TIMEOUT property when update_timer is called.80 80 set_time_limit($this->TIMEOUT); 81 81 } -
trunk/src/wp-includes/comment.php
r59267 r59291 3121 3121 3122 3122 if ( $pingback_server_url ) { 3123 // Allow an additional 60 seconds for each pingback to complete. 3123 3124 if ( function_exists( 'set_time_limit' ) ) { 3124 // Allows an additional 60 seconds for each pingback to complete.3125 3125 set_time_limit( 60 ); 3126 3126 } -
trunk/src/wp-includes/deprecated.php
r59198 r59291 3674 3674 _deprecated_function( __FUNCTION__, '4.4.0', 'WP_Http' ); 3675 3675 3676 // Add s an additional60 seconds to the script timeout to ensure the remote request has enough time.3676 // Add 60 seconds to the script timeout to ensure the remote request has enough time. 3677 3677 if ( function_exists( 'set_time_limit' ) ) { 3678 3678 @set_time_limit( 60 );
Note: See TracChangeset
for help on using the changeset viewer.