WordPress.org

Make WordPress Core

Changeset 32133


Ignore:
Timestamp:
04/15/2015 02:36:04 PM (4 years ago)
Author:
jorbin
Message:

Move wp-plugin-update-success event to after lock is released

Fixes #31978
See #31819
Props DavidAnderson

File:
1 edited

Legend:

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

    r32126 r32133  
    229229        wp.updates.updateDoneSuccessfully = true;
    230230
    231         $(document).trigger( 'wp-plugin-update-success', response );
    232 
    233231        /*
    234232         * The lock can be released since the update was successful,
     
    236234         */
    237235        wp.updates.updateLock = false;
     236
     237        $(document).trigger( 'wp-plugin-update-success', response );
     238       
    238239        wp.updates.queueChecker();
    239240    };
Note: See TracChangeset for help on using the changeset viewer.