[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme updates
WordPress Trac
noreply at wordpress.org
Wed Jan 20 21:28:01 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):
Replying to [comment:49 SergeyBiryukov]:
> Personally, I would like the code for plugin/theme upgraders to be as
close to core as possible. At a glance, it looks like
`Core_Upgrader::upgrade()` has a lot more than
`Plugin_Upgrader::upgrade()` or `Theme_Upgrader::upgrade()`, so perhaps
unifying these methods and documenting the differences would be a good
first step. I would prefer to adapt the core upgrader for plugins and
themes as appropriate, and not create a completely different
implementation.
Sounds like this should be another ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51857#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list