From d61706e07e3c42efbfa14bdf748a400054976fea Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 5 Jul 2016 15:04:36 +0000 Subject: [PATCH] Update/Install: Trigger the correct event after installing an importer plugin. This fixes a typo inside `wp.updates.installImporterSuccess()` as it's about installing an importer, not an installer. Fixes #37273. git-svn-id: https://develop.svn.wordpress.org/trunk@37969 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/updates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/updates.js b/src/wp-admin/js/updates.js index 053aabc099..c41c5d2297 100644 --- a/src/wp-admin/js/updates.js +++ b/src/wp-admin/js/updates.js @@ -637,7 +637,7 @@ wp.a11y.speak( wp.updates.l10n.installedMsg, 'polite' ); - $document.trigger( 'wp-installer-install-success', response ); + $document.trigger( 'wp-importer-install-success', response ); }; /**