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
This commit is contained in:
Ryan McCue 2015-11-17 02:24:27 +00:00
parent 9df7c4edea
commit b0ee5efef2
2 changed files with 3 additions and 3 deletions

View File

@ -531,7 +531,7 @@ function rest_output_link_wp_head() {
return;
}
echo "<link rel='https://github.com/WP-API/WP-API' href='" . esc_url( $api_root ) . "' />\n";
echo "<link rel='https://api.w.org/' href='" . esc_url( $api_root ) . "' />\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 );
}
/**

View File

@ -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.