Changeset 53714
- Timestamp:
- 07/17/2022 02:16:27 AM (2 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php
r52332 r53714 41 41 // This class uses the timeout on a per-connection basis, others use it on a per-action basis. 42 42 if ( ! defined( 'FS_TIMEOUT' ) ) { 43 define( 'FS_TIMEOUT', 240);43 define( 'FS_TIMEOUT', 4 * MINUTE_IN_SECONDS ); 44 44 } 45 45 -
trunk/src/wp-admin/includes/file.php
r53458 r53714 2008 2008 */ 2009 2009 if ( ! defined( 'FS_CONNECT_TIMEOUT' ) ) { 2010 define( 'FS_CONNECT_TIMEOUT', 30);2010 define( 'FS_CONNECT_TIMEOUT', MINUTE_IN_SECONDS / 2 ); 2011 2011 } 2012 2012 if ( ! defined( 'FS_TIMEOUT' ) ) { 2013 define( 'FS_TIMEOUT', 30);2013 define( 'FS_TIMEOUT', MINUTE_IN_SECONDS / 2 ); 2014 2014 } 2015 2015 -
trunk/src/wp-admin/options-permalink.php
r53713 r53714 204 204 } 205 205 206 set_transient( 'settings_errors', get_settings_errors(), 30);206 set_transient( 'settings_errors', get_settings_errors(), MINUTE_IN_SECONDS / 2 ); 207 207 208 208 wp_redirect( admin_url( 'options-permalink.php?settings-updated=true' ) ); -
trunk/src/wp-admin/options.php
r53476 r53714 345 345 add_settings_error( 'general', 'settings_updated', __( 'Settings saved.' ), 'success' ); 346 346 } 347 set_transient( 'settings_errors', get_settings_errors(), 30 ); 347 348 set_transient( 'settings_errors', get_settings_errors(), MINUTE_IN_SECONDS / 2 ); 348 349 349 350 // Redirect back to the settings page that was submitted.
Note: See TracChangeset
for help on using the changeset viewer.