WordPress.org

Make WordPress Core

Changeset 38879


Ignore:
Timestamp:
10/23/2016 03:55:53 PM (3 years ago)
Author:
johnbillion
Message:

REST API: Correct a documentation typo.

Props Zuige
Fixes #38458
See #38456

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/wp-api.js

    r38878 r38879  
    303303                embeddeds = parentModel.get( '_embedded' ) || {};
    304304
    305                 // Verify that we have a valied object id.
     305                // Verify that we have a valid object id.
    306306                if ( ! _.isNumber( modelId ) || 0 === modelId ) {
    307307                    deferred.reject();
     
    363363                embeddeds = parentModel.get( '_embedded' ) || {};
    364364
    365                 // Verify that we have a valied post id.
     365                // Verify that we have a valid post id.
    366366                if ( ! _.isNumber( postId ) || 0 === postId ) {
    367367                    deferred.reject();
Note: See TracChangeset for help on using the changeset viewer.