Changeset 54113
- Timestamp:
- 09/09/2022 08:14:43 AM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r53426 r54113 1598 1598 // We still want to limit it below. 1599 1599 if ( empty( $max_execution_time ) ) { 1600 $max_execution_time = 30; 1600 $max_execution_time = 30; // 30 seconds. 1601 1601 } 1602 1602 -
trunk/src/wp-admin/includes/class-wp-site-health.php
r54069 r54113 2030 2030 2031 2031 $cookies = wp_unslash( $_COOKIE ); 2032 $timeout = 10; 2032 $timeout = 10; // 10 seconds. 2033 2033 $headers = array( 2034 2034 'Cache-Control' => 'no-cache', … … 2886 2886 $body = array( 'site-health' => 'loopback-test' ); 2887 2887 $cookies = wp_unslash( $_COOKIE ); 2888 $timeout = 10; 2888 $timeout = 10; // 10 seconds. 2889 2889 $headers = array( 2890 2890 'Cache-Control' => 'no-cache', -
trunk/src/wp-admin/includes/file.php
r53714 r54113 540 540 541 541 // Make sure PHP process doesn't die before loopback requests complete. 542 set_time_limit( 300);542 set_time_limit( 5 * MINUTE_IN_SECONDS ); 543 543 544 544 // Time to wait for loopback requests to finish. 545 $timeout = 100; 545 $timeout = 100; // 100 seconds. 546 546 547 547 $needle_start = "###### wp_scraping_result_start:$scrape_key ######"; … … 2008 2008 */ 2009 2009 if ( ! defined( 'FS_CONNECT_TIMEOUT' ) ) { 2010 define( 'FS_CONNECT_TIMEOUT', MINUTE_IN_SECONDS / 2 );2010 define( 'FS_CONNECT_TIMEOUT', 30 ); // 30 seconds. 2011 2011 } 2012 2012 if ( ! defined( 'FS_TIMEOUT' ) ) { 2013 define( 'FS_TIMEOUT', MINUTE_IN_SECONDS / 2 );2013 define( 'FS_TIMEOUT', 30 ); // 30 seconds. 2014 2014 } 2015 2015 -
trunk/src/wp-admin/options-permalink.php
r53911 r54113 204 204 } 205 205 206 set_transient( 'settings_errors', get_settings_errors(), MINUTE_IN_SECONDS / 2 );206 set_transient( 'settings_errors', get_settings_errors(), 30 ); // 30 seconds. 207 207 208 208 wp_redirect( admin_url( 'options-permalink.php?settings-updated=true' ) ); -
trunk/src/wp-admin/options.php
r53714 r54113 346 346 } 347 347 348 set_transient( 'settings_errors', get_settings_errors(), MINUTE_IN_SECONDS / 2 );348 set_transient( 'settings_errors', get_settings_errors(), 30 ); // 30 seconds. 349 349 350 350 // Redirect back to the settings page that was submitted. -
trunk/src/wp-includes/update.php
r53933 r54113 406 406 407 407 if ( $doing_cron ) { 408 $timeout = 30; 408 $timeout = 30; // 30 seconds. 409 409 } else { 410 410 // Three seconds, plus one extra second for every 10 plugins. … … 688 688 689 689 if ( $doing_cron ) { 690 $timeout = 30; 690 $timeout = 30; // 30 seconds. 691 691 } else { 692 692 // Three seconds, plus one extra second for every 10 themes.
Note: See TracChangeset
for help on using the changeset viewer.