class.jetpack.php 1 location
|
@@ 5002-5009 (lines=8) @@
|
| 4999 |
|
* |
| 5000 |
|
* @since 5.4 |
| 5001 |
|
**/ |
| 5002 |
|
public static function set_min_time_limit( $min_timeout ) { |
| 5003 |
|
$timeout = self::get_max_execution_time(); |
| 5004 |
|
if ( $timeout < $min_timeout ) { |
| 5005 |
|
$timeout = $min_timeout; |
| 5006 |
|
set_time_limit( $timeout ); |
| 5007 |
|
} |
| 5008 |
|
return $timeout; |
| 5009 |
|
} |
| 5010 |
|
|
| 5011 |
|
/** |
| 5012 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/Manager.php 1 location
|
@@ 927-934 (lines=8) @@
|
| 924 |
|
* @since 5.4 |
| 925 |
|
* @param Integer $min_timeout the minimum timeout value. |
| 926 |
|
**/ |
| 927 |
|
public function set_min_time_limit( $min_timeout ) { |
| 928 |
|
$timeout = $this->get_max_execution_time(); |
| 929 |
|
if ( $timeout < $min_timeout ) { |
| 930 |
|
$timeout = $min_timeout; |
| 931 |
|
set_time_limit( $timeout ); |
| 932 |
|
} |
| 933 |
|
return $timeout; |
| 934 |
|
} |
| 935 |
|
|
| 936 |
|
/** |
| 937 |
|
* Get our assumed site creation date. |