[wp-trac] [WordPress Trac] #37707: Change the inclusion of 'plugins.php' to require_once
WordPress Trac
noreply at wordpress.org
Thu Sep 8 17:01:26 UTC 2016
#37707: Change the inclusion of 'plugins.php' to require_once
----------------------------+-----------------------
Reporter: jorbin | Owner: jorbin
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.7
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------+-----------------------
Changes (by danielbachhuber):
* status: closed => reopened
* resolution: fixed =>
Comment:
Now that `/wp-includes/plugin.php` requires the `WPINC` constant to be
set, it's not possible to require `/wp-includes/plugin.php` before `wp-
settings.php` is loaded. `WPINC` is set at the beginning of `wp-
settings.php`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37707#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list