mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 09:57:38 +01:00
REST API: Fix the wrong name in the comments controller
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: http://core.svn.wordpress.org/trunk@52728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f3fc52f959
commit
8b207b7967
@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user