includes/class-wc-download-handler.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 336-338 (lines=3) @@ | 
                                                            
                                    | 333 |  | 	 * Check and set certain server config variables to ensure downloads work as intended. | 
                                                            
                                    | 334 |  | 	 */ | 
                                                            
                                    | 335 |  | 	private static function check_server_config() { | 
                                                            
                                    | 336 |  | 		if ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { | 
                                                            
                                    | 337 |  | 			@set_time_limit( 0 ); | 
                                                            
                                    | 338 |  | 		} | 
                                                            
                                    | 339 |  | 		if ( function_exists( 'get_magic_quotes_runtime' ) && get_magic_quotes_runtime() && version_compare( phpversion(), '5.4', '<' ) ) { | 
                                                            
                                    | 340 |  | 			set_magic_quotes_runtime( 0 ); | 
                                                            
                                    | 341 |  | 		} | 
                                                                        
                 
                                                            
                    
includes/admin/importers/class-wc-tax-rate-importer.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 101-103 (lines=3) @@ | 
                                                            
                                    | 98 |  | 		if ( function_exists( 'gc_enable' ) ) { | 
                                                            
                                    | 99 |  | 			gc_enable(); | 
                                                            
                                    | 100 |  | 		} | 
                                                            
                                    | 101 |  | 		if ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { | 
                                                            
                                    | 102 |  | 			@set_time_limit( 0 ); | 
                                                            
                                    | 103 |  | 		} | 
                                                            
                                    | 104 |  | 		@ob_flush(); | 
                                                            
                                    | 105 |  | 		@flush(); | 
                                                            
                                    | 106 |  | 		@ini_set( 'auto_detect_line_endings', '1' ); | 
                                                                        
                 
                                                            
                    
includes/class-wc-ajax.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 907-909 (lines=3) @@ | 
                                                            
                                    | 904 |  | 			die(-1); | 
                                                            
                                    | 905 |  | 		} | 
                                                            
                                    | 906 |  |  | 
                                                            
                                    | 907 |  | 		if ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { | 
                                                            
                                    | 908 |  | 			@set_time_limit( 0 ); | 
                                                            
                                    | 909 |  | 		} | 
                                                            
                                    | 910 |  |  | 
                                                            
                                    | 911 |  | 		$post_id = intval( $_POST['post_id'] ); | 
                                                            
                                    | 912 |  |  |