[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme updates
WordPress Trac
noreply at wordpress.org
Wed Jan 6 21:44:48 UTC 2021
#51857: Add rollback for failed plugin/theme updates
-------------------------------------------------+-------------------------
Reporter: pbiron | Owner: pbiron
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.7
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs- | Focuses:
testing early |
-------------------------------------------------+-------------------------
Comment (by afragen):
From the description.
> 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.
Obtaining the currently installed version package from dot org is possible
but attempting to reinstall it in the same manner as the failure doesn't
seem like the practical way forward.
This approach also has the issue of not working with any plugin/theme not
hosted on dot org. I think this is a hard block.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51857#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list