[wp-trac] [WordPress Trac] #41646: activate.php and deactivate.php for Plugins

WordPress Trac noreply at wordpress.org
Tue Aug 15 15:01:13 UTC 2017


#41646: activate.php and deactivate.php for Plugins
-----------------------------+-----------------------------
 Reporter:  michael.ecklund  |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Plugins          |    Version:  4.8.1
 Severity:  normal           |   Keywords:
  Focuses:  administration   |
-----------------------------+-----------------------------
 There's currently a file for `uninstall.php` to simplify things.
 Alternatively, there's also a hook available.

 There's hooks for plugin activation and deactivation. However, I think
 those hooks can be a bit tricky for newbie plugin developers.

 I think by implementing a file for `activate.php` and `deactivate.php`
 could simply plugin development.

 I'm totally fine using hooks for my own sake, but I just thought it could
 help simplify plugin development slightly. It might also make things
 easier on the code review team?

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


More information about the wp-trac mailing list