REST API: Correct a documentation typo.

Props Zuige
Fixes #38458
See #38456

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


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

View File

@ -302,7 +302,7 @@
deferred = jQuery.Deferred();
embeddeds = parentModel.get( '_embedded' ) || {};
// Verify that we have a valied object id.
// Verify that we have a valid object id.
if ( ! _.isNumber( modelId ) || 0 === modelId ) {
deferred.reject();
return deferred;
@ -362,7 +362,7 @@
postId = parentModel.get( 'id' );
embeddeds = parentModel.get( '_embedded' ) || {};
// Verify that we have a valied post id.
// Verify that we have a valid post id.
if ( ! _.isNumber( postId ) || 0 === postId ) {
deferred.reject();
return deferred;

View File

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