mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-27 03:02:53 +00:00
REST API: Fix the wrong name in the comments controller
It should be `embeddable` not `embedded`. Follow-up [53138]. Props timothyblynjacobs. See #55505. git-svn-id: https://develop.svn.wordpress.org/trunk@53139 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
067d1667f2
commit
39775c1111
@ -1196,8 +1196,8 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
|
||||
$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,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user