[wp-trac] [WordPress Trac] #47796: uninstall_plugin should do an include_once not include
WordPress Trac
noreply at wordpress.org
Sun Jul 5 20:30:33 UTC 2020
#47796: uninstall_plugin should do an include_once not include
--------------------------+-----------------------------
Reporter: pcfreak30 | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Plugins | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"48326" 48326]:
{{{
#!CommitTicketReference repository="" revision="48326"
Plugins: Use `include_once` instead of `include` in `uninstall_plugin()`,
in case the plugin file is already included.
Props valchovski, pcfreak30.
Fixes #47796.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47796#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list