From c1abc8203a711e383f606301b3979c4a3f49718b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 27 Jan 2020 14:42:37 +0000 Subject: [PATCH] Docs: Fix typo in a comment in `js/media/models/attachment.js`. Props wptoolsdev. Fixes #49303. git-svn-id: https://develop.svn.wordpress.org/trunk@47117 602fd350-edb4-49c9-b593-d223f7449a82 --- src/js/media/models/attachment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/media/models/attachment.js b/src/js/media/models/attachment.js index cd29d2f98e..267624b7d6 100644 --- a/src/js/media/models/attachment.js +++ b/src/js/media/models/attachment.js @@ -39,7 +39,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(); } @@ -123,7 +123,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(); }