class.jetpack.php 1 location
|
@@ 5435-5442 (lines=8) @@
|
5432 |
|
* |
5433 |
|
* @since 5.4 |
5434 |
|
**/ |
5435 |
|
public static function set_min_time_limit( $min_timeout ) { |
5436 |
|
$timeout = self::get_max_execution_time(); |
5437 |
|
if ( $timeout < $min_timeout ) { |
5438 |
|
$timeout = $min_timeout; |
5439 |
|
set_time_limit( $timeout ); |
5440 |
|
} |
5441 |
|
return $timeout; |
5442 |
|
} |
5443 |
|
|
5444 |
|
/** |
5445 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/class-manager.php 1 location
|
@@ 1124-1131 (lines=8) @@
|
1121 |
|
* @since 5.4 |
1122 |
|
* @param Integer $min_timeout the minimum timeout value. |
1123 |
|
**/ |
1124 |
|
public function set_min_time_limit( $min_timeout ) { |
1125 |
|
$timeout = $this->get_max_execution_time(); |
1126 |
|
if ( $timeout < $min_timeout ) { |
1127 |
|
$timeout = $min_timeout; |
1128 |
|
set_time_limit( $timeout ); |
1129 |
|
} |
1130 |
|
return $timeout; |
1131 |
|
} |
1132 |
|
|
1133 |
|
/** |
1134 |
|
* Get our assumed site creation date. |