Make WordPress Core

Opened 7 years ago

Last modified 5 months ago

#40252 new defect (bug)

Redirection during activation

Reported by: tazotodua's profile tazotodua Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: administration Cc:

Description

for example, i select several plugins (which are deactivated) at once and click BULK ACTIVATE...
if any of plugin has custom filter add_action( 'activated_plugin', ... (inside where it redirect to plugins settings page after activation), then those plugins are not activated in bulk, instead while that plugin's turn comes, it is activated and the page is redirected to that plugin's url..

i think there is no easy solution... you should create a new hook, that will be named i.e. redirect_to_after_activation which will be solely dedicated and used for redirection, while that plugin is activated individually.

Change History (4)

#1 @SergeyBiryukov
7 years ago

  • Focuses administration added

Related/duplicate: #40454

#2 @swissspidy
5 months ago

#40454 was marked as a duplicate.

#3 @swissspidy
5 months ago

#59213 was marked as a duplicate.

#4 @swissspidy
5 months ago

  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.