diff --git a/src/wp-includes/rest-api/rest-functions.php b/src/wp-includes/rest-api/rest-functions.php index 7964bae34a..09e530ad71 100644 --- a/src/wp-includes/rest-api/rest-functions.php +++ b/src/wp-includes/rest-api/rest-functions.php @@ -531,7 +531,7 @@ function rest_output_link_wp_head() { return; } - echo "\n"; + echo "\n"; } /** @@ -550,7 +550,7 @@ function rest_output_link_header() { return; } - header( 'Link: <' . esc_url_raw( $api_root ) . '>; rel="https://github.com/WP-API/WP-API"', false ); + header( 'Link: <' . esc_url_raw( $api_root ) . '>; rel="https://api.w.org/"', false ); } /**