From b0ee5efef2a85182f12d2aa5ad4a5b154d3bd860 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Tue, 17 Nov 2015 02:24:27 +0000 Subject: [PATCH] REST API: Change link relations to api.w.org Fixes #34303. Built from https://develop.svn.wordpress.org/trunk@35650 git-svn-id: http://core.svn.wordpress.org/trunk@35614 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api/rest-functions.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/rest-api/rest-functions.php b/wp-includes/rest-api/rest-functions.php index 7964bae34a..09e530ad71 100644 --- a/wp-includes/rest-api/rest-functions.php +++ b/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 ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 917d24af4a..f93ebb702c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta4-35649'; +$wp_version = '4.4-beta4-35650'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.