REST API: Remove unused variable $api_root from WP_Rest_Server->embed_links() method.

After [r36674] the variable `$api_root` is no longer used in this method and should be removed.

See #35803.
Built from https://develop.svn.wordpress.org/trunk@37021


git-svn-id: http://core.svn.wordpress.org/trunk@36988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Rachel Baker 2016-03-16 21:41:28 +00:00
parent 52917621ce
commit 76d14c1d24
2 changed files with 1 additions and 2 deletions

View File

@ -520,7 +520,6 @@ class WP_REST_Server {
}
$embedded = array();
$api_root = rest_url();
foreach ( $data['_links'] as $rel => $links ) {
// Ignore links to self, for obvious reasons.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta3-37020';
$wp_version = '4.5-beta3-37021';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.