diff --git a/src/wp-admin/includes/class-core-upgrader.php b/src/wp-admin/includes/class-core-upgrader.php
index f6b6dfaed1..33090308fb 100644
a
|
b
|
class Core_Upgrader extends WP_Upgrader { |
115 | 115 | $to_download = 'full'; |
116 | 116 | } |
117 | 117 | |
| 118 | set_time_limit( 5 * MINUTE_IN_SECONDS ); |
| 119 | |
118 | 120 | // Lock to prevent multiple Core Updates occurring. |
119 | 121 | $lock = WP_Upgrader::create_lock( 'core_updater', 15 * MINUTE_IN_SECONDS ); |
120 | 122 | if ( ! $lock ) { |
diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php
index 88c6d5d604..15ca240980 100644
a
|
b
|
class WP_Upgrader { |
470 | 470 | $destination = $args['destination']; |
471 | 471 | $clear_destination = $args['clear_destination']; |
472 | 472 | |
473 | | set_time_limit( 300 ); |
474 | | |
475 | 473 | if ( empty( $source ) || empty( $destination ) ) { |
476 | 474 | return new WP_Error( 'bad_request', $this->strings['bad_request'] ); |
477 | 475 | } |
… |
… |
class WP_Upgrader { |
754 | 752 | return $res; |
755 | 753 | } |
756 | 754 | |
| 755 | set_time_limit( 5 * MINUTE_IN_SECONDS ); |
| 756 | |
757 | 757 | /* |
758 | 758 | * Download the package. Note: If the package is the full path |
759 | 759 | * to an existing local file, it will be returned untouched. |
diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php
index c240fb0ee6..579e1828f0 100644
a
|
b
|
$_new_bundled_files = array( |
962 | 962 | function update_core( $from, $to ) { |
963 | 963 | global $wp_filesystem, $_old_files, $_new_bundled_files, $wpdb; |
964 | 964 | |
965 | | set_time_limit( 300 ); |
966 | | |
967 | 965 | /** |
968 | 966 | * Filters feedback messages displayed during the core update process. |
969 | 967 | * |