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

WordPress Trac noreply at wordpress.org
Wed Aug 14 22:22:42 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 jdgrimes):

 I've been thinking some more about this, and I've realized that when the
 plugin is activated it isn't a "normal" WP run either. Although - unlike
 the uninstall routine - the entire plugin is available, the page is
 redirected immediately after the activation hook is called, so it's not
 possible to hook into anything during the activate routine.

 That being said, it is slightly different than the logic behind
 uninstall.php.

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


More information about the wp-trac mailing list