[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme auto-updates
WordPress Trac
noreply at wordpress.org
Mon Nov 23 20:58:49 UTC 2020
#51857: Add rollback for failed plugin/theme auto-updates
-----------------------------+----------------------
Reporter: pbiron | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.7
Component: Upgrade/Install | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+----------------------
When a core auto-update fails, core has long had the ability to
automatically attempt a "rollback" to the latest stable release (in the
branch that the site is running). Note: for core auto-updates, "rollback"
is not attempted for certain failures (e.g. "disk full", etc).
This capability should be extended to be available for plugin and theme
auto-updates.
The current functionality for core rollbacks relies on the availability of
a "rollback" package being returned by the Updates API. It is unclear (to
me, at this time) whether extending this functionality to plugins/themes
will require changes to the API or not.
**Important:** This ticket is **not** about backup/restore in case a site
admin later determines that a `successful` plugin/theme update actually
causes problem on a site!!!! Rather it is about covering cases such as
#51823, where a plugin/theme auto-update failure happens between the time
the existing plugin/theme is deleted but before the new version
successfully installed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51857>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list