--- a/wp/wp-includes/IXR/class-IXR-client.php Tue Oct 22 16:11:46 2019 +0200
+++ b/wp/wp-includes/IXR/class-IXR-client.php Tue Dec 15 13:49:49 2020 +0100
@@ -58,9 +58,15 @@
self::__construct( $server, $path, $port, $timeout );
}
- function query()
+ /**
+ * @since 1.5.0
+ * @since 5.5.0 Formalized the existing `...$args` parameter by adding it
+ * to the function signature.
+ *
+ * @return bool
+ */
+ function query( ...$args )
{
- $args = func_get_args();
$method = array_shift($args);
$request = new IXR_Request($method, $args);
$length = $request->getLength();