[wp-trac] [WordPress Trac] #34936: Reconcile wp-settings-cli.php with wp-settings.php

WordPress Trac noreply at wordpress.org
Thu Jun 2 18:46:54 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 has-patch  |     Focuses:
-------------------------------------------+------------------

Comment (by jorbin):

 In [changeset:"37626"]:
 {{{
 #!CommitTicketReference repository="" revision="37626"
 Introduce filters for skipping parts of the bootstrap process

 Non web interfaces with WordPress (such as wp-cli) need to be able to
 bypass certain checks in the bootstrap process. This introduces three new
 filters to allow for those checks to be skipped.

 1. Provides a way of forcefully bypassing wp_maintenance().
 2. Provides a way of forcefully bypassing wp_debug_mode(). See
 https://github.com/wp-cli/wp-cli/issues/177
 3. Provide a way of forcefully skipping loading wp-content/advance-
 cache.php. See https://github.com/wp-cli/wp-cli/pull/164

 These filters should not be used by plugins (in fact, they run before
 plugins are loaded, so they can't be used by plugins). In general, they
 should only be used in non-web interactions with WordPress.

 See #34936.
 Props jorbin, DrewAPicture.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34936#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list