Opened 7 years ago
Closed 6 years ago
#47796 closed defect (bug) (fixed)
uninstall_plugin should do an include_once not include
| Reported by: | pcfreak30 | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Plugins | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
This seems to be an edge case, but it is possible for a plugin file to already be loaded when uninstall_plugin is run (like if done programmatically).
This can cause a fatal, and the simple solution is to use include_once.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hey!
Updated both
includecalls toinclude_onceinstead in theuninstall_pluginfunction