Make WordPress Core

Changeset 33306


Ignore:
Timestamp:
07/17/2015 04:08:04 AM (9 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.
Merges [32780] to the 4.2 branch
Fixes #32110 for 4.2

Location:
branches/4.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2

  • branches/4.2/src/wp-admin/js/updates.js

    r33305 r33306  
    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.