bump_request_timeout closes #3857
This commit is contained in:
parent
49656cb250
commit
4798cb8e27
|
@ -337,9 +337,10 @@ if ( class_exists( 'WP_Importer' ) ) {
|
|||
|
||||
/**
|
||||
* Added to http_request_timeout filter to force timeout at 60 seconds during import
|
||||
* @param int $val
|
||||
* @return int 60
|
||||
*/
|
||||
function bump_request_timeout() {
|
||||
function bump_request_timeout( $val ) {
|
||||
return 60;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue