[wp-trac] [WordPress Trac] #57557: Switch copy_dir() with move_dir() in WP_Upgrader::install_package

WordPress Trac noreply at wordpress.org
Mon Feb 6 16:46:40 UTC 2023


#57557: Switch copy_dir() with move_dir() in WP_Upgrader::install_package
-----------------------------+-----------------------------
 Reporter:  afragen          |       Owner:  SergeyBiryukov
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:  6.2
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  performance
-----------------------------+-----------------------------

Comment (by swissspidy):

 Yes, looks like that resolves the issue, at least in manual tests. For
 some reason I also had to [https://github.com/swissspidy/preferred-
 languages/pull/604 tweak my wp-env configuration] due to file permissions,
 not sure if that's related though.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57557#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list