[wp-trac] [WordPress Trac] #57557: Switch copy_dir() with move_dir() in WP_Upgrader::install_package
WordPress Trac
noreply at wordpress.org
Sat Feb 4 03:29:57 UTC 2023
#57557: Switch copy_dir() with move_dir() in WP_Upgrader::install_package
-----------------------------+-----------------------------
Reporter: afragen | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: performance
-----------------------------+-----------------------------
Changes (by azaozz):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"55220" 55220]:
{{{
#!CommitTicketReference repository="" revision="55220"
Upgrade/Install: Use `move_dir()` instead of `copy_dir()` in
`WP_Upgrader::install_package()` when possible. This would make the
filesystem operations a lot faster in most cases, and potentially reduce
failures.
Props: afragen, costdev, peterwilsoncc, pbiron, mukesh27, SergeyBiryukov,
azaozz.
Fixes: #57557.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57557#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list