WordPress.org

Make WordPress Core

Changeset 47117


Ignore:
Timestamp:
01/27/2020 02:42:37 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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

Props wptoolsdev.
Fixes #49303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/media/models/attachment.js

    r46800 r47117  
    4040        // Overload the `update` request so properties can be saved.
    4141        } else if ( 'update' === method ) {
    42             // If we do not have the necessary nonce, fail immeditately.
     42            // If we do not have the necessary nonce, fail immediately.
    4343            if ( ! this.get('nonces') || ! this.get('nonces').update ) {
    4444                return $.Deferred().rejectWith( this ).promise();
     
    124124        var model = this;
    125125
    126         // If we do not have the necessary nonce, fail immeditately.
     126        // If we do not have the necessary nonce, fail immediately.
    127127        if ( ! this.get('nonces') || ! this.get('nonces').update ) {
    128128            return $.Deferred().rejectWith( this ).promise();
Note: See TracChangeset for help on using the changeset viewer.