class.jetpack.php 1 location
|
@@ 5330-5337 (lines=8) @@
|
5327 |
|
* |
5328 |
|
* @since 5.4 |
5329 |
|
**/ |
5330 |
|
public static function set_min_time_limit( $min_timeout ) { |
5331 |
|
$timeout = self::get_max_execution_time(); |
5332 |
|
if ( $timeout < $min_timeout ) { |
5333 |
|
$timeout = $min_timeout; |
5334 |
|
set_time_limit( $timeout ); |
5335 |
|
} |
5336 |
|
return $timeout; |
5337 |
|
} |
5338 |
|
|
5339 |
|
/** |
5340 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/class-manager.php 1 location
|
@@ 1114-1121 (lines=8) @@
|
1111 |
|
* @since 5.4 |
1112 |
|
* @param Integer $min_timeout the minimum timeout value. |
1113 |
|
**/ |
1114 |
|
public function set_min_time_limit( $min_timeout ) { |
1115 |
|
$timeout = $this->get_max_execution_time(); |
1116 |
|
if ( $timeout < $min_timeout ) { |
1117 |
|
$timeout = $min_timeout; |
1118 |
|
set_time_limit( $timeout ); |
1119 |
|
} |
1120 |
|
return $timeout; |
1121 |
|
} |
1122 |
|
|
1123 |
|
/** |
1124 |
|
* Get our assumed site creation date. |