From 8b4a1d65cd07704e40df31afcbcb0dc4dda76031 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Tue, 17 Nov 2015 02:23:52 +0000 Subject: [PATCH] REST API: Change link relations to api.w.org Fixes #34303. git-svn-id: https://develop.svn.wordpress.org/trunk@35650 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/rest-api/rest-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } /**