projects/plugins/jetpack/class.jetpack.php 1 location
|
@@ 5397-5404 (lines=8) @@
|
5394 |
|
* |
5395 |
|
* @since 5.4 |
5396 |
|
**/ |
5397 |
|
public static function set_min_time_limit( $min_timeout ) { |
5398 |
|
$timeout = self::get_max_execution_time(); |
5399 |
|
if ( $timeout < $min_timeout ) { |
5400 |
|
$timeout = $min_timeout; |
5401 |
|
set_time_limit( $timeout ); |
5402 |
|
} |
5403 |
|
return $timeout; |
5404 |
|
} |
5405 |
|
|
5406 |
|
/** |
5407 |
|
* Takes the response from the Jetpack register new site endpoint and |
projects/packages/connection/src/class-manager.php 1 location
|
@@ 1275-1282 (lines=8) @@
|
1272 |
|
* @since 5.4 |
1273 |
|
* @param Integer $min_timeout the minimum timeout value. |
1274 |
|
**/ |
1275 |
|
public function set_min_time_limit( $min_timeout ) { |
1276 |
|
$timeout = $this->get_max_execution_time(); |
1277 |
|
if ( $timeout < $min_timeout ) { |
1278 |
|
$timeout = $min_timeout; |
1279 |
|
set_time_limit( $timeout ); |
1280 |
|
} |
1281 |
|
return $timeout; |
1282 |
|
} |
1283 |
|
|
1284 |
|
/** |
1285 |
|
* Get our assumed site creation date. |