class.jetpack.php 1 location
|
@@ 4995-5002 (lines=8) @@
|
| 4992 |
|
* |
| 4993 |
|
* @since 5.4 |
| 4994 |
|
**/ |
| 4995 |
|
public static function set_min_time_limit( $min_timeout ) { |
| 4996 |
|
$timeout = self::get_max_execution_time(); |
| 4997 |
|
if ( $timeout < $min_timeout ) { |
| 4998 |
|
$timeout = $min_timeout; |
| 4999 |
|
set_time_limit( $timeout ); |
| 5000 |
|
} |
| 5001 |
|
return $timeout; |
| 5002 |
|
} |
| 5003 |
|
|
| 5004 |
|
/** |
| 5005 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/Manager.php 1 location
|
@@ 934-941 (lines=8) @@
|
| 931 |
|
* @since 5.4 |
| 932 |
|
* @param Integer $min_timeout the minimum timeout value. |
| 933 |
|
**/ |
| 934 |
|
public function set_min_time_limit( $min_timeout ) { |
| 935 |
|
$timeout = $this->get_max_execution_time(); |
| 936 |
|
if ( $timeout < $min_timeout ) { |
| 937 |
|
$timeout = $min_timeout; |
| 938 |
|
set_time_limit( $timeout ); |
| 939 |
|
} |
| 940 |
|
return $timeout; |
| 941 |
|
} |
| 942 |
|
|
| 943 |
|
/** |
| 944 |
|
* Get our assumed site creation date. |