class.jetpack.php 1 location
|
@@ 5141-5148 (lines=8) @@
|
5138 |
|
* |
5139 |
|
* @since 5.4 |
5140 |
|
**/ |
5141 |
|
public static function set_min_time_limit( $min_timeout ) { |
5142 |
|
$timeout = self::get_max_execution_time(); |
5143 |
|
if ( $timeout < $min_timeout ) { |
5144 |
|
$timeout = $min_timeout; |
5145 |
|
set_time_limit( $timeout ); |
5146 |
|
} |
5147 |
|
return $timeout; |
5148 |
|
} |
5149 |
|
|
5150 |
|
/** |
5151 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/class-manager.php 1 location
|
@@ 1062-1069 (lines=8) @@
|
1059 |
|
* @since 5.4 |
1060 |
|
* @param Integer $min_timeout the minimum timeout value. |
1061 |
|
**/ |
1062 |
|
public function set_min_time_limit( $min_timeout ) { |
1063 |
|
$timeout = $this->get_max_execution_time(); |
1064 |
|
if ( $timeout < $min_timeout ) { |
1065 |
|
$timeout = $min_timeout; |
1066 |
|
set_time_limit( $timeout ); |
1067 |
|
} |
1068 |
|
return $timeout; |
1069 |
|
} |
1070 |
|
|
1071 |
|
/** |
1072 |
|
* Get our assumed site creation date. |