[wp-trac] [WordPress Trac] #57557: Switch copy_dir() with move_dir() in WP_Upgrader::install_package
WordPress Trac
noreply at wordpress.org
Wed Feb 1 01:14:48 UTC 2023
#57557: Switch copy_dir() with move_dir() in WP_Upgrader::install_package
-----------------------------+--------------------------
Reporter: afragen | Owner: (none)
Type: enhancement | Status: new
Priority: high | Milestone: 6.2
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance
-----------------------------+--------------------------
Comment (by peterwilsoncc):
Cross posting from my comment on #57375:
Discussing this with @azaozz, for 6.2 we'd like to limit the use of
`move_dir()` to plugins and themes only. The Core updater ought to retain
its current behavior.
This logic for this is simple: if the theme or plugin updater gets broken
then it can be fixed by pushing out a minor update of WordPress. If the
core updater gets broken then that's not so much of an option.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57557#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list