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

WordPress Trac noreply at wordpress.org
Fri May 27 14:10:17 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 amandato):

 Re: Core: Provide a way of forcefully bypassing wp_maintenance() so that
 WP-CLI can continue to operate when .maintenance exists.


 The proposed filter I requested in this ticket
 [https://core.trac.wordpress.org/ticket/36960 #36960] with the following
 if in the .maintenance file would solve this problem.

 {{{#!php
 <?php
 if( !( defined('WP_CLI') && WP_CLI ) ) { $upgrading = time(); }
 }}}

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


More information about the wp-trac mailing list