diff --git src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php src/wp-includes/rest-api/search/class-wp-rest-post-search-handler.php
index de42663aa4..5c763abf93 100644
|
|
class WP_REST_Post_Search_Handler extends WP_REST_Search_Handler { |
151 | 151 | $item_route = $this->detect_rest_item_route( $post ); |
152 | 152 | if ( ! empty( $item_route ) ) { |
153 | 153 | $links['self'] = array( |
| 154 | 'href' => rest_url( $item_route ), |
| 155 | ); |
| 156 | |
| 157 | $links['original'] = array( |
154 | 158 | 'href' => rest_url( $item_route ), |
155 | 159 | 'embeddable' => true, |
156 | 160 | ); |