REST API: Correct a documentation typo.

Props Zuige
Fixes #38458

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


git-svn-id: http://core.svn.wordpress.org/trunk@38821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2016-10-23 15:52:40 +00:00
parent 3a761adbd7
commit f96940f574
2 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@
// Add any non empty args, merging them into the args object.
if ( ! _.isEmpty( routeEndpoint.args ) ) {
// Set as defauls if no args yet.
// Set as default if no args yet.
if ( _.isEmpty( modelInstance.prototype.args ) ) {
modelInstance.prototype.args = routeEndpoint.args;
} else {
@ -196,7 +196,7 @@
// Add any non empty args, merging them into the defaults object.
if ( ! _.isEmpty( routeEndpoint.args ) ) {
// Set as defauls if no defaults yet.
// Set as default if no defaults yet.
if ( _.isEmpty( modelInstance.prototype.options ) ) {
modelInstance.prototype.options = routeEndpoint.args;
} else {

View File

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