Make WordPress Core

Changeset 38019


Ignore:
Timestamp:
07/09/2016 11:42:04 AM (9 years ago)
Author:
swissspidy
Message:

Upgrade/Install: Do not remove event handlers when trying to update a theme.

Previously, when clicking "Update now" the callbacks were erroneously removed. This prevented opening the filesystem credentials modal for a second time.

Fixes #37285.

File:
1 edited

Legend:

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

    r37967 r38019  
    612612        var _this = this;
    613613        event.preventDefault();
    614         this.$el.off( 'click', '.update-message' );
    615614
    616615        wp.updates.maybeRequestFilesystemCredentials( event );
Note: See TracChangeset for help on using the changeset viewer.