Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#40252 new defect (bug)

Redirection during activation

Reported by: tazotodua's profile tazotodua Owned by:
Milestone: Awaiting Review 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 (1)

#1 @SergeyBiryukov
6 years ago

  • Focuses administration added

Related/duplicate: #40454

Note: See TracTickets for help on using tickets.