Skip to content

Commit 0bf5949

Browse files
Docs: Correct $request parameter type in WP_REST_Server::get_index().
Follow-up to [34928], [52796]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60177 602fd350-edb4-49c9-b593-d223f7449a82
1 parent d0460ea commit 0bf5949

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,11 +1353,7 @@ protected function get_json_last_error() {
13531353
*
13541354
* @since 4.4.0
13551355
*
1356-
* @param array $request {
1357-
* Request.
1358-
*
1359-
* @type string $context Context.
1360-
* }
1356+
* @param WP_REST_Request $request Request data.
13611357
* @return WP_REST_Response The API root index data.
13621358
*/
13631359
public function get_index( $request ) {

0 commit comments

Comments
 (0)