mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
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:
parent
50edbd537e
commit
2c1d3770fa
@ -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();
|
||||
}
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user