[wp-trac] [WordPress Trac] #20241: make it possible for plugins to activate other plugins
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 2 15:43:32 UTC 2012
#20241: make it possible for plugins to activate other plugins
-----------------------------+------------------------------
Reporter: magnus78 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+------------------------------
Comment (by nacin):
These changes could potentially break backwards compatibility.
Dependencies aside, this is doable without any patch. You can use the
activated_plugin hook, which fires after the option is updated. For
deactivation, you could simply choose a later hook (even something like
'shutdown' would work, as would option_active_plugins).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20241#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list