bump_request_timeout closes #3857

This commit is contained in:
Mike Jolley 2013-10-01 10:04:07 +01:00
parent 49656cb250
commit 4798cb8e27
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}