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
|
@@ 1255-1262 (lines=8) @@
|
1252 |
|
* @since 5.4 |
1253 |
|
* @param Integer $min_timeout the minimum timeout value. |
1254 |
|
**/ |
1255 |
|
public function set_min_time_limit( $min_timeout ) { |
1256 |
|
$timeout = $this->get_max_execution_time(); |
1257 |
|
if ( $timeout < $min_timeout ) { |
1258 |
|
$timeout = $min_timeout; |
1259 |
|
set_time_limit( $timeout ); |
1260 |
|
} |
1261 |
|
return $timeout; |
1262 |
|
} |
1263 |
|
|
1264 |
|
/** |
1265 |
|
* Get our assumed site creation date. |