[wp-trac] [WordPress Trac] #61459: Disable maintenance mode when core auto-update fails.

WordPress Trac noreply at wordpress.org
Tue Jun 18 14:39:39 UTC 2024


#61459: Disable maintenance mode when core auto-update fails.
------------------------------+----------------------
 Reporter:  costdev           |       Owner:  costdev
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.6
Component:  Upgrade/Install   |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by costdev):

 * owner:  (none) => costdev
 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58436" 58436]:
 {{{
 #!CommitTicketReference repository="" revision="58436"
 Upgrade/Install: Disable maintenance mode when core auto-update fails.

 In [58128], additional maintenance mode calls were added to the automatic
 updates process. However, there is an early return if a 'core' automatic
 update fails.

 Maintenance mode isn't disabled until later in the
 `WP_Automatic_Updater::update()` method. This means that maintenance mode
 may continue to be enabled despite the core update being treated as a
 skipped update.

 This disables maintenance mode before the early return.

 Follow-up to [58128].

 Props costdev, hellofromTonya, peterwilsoncc.
 Fixes #61459. See #58281.
 }}}

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


More information about the wp-trac mailing list