From e996a74984d8b68a4bd600fc4e2e2a7ef13049c8 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 30 May 2014 19:34:53 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-importer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-importer.php b/src/wp-admin/includes/class-wp-importer.php index 7f2a5e8949..d820bb7023 100644 --- a/src/wp-admin/includes/class-wp-importer.php +++ b/src/wp-admin/includes/class-wp-importer.php @@ -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; }