class.jetpack.php 1 location
|
@@ 5012-5019 (lines=8) @@
|
5009 |
|
* |
5010 |
|
* @since 5.4 |
5011 |
|
**/ |
5012 |
|
public static function set_min_time_limit( $min_timeout ) { |
5013 |
|
$timeout = self::get_max_execution_time(); |
5014 |
|
if ( $timeout < $min_timeout ) { |
5015 |
|
$timeout = $min_timeout; |
5016 |
|
set_time_limit( $timeout ); |
5017 |
|
} |
5018 |
|
return $timeout; |
5019 |
|
} |
5020 |
|
|
5021 |
|
/** |
5022 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/Manager.php 1 location
|
@@ 954-961 (lines=8) @@
|
951 |
|
* @since 5.4 |
952 |
|
* @param Integer $min_timeout the minimum timeout value. |
953 |
|
**/ |
954 |
|
public function set_min_time_limit( $min_timeout ) { |
955 |
|
$timeout = $this->get_max_execution_time(); |
956 |
|
if ( $timeout < $min_timeout ) { |
957 |
|
$timeout = $min_timeout; |
958 |
|
set_time_limit( $timeout ); |
959 |
|
} |
960 |
|
return $timeout; |
961 |
|
} |
962 |
|
|
963 |
|
/** |
964 |
|
* Get our assumed site creation date. |