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
|
@@ 903-910 (lines=8) @@
|
900 |
|
* @since 5.4 |
901 |
|
* @param Integer $min_timeout the minimum timeout value. |
902 |
|
**/ |
903 |
|
public function set_min_time_limit( $min_timeout ) { |
904 |
|
$timeout = $this->get_max_execution_time(); |
905 |
|
if ( $timeout < $min_timeout ) { |
906 |
|
$timeout = $min_timeout; |
907 |
|
set_time_limit( $timeout ); |
908 |
|
} |
909 |
|
return $timeout; |
910 |
|
} |
911 |
|
|
912 |
|
/** |
913 |
|
* Get our assumed site creation date. |