[wp-trac] [WordPress Trac] #34936: Reconcile wp-settings-cli.php with wp-settings.php
WordPress Trac
noreply at wordpress.org
Fri May 27 19:19:14 UTC 2016
#34936: Reconcile wp-settings-cli.php with wp-settings.php
---------------------------------+------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: dev-feedback wp-cli | Focuses:
---------------------------------+------------------
Comment (by jorbin):
In [changeset:"37588"]:
{{{
#!CommitTicketReference repository="" revision="37588"
Bootstrap/Load: Load plugin.php earlier in wp-settings.php
In order to allow non-web initializations of WordPress (such as through
wp-cli) to modify things like the check for maintenance mode, plugins.php
and the associated functions must be available much earlier. The use of
these functions earlier than the loading of plugins is not recommended in
most use cases.
Fixes #36819. See #34936.
Props jorbin, danielbachhuber for documentation.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34936#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list