class.jetpack.php 1 location
|
@@ 4997-5004 (lines=8) @@
|
4994 |
|
* |
4995 |
|
* @since 5.4 |
4996 |
|
**/ |
4997 |
|
public static function set_min_time_limit( $min_timeout ) { |
4998 |
|
$timeout = self::get_max_execution_time(); |
4999 |
|
if ( $timeout < $min_timeout ) { |
5000 |
|
$timeout = $min_timeout; |
5001 |
|
set_time_limit( $timeout ); |
5002 |
|
} |
5003 |
|
return $timeout; |
5004 |
|
} |
5005 |
|
|
5006 |
|
/** |
5007 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/Manager.php 1 location
|
@@ 955-962 (lines=8) @@
|
952 |
|
* @since 5.4 |
953 |
|
* @param Integer $min_timeout the minimum timeout value. |
954 |
|
**/ |
955 |
|
public function set_min_time_limit( $min_timeout ) { |
956 |
|
$timeout = $this->get_max_execution_time(); |
957 |
|
if ( $timeout < $min_timeout ) { |
958 |
|
$timeout = $min_timeout; |
959 |
|
set_time_limit( $timeout ); |
960 |
|
} |
961 |
|
return $timeout; |
962 |
|
} |
963 |
|
|
964 |
|
/** |
965 |
|
* Get our assumed site creation date. |