[wp-trac] [WordPress Trac] #49959: Introduce a new helper function to check if WordPress is currently in maintenance mode

WordPress Trac noreply at wordpress.org
Tue Apr 21 21:00:00 UTC 2020


#49959: Introduce a new helper function to check if WordPress is currently in
maintenance mode
-----------------------------+---------------------
 Reporter:  Clorith          |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  5.5
Component:  Upgrade/Install  |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+---------------------
Changes (by Clorith):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 5.5


Comment:

 [attachment:"49959.patch"] implements the proposed function, using the
 name `wp_in_maintenance_mode()`, as it checks the state, so the use of
 `is` might have ended up being confusing to some.

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


More information about the wp-trac mailing list