Skip to content

Commit d45e2a3

Browse files
Merge branch 'trunk' into inconsistency
2 parents 15c8127 + 4cf0fcd commit d45e2a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/rest-api/class-wp-rest-server.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ protected function get_json_encode_options( WP_REST_Request $request ) {
278278
*
279279
* @global WP_User $current_user The currently authenticated user.
280280
*
281-
* @param string $path Optional. The request route. If not set, `$_SERVER['PATH_INFO']` will be used.
282-
* Default null.
281+
* @param string|null $path Optional. The request route. If not set, `$_SERVER['PATH_INFO']` will be used.
282+
* Default null.
283283
* @return null|false Null if not served and a HEAD request, false otherwise.
284284
*/
285285
public function serve_request( $path = null ) {

0 commit comments

Comments
 (0)