Opened 9 years ago
Closed 2 years ago
#40454 closed feature request (duplicate)
Make plugin activation method constant
| Reported by: | tazotodua | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugins | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | administration |
Description (last modified by )
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.
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Right now this is possible by doing:
One obvious issue is that "activate-selected" might change as an action name in the future.
Same can be done with 'deactivate-selected'.
Just an idea.
Another option is to check the function call backtrace, all the way up to
activate_pluginand then one more step up to see if it'sactivate_pluginsor not.A bit hacky, but will work, as well.