[wp-trac] [WordPress Trac] #7878: Allow __FILE__ to be passed to
activate_plugin()/deactivate_plugin()
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 13 23:50:42 GMT 2008
#7878: Allow __FILE__ to be passed to activate_plugin()/deactivate_plugin()
----------------------------+-----------------------------------------------
Reporter: DD32 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version: 2.7
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Allow __FILE__ to be passed to activate_plugin()/deactivate_plugin()
Its mainly for deactivate_plugin(__FILE__) for self-deactivation, However,
for consistancy, i've also patched activate_plugin().
--
Ticket URL: <http://trac.wordpress.org/ticket/7878>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list