Skip to content

Commit

Permalink
REST API: Fix the wrong name in the comments controller
Browse files Browse the repository at this point in the history
It should be `embeddable` not `embedded`.
Follow-up [53138].

Props timothyblynjacobs.
See #55505.



Built from https://develop.svn.wordpress.org/trunk@53139


git-svn-id: https://core.svn.wordpress.org/trunk@52728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
gziolo committed Apr 11, 2022
1 parent 1c74ab4 commit ca6086e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1196,8 +1196,8 @@ protected function prepare_links( $comment ) {
$rest_url = add_query_arg( $args, rest_url( $this->namespace . '/' . $this->rest_base ) );

$links['children'] = array(
'href' => $rest_url,
'embedded' => true,
'href' => $rest_url,
'embeddable' => true,
);
}

Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-53138';
$wp_version = '6.0-alpha-53139';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit ca6086e

Please sign in to comment.