diff --git a/src/wp-includes/rest-api/class-wp-rest-server.php b/src/wp-includes/rest-api/class-wp-rest-server.php
index dad4070..f62d41b 100644
a
|
b
|
class WP_REST_Server { |
236 | 236 | $this->send_header( 'Access-Control-Expose-Headers', 'X-WP-Total, X-WP-TotalPages' ); |
237 | 237 | $this->send_header( 'Access-Control-Allow-Headers', 'Authorization' ); |
238 | 238 | |
| 239 | $api_root = get_rest_url(); |
| 240 | if ( ! empty( $api_root ) ) { |
| 241 | $this->send_header( 'Link', '<' . esc_url_raw( $api_root ) . '>; rel="https://api.w.org/"' ); |
| 242 | } |
| 243 | |
239 | 244 | /** |
240 | 245 | * Send nocache headers on authenticated requests. |
241 | 246 | * |