REST API: Add rest_base to response objects of wp/v2/taxonomies and wp/v2/types

Though we have the `_links.collection` available, having this value can be useful to know post type / taxonomy urls if you need to build them another way.

Props youknowriad, jnylen0.
Fixes #38607.

Built from https://develop.svn.wordpress.org/trunk@39191


git-svn-id: http://core.svn.wordpress.org/trunk@39131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Joe Hoyle
2016-11-10 02:21:30 +00:00
parent e66d2478ee
commit 67da42825e
3 changed files with 17 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta2-39190';
$wp_version = '4.7-beta2-39191';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.