Make WordPress Core

Changeset 37969


Ignore:
Timestamp:
07/05/2016 03:04:36 PM (8 years ago)
Author:
swissspidy
Message:

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.

File:
1 edited

Legend:

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

    r37714 r37969  
    638638        wp.a11y.speak( wp.updates.l10n.installedMsg, 'polite' );
    639639
    640         $document.trigger( 'wp-installer-install-success', response );
     640        $document.trigger( 'wp-importer-install-success', response );
    641641    };
    642642
Note: See TracChangeset for help on using the changeset viewer.