[wp-trac] [WordPress Trac] #40454: Make plugin ACTIVATION method constant

WordPress Trac noreply at wordpress.org
Fri Apr 14 20:09:51 UTC 2017


#40454: Make plugin ACTIVATION method constant
-----------------------------+-----------------------------
 Reporter:  tazotodua        |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 for example, there are plugins, that redirect to it's setting spage
 imediately after that plugin is activated (with 'activated_plugin' hook if
 i correctly remember).
 however, when I activate plugin in bulk, bulk activation is stopped at
 that specific plugin, then it redirects to its settings page.

 I think, there should be something like this:

 if(!BULK_PLUGIN_ACTIVATION){
     redirect.....
 }

 so, make something , as developer could  differentiate between individual
 and bulk  activation.

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


More information about the wp-trac mailing list