WordPress.org

Make WordPress Core

Changeset 32780


Ignore:
Timestamp:
06/15/2015 04:27:37 AM (6 years ago)
Author:
dd32
Message:

Updates: When an update fails (and it's not during the credential form) allow further updates to continue, with the assumption that the error only affects a single plugin.
Props magicroundabout. Fixes #32110 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/updates.js

    r32779 r32780  
    267267        wp.a11y.speak( wp.updates.l10n.updateFailed );
    268268
     269        /*
     270         * The lock can be released since this failure was
     271         * after the credentials form.
     272         */
     273        wp.updates.updateLock = false;
     274
    269275        $(document).trigger( 'wp-plugin-update-error', response );
     276
     277        wp.updates.queueChecker();
    270278    };
    271279
Note: See TracChangeset for help on using the changeset viewer.