Docs: Fix typo in a comment in js/media/models/attachment.js.

Props wptoolsdev.
Fixes #49303.
Built from https://develop.svn.wordpress.org/trunk@47117


git-svn-id: http://core.svn.wordpress.org/trunk@46917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-27 14:44:08 +00:00
parent 50edbd537e
commit 2c1d3770fa
2 changed files with 3 additions and 3 deletions

View File

@ -387,7 +387,7 @@ Attachment = Backbone.Model.extend(/** @lends wp.media.model.Attachment.prototyp
// Overload the `update` request so properties can be saved.
} else if ( 'update' === method ) {
// If we do not have the necessary nonce, fail immeditately.
// If we do not have the necessary nonce, fail immediately.
if ( ! this.get('nonces') || ! this.get('nonces').update ) {
return $.Deferred().rejectWith( this ).promise();
}
@ -471,7 +471,7 @@ Attachment = Backbone.Model.extend(/** @lends wp.media.model.Attachment.prototyp
saveCompat: function( data, options ) {
var model = this;
// If we do not have the necessary nonce, fail immeditately.
// If we do not have the necessary nonce, fail immediately.
if ( ! this.get('nonces') || ! this.get('nonces').update ) {
return $.Deferred().rejectWith( this ).promise();
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-47116';
$wp_version = '5.4-alpha-47117';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.