[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 Apr 25 18:10:06 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:
-----------------------------+---------------------

Comment (by Clorith):

 While this is true that regular requests will not be able to process, the
 fatal error handler is still active, and can trigger email notifications
 during race conditions where files are being processed.

 I plan on adding a maintenance check to avoid the error handler from
 triggering during upgrade routines in #48964, hence this pre-requisite to
 avoid duplicating the check for `.maintenance` and related checks that are
 done.

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


More information about the wp-trac mailing list