[wp-trac] [WordPress Trac] #38874: Change include of "includes/plugin-install.php" to include_once
WordPress Trac
noreply at wordpress.org
Mon Aug 5 11:06:36 UTC 2019
#38874: Change include of "includes/plugin-install.php" to include_once
-------------------------------------+-----------------------------
Reporter: engelen | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Plugins | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"45751" 45751]:
{{{
#!CommitTicketReference repository="" revision="45751"
Plugins: Use `include_once` for `wp-admin/includes/plugin-install.php` in
`WP_Plugin_Install_List_Table::prepare_items()`.
This brings consistency with the other instances where the file is
included, and allows for reusing its functions in custom code.
Props engelen, desrosj.
Fixes #38874.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38874#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list