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:
parent
f96940f574
commit
4e65c0cfb4
|
@ -302,7 +302,7 @@
|
||||||
deferred = jQuery.Deferred();
|
deferred = jQuery.Deferred();
|
||||||
embeddeds = parentModel.get( '_embedded' ) || {};
|
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 ) {
|
if ( ! _.isNumber( modelId ) || 0 === modelId ) {
|
||||||
deferred.reject();
|
deferred.reject();
|
||||||
return deferred;
|
return deferred;
|
||||||
|
@ -362,7 +362,7 @@
|
||||||
postId = parentModel.get( 'id' );
|
postId = parentModel.get( 'id' );
|
||||||
embeddeds = parentModel.get( '_embedded' ) || {};
|
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 ) {
|
if ( ! _.isNumber( postId ) || 0 === postId ) {
|
||||||
deferred.reject();
|
deferred.reject();
|
||||||
return deferred;
|
return deferred;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue