From f96940f574e13e9b5056d6ae957d0cc590a2b576 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 23 Oct 2016 15:52:40 +0000 Subject: [PATCH] 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 --- wp-includes/js/wp-api.js | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/wp-api.js b/wp-includes/js/wp-api.js index 0bb5d2e205..17d72af68e 100644 --- a/wp-includes/js/wp-api.js +++ b/wp-includes/js/wp-api.js @@ -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 { diff --git a/wp-includes/version.php b/wp-includes/version.php index 970f06bfb1..9f5825abb9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.