Opened 2 days ago
Last modified 42 hours ago
#49400 reopened enhancement
Enable maintenance mode when a plugin auto-updates
Reported by: | desrosj | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | docs | Cc: | |
PR Number: |
Description
Currently, when an active plugin is auto-updating, it remains active and the site does not enter maintenance mode.
This can cause a few issues:
- If a user loads the Plugins screen in the admin, the plugin could deactivate if an error is encountered mid upgrade.
- If a user loads the front end of the website and an error is encountered, the WSOD protection will be triggered sending a "false alarm" email to the site admin.
This is a spin-off of #48850 to tackle this in a smaller chunk.
Also potentially related: #34676.
Attachments (2)
Change History (7)
#3
@
42 hours ago
The documentation fixes in 49400.1.patch look good at a glance, but I'd like to make sure they're consistent with class-theme-upgrader.php
.
Let's get 49400.diff in for now, and improve the docs after Beta 1.
Note: See
TracTickets for help on using
tickets.
49400.diff uses the same approach that is used in the
Theme_Upgrader
class, hooking into the pre-install/post-install filters.