WordPress.org

Make WordPress Core

Ticket #31819: 31819.patch

File 31819.patch, 724 bytes (added by iseulde, 5 years ago)
  • src/wp-admin/js/updates.js

     
    227227
    228228                wp.updates.updateDoneSuccessfully = true;
    229229
    230                 $(document).trigger( 'wp.plugin.update.success', response );
     230                $(document).trigger( 'wp-plugin-update-success', response );
    231231
    232232                /*
    233233                 * The lock can be released since the update was successful,
     
    264264                $message.text( wp.updates.l10n.updateFailed );
    265265                wp.a11y.speak( wp.updates.l10n.updateFailed );
    266266
    267                 $(document).trigger( 'wp.plugin.update.error', response );
     267                $(document).trigger( 'wp-plugin-update-error', response );
    268268        };
    269269
    270270        /**