class.jetpack.php 1 location
|
@@ 5356-5363 (lines=8) @@
|
| 5353 |
|
* |
| 5354 |
|
* @since 5.4 |
| 5355 |
|
**/ |
| 5356 |
|
public static function set_min_time_limit( $min_timeout ) { |
| 5357 |
|
$timeout = self::get_max_execution_time(); |
| 5358 |
|
if ( $timeout < $min_timeout ) { |
| 5359 |
|
$timeout = $min_timeout; |
| 5360 |
|
set_time_limit( $timeout ); |
| 5361 |
|
} |
| 5362 |
|
return $timeout; |
| 5363 |
|
} |
| 5364 |
|
|
| 5365 |
|
/** |
| 5366 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/class-manager.php 1 location
|
@@ 1246-1253 (lines=8) @@
|
| 1243 |
|
* @since 5.4 |
| 1244 |
|
* @param Integer $min_timeout the minimum timeout value. |
| 1245 |
|
**/ |
| 1246 |
|
public function set_min_time_limit( $min_timeout ) { |
| 1247 |
|
$timeout = $this->get_max_execution_time(); |
| 1248 |
|
if ( $timeout < $min_timeout ) { |
| 1249 |
|
$timeout = $min_timeout; |
| 1250 |
|
set_time_limit( $timeout ); |
| 1251 |
|
} |
| 1252 |
|
return $timeout; |
| 1253 |
|
} |
| 1254 |
|
|
| 1255 |
|
/** |
| 1256 |
|
* Get our assumed site creation date. |