diff --git a/wp-includes/IXR/class-IXR-client.php b/wp-includes/IXR/class-IXR-client.php index 480822316b..2072f7c9c2 100644 --- a/wp-includes/IXR/class-IXR-client.php +++ b/wp-includes/IXR/class-IXR-client.php @@ -62,6 +62,8 @@ class IXR_Client * @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 ) { diff --git a/wp-includes/IXR/class-IXR-clientmulticall.php b/wp-includes/IXR/class-IXR-clientmulticall.php index 5a10246dbd..d7aa67b2d5 100644 --- a/wp-includes/IXR/class-IXR-clientmulticall.php +++ b/wp-includes/IXR/class-IXR-clientmulticall.php @@ -44,6 +44,8 @@ class IXR_ClientMulticall extends IXR_Client * @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 ) { diff --git a/wp-includes/class-wp-http-ixr-client.php b/wp-includes/class-wp-http-ixr-client.php index f873e8f728..401bd97589 100644 --- a/wp-includes/class-wp-http-ixr-client.php +++ b/wp-includes/class-wp-http-ixr-client.php @@ -46,10 +46,13 @@ class WP_HTTP_IXR_Client extends IXR_Client { } /** + * @since 3.1.0 + * @since 5.5.0 Formalized the existing `...$args` parameter by adding it + * to the function signature. + * * @return bool */ - public function query() { - $args = func_get_args(); + public function query( ...$args ) { $method = array_shift( $args ); $request = new IXR_Request( $method, $args ); $xml = $request->getXml(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 8c6f3c6c70..3e6e38cb39 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48237'; +$wp_version = '5.5-alpha-48238'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.