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

WordPress Trac noreply at wordpress.org
Fri May 27 20:47:30 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):

 Above patch adds three filters to solve:

 As these filters all run before plugins are loaded, I've marked them
 @ignore so they don't go on the docs site.

 [ ] Core: Provide a way of forcefully bypassing wp_maintenance() so that
 WP-CLI can continue to operate when .maintenance exists.
 [ ] Core: Provide a way of overloading wp_debug_mode(), which isn't called
 at all in wp-settings-cli.php.
 [ ] Core: Provide a way of forcefully skipping loading wp-content/advance-
 cache.php, which historically has caused problems with WP-CLI.

 Would love a docs review from @DrewAPicture and others such
 @danielbachhuber.

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


More information about the wp-trac mailing list