REST API: Unify object access handling for simplicity.

Rather than repeating ourselves, unifying the access into a single method keeps everything tidy. While we're at it, add in additional schema handling for common parameters.

See #38792.
Built from https://develop.svn.wordpress.org/trunk@39954


git-svn-id: http://core.svn.wordpress.org/trunk@39891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Joe Hoyle
2017-01-26 13:39:41 +00:00
parent 85384297a6
commit e357195ce3
10 changed files with 354 additions and 150 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39952';
$wp_version = '4.8-alpha-39954';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.