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
|
@@ 935-942 (lines=8) @@
|
932 |
|
* @since 5.4 |
933 |
|
* @param Integer $min_timeout the minimum timeout value. |
934 |
|
**/ |
935 |
|
public function set_min_time_limit( $min_timeout ) { |
936 |
|
$timeout = $this->get_max_execution_time(); |
937 |
|
if ( $timeout < $min_timeout ) { |
938 |
|
$timeout = $min_timeout; |
939 |
|
set_time_limit( $timeout ); |
940 |
|
} |
941 |
|
return $timeout; |
942 |
|
} |
943 |
|
|
944 |
|
/** |
945 |
|
* Get our assumed site creation date. |