Ticket #7878 (closed defect (bug): fixed)
Allow __FILE__ to be passed to activate_plugin()/deactivate_plugin()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Administration | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
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().
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

