mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-20 15:21:28 +01:00
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]. Built from https://develop.svn.wordpress.org/trunk@28637 git-svn-id: http://core.svn.wordpress.org/trunk@28455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cd96841632
commit
9187e3bd55
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user