[wp-trac] [WordPress Trac] #56057: Add conditional to WP_Upgrader::install_package() for Rollback testing
WordPress Trac
noreply at wordpress.org
Mon Jun 27 01:25:13 UTC 2022
#56057: Add conditional to WP_Upgrader::install_package() for Rollback testing
-----------------------------+-----------------------------
Reporter: afragen | Owner: SergeyBiryukov
Type: feature request | Status: reopened
Priority: normal | Milestone: 6.1
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch early | Focuses:
-----------------------------+-----------------------------
Comment (by peterwilsoncc):
There is a substantial difference between adding an action and checking
for a specific class name within a feature plugin that is under
development.
There are also circumstantial difference, the existing hook `update-
custom_{$action}` could have been expanded for use as a robust and future
friendly solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56057#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list