Make WordPress Core

Opened 8 years ago

Last modified 3 weeks 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 (5)

#1 @SergeyBiryukov
8 years ago

  • Focuses administration added

Related/duplicate: #40454

#2 @swissspidy
13 months ago

#40454 was marked as a duplicate.

#3 @swissspidy
13 months ago

#59213 was marked as a duplicate.

#4 @swissspidy
13 months ago

  • Milestone changed from Awaiting Review to Future Release

#5 @Norm.Sash
3 weeks ago

I just posted this request (link below) a bit ago and was informed that this issue is related. This defect bug is over 8 years old... any chance of it getting some love?

https://wordpress.org/support/topic/redirection-during-bulk-plugin-activation-should-be-disabled/#post-18342298

Note: See TracTickets for help on using tickets.