class.jetpack.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 5363-5370 (lines=8) @@ | 
                                                            
                                    | 5360 |  | 	 * | 
                                                            
                                    | 5361 |  | 	 * @since 5.4 | 
                                                            
                                    | 5362 |  | 	 **/ | 
                                                            
                                    | 5363 |  | 	public static function set_min_time_limit( $min_timeout ) { | 
                                                            
                                    | 5364 |  | 		$timeout = self::get_max_execution_time(); | 
                                                            
                                    | 5365 |  | 		if ( $timeout < $min_timeout ) { | 
                                                            
                                    | 5366 |  | 			$timeout = $min_timeout; | 
                                                            
                                    | 5367 |  | 			set_time_limit( $timeout ); | 
                                                            
                                    | 5368 |  | 		} | 
                                                            
                                    | 5369 |  | 		return $timeout; | 
                                                            
                                    | 5370 |  | 	} | 
                                                            
                                    | 5371 |  |  | 
                                                            
                                    | 5372 |  | 	/** | 
                                                            
                                    | 5373 |  | 	 * Takes the response from the Jetpack register new site endpoint and | 
                                                                        
                 
                                                            
                    
packages/connection/src/class-manager.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1111-1118 (lines=8) @@ | 
                                                            
                                    | 1108 |  | 	 * @since 5.4 | 
                                                            
                                    | 1109 |  | 	 * @param Integer $min_timeout the minimum timeout value. | 
                                                            
                                    | 1110 |  | 	 **/ | 
                                                            
                                    | 1111 |  | 	public function set_min_time_limit( $min_timeout ) { | 
                                                            
                                    | 1112 |  | 		$timeout = $this->get_max_execution_time(); | 
                                                            
                                    | 1113 |  | 		if ( $timeout < $min_timeout ) { | 
                                                            
                                    | 1114 |  | 			$timeout = $min_timeout; | 
                                                            
                                    | 1115 |  | 			set_time_limit( $timeout ); | 
                                                            
                                    | 1116 |  | 		} | 
                                                            
                                    | 1117 |  | 		return $timeout; | 
                                                            
                                    | 1118 |  | 	} | 
                                                            
                                    | 1119 |  |  | 
                                                            
                                    | 1120 |  | 	/** | 
                                                            
                                    | 1121 |  | 	 * Get our assumed site creation date. |