[wp-trac] [WordPress Trac] #40252: Redirection during activation

WordPress Trac noreply at wordpress.org
Fri Mar 24 19:33:30 UTC 2017


#40252: Redirection during activation
--------------------------+-----------------------------
 Reporter:  tazotodua     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Plugins       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40252>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list