[wp-trac] [WordPress Trac] #24670: Standardized plugin activation file

WordPress Trac noreply at wordpress.org
Mon Jul 1 16:59:46 UTC 2013


#24670: Standardized plugin activation file
-----------------------------+------------------------------
 Reporter:  JD55             |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by nacin):

 I think register_activation_hook() is fine. The real benefit to
 uninstall.php is that it makes it very clear that since the plugin is
 deactivated, it is not included and you can't rely on it. You can only
 rely on what is done inside uninstall.php.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24670#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list