diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php index 8ffda57f15..dd7c81a4fd 100644 --- a/wp-includes/rest-api/class-wp-rest-server.php +++ b/wp-includes/rest-api/class-wp-rest-server.php @@ -224,9 +224,9 @@ class WP_REST_Server { * * @since 4.4.0 * - * @param string $code WP_Error-style code. - * @param string $message Human-readable message. - * @param int $status Optional. HTTP status code to send. Default null. + * @param string $code WP_Error-style code. + * @param string $message Human-readable message. + * @param int|null $status Optional. HTTP status code to send. Default null. * @return string JSON representation of the error */ protected function json_error( $code, $message, $status = null ) { @@ -278,8 +278,8 @@ class WP_REST_Server { * * @global WP_User $current_user The currently authenticated user. * - * @param string $path Optional. The request route. If not set, `$_SERVER['PATH_INFO']` will be used. - * Default null. + * @param string|null $path Optional. The request route. If not set, `$_SERVER['PATH_INFO']` will be used. + * Default null. * @return null|false Null if not served and a HEAD request, false otherwise. */ public function serve_request( $path = null ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 595a878e4a..2b8677bec8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-beta2-61112'; +$wp_version = '6.9-beta2-61113'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.