Opened 3 years ago
Last modified 6 months ago
#37347 new feature request
Add a filter to disable maintenance mode for all updates, everywhere.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.5.3 |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | ui, administration | Cc: | |
PR Number: |
Description
Currently there is no way for plugins to disable the wordpress maintenance mode from happening during updates done via the standard WP_Upgrader class.
I would like something like
add_filter( 'maintenance_mode', '__return_false' );
to just work. Which would completely stop WP_Upgrader::maintenance_mode from creating the .maintenance file.
The use case is for plugins that hook into the upgrade process, like https://wordpress.org/plugins/wp-safe-updates/ that want to either disable the maintenance phase, or replace it with something different.
Attachments (1)
Change History (5)
This ticket was mentioned in Slack in #feature-shinyupdates by anttiviljami. View the logs.
3 years ago
This ticket was mentioned in Slack in #core by anttiviljami. View the logs.
3 years ago
Note: See
TracTickets for help on using
tickets.