[wp-trac] [WordPress Trac] #56057: Add conditional to WP_Upgrader::install_package() for Rollback testing
WordPress Trac
noreply at wordpress.org
Wed Dec 21 03:10:32 UTC 2022
#56057: Add conditional to WP_Upgrader::install_package() for Rollback testing
-----------------------------+-----------------------------
Reporter: afragen | Owner: SergeyBiryukov
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 6.2
Component: Upgrade/Install | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Comment (by peterwilsoncc):
I don't think the filter in the [https://github.com/WordPress/wordpress-
develop/pull/3791 linked PR #3791] is well designed.
Instead of introducing a generic hook (be it filter or action) that could
be used in multiple use cases, it's introducing a filter that is pretty
tightly limited to the use case of testing the rollback plugin.
However, once the rollback plugin is tested the filter needs to be
maintained for the forseable future by WordPress maintainers.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56057#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list