WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#37273 closed defect (bug) (fixed)

Shiny Updates: Trigger correct event after importer install

Reported by: swissspidy Owned by: swissspidy
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.6
Component: Upgrade/Install Keywords: has-patch
Focuses: javascript Cc:
PR Number:

Description

Currently, inside wp.updates.installImporterSuccess there is:

$document.trigger( 'wp-installer-install-success', response );

It should be:

$document.trigger( 'wp-importer-install-success', response );

Attachments (1)

37273.diff (385 bytes) - added by swissspidy 4 years ago.

Download all attachments as: .zip

Change History (3)

@swissspidy
4 years ago

#1 @swissspidy
4 years ago

  • Keywords has-patch added

#2 @swissspidy
4 years ago

  • Owner set to swissspidy
  • Resolution set to fixed
  • Status changed from new to closed

In 37969:

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.

Note: See TracTickets for help on using tickets.