Restore `$val` in `WP_Importer::bump_request_timeout()` - even though the parent class and `WP_Import` ignore the parameter, it creates an incompatible interface notice in the plugin.

See [28629].



git-svn-id: https://develop.svn.wordpress.org/trunk@28637 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-30 19:34:53 +00:00
parent fc2601044b
commit e996a74984
1 changed files with 2 additions and 1 deletions

View File

@ -196,9 +196,10 @@ class WP_Importer {
/** /**
* Bump up the request timeout for http requests * Bump up the request timeout for http requests
* *
* @param int $val
* @return int * @return int
*/ */
public function bump_request_timeout() { public function bump_request_timeout( $val ) {
return 60; return 60;
} }