class.jetpack.php 1 location
|
@@ 5040-5047 (lines=8) @@
|
| 5037 |
|
* |
| 5038 |
|
* @since 5.4 |
| 5039 |
|
**/ |
| 5040 |
|
public static function set_min_time_limit( $min_timeout ) { |
| 5041 |
|
$timeout = self::get_max_execution_time(); |
| 5042 |
|
if ( $timeout < $min_timeout ) { |
| 5043 |
|
$timeout = $min_timeout; |
| 5044 |
|
set_time_limit( $timeout ); |
| 5045 |
|
} |
| 5046 |
|
return $timeout; |
| 5047 |
|
} |
| 5048 |
|
|
| 5049 |
|
/** |
| 5050 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/Manager.php 1 location
|
@@ 937-944 (lines=8) @@
|
| 934 |
|
* @since 5.4 |
| 935 |
|
* @param Integer $min_timeout the minimum timeout value. |
| 936 |
|
**/ |
| 937 |
|
public function set_min_time_limit( $min_timeout ) { |
| 938 |
|
$timeout = $this->get_max_execution_time(); |
| 939 |
|
if ( $timeout < $min_timeout ) { |
| 940 |
|
$timeout = $min_timeout; |
| 941 |
|
set_time_limit( $timeout ); |
| 942 |
|
} |
| 943 |
|
return $timeout; |
| 944 |
|
} |
| 945 |
|
|
| 946 |
|
/** |
| 947 |
|
* Get our assumed site creation date. |