[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
Sat May 30 15:11:17 UTC 2020


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47871" 47871]:
 {{{
 #!CommitTicketReference repository="" revision="47871"
 Upgrade/Install: Rename `wp_in_maintenance_mode()` to
 `wp_is_maintenance_mode()`, for consistency with `wp_is_recovery_mode()`.

 While the former name might be a bit more accurate, the latter matches the
 existing naming pattern.

 Follow-up to [47623].

 Fixes #49959.
 }}}

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


More information about the wp-trac mailing list