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