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:
parent
fc2601044b
commit
e996a74984
@ -196,9 +196,10 @@ class WP_Importer {
|
||||
/**
|
||||
* Bump up the request timeout for http requests
|
||||
*
|
||||
* @param int $val
|
||||
* @return int
|
||||
*/
|
||||
public function bump_request_timeout() {
|
||||
public function bump_request_timeout( $val ) {
|
||||
return 60;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user