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

WordPress Trac noreply at wordpress.org
Thu Jan 26 03:35:56 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           |   Keywords:  has-patch
  Focuses:  performance      |
-----------------------------+-----------------------
 While working extensively on #57375 in various discussions on that ticket
 and on [https://wordpress.slack.com/archives/CULBN711P/p1674693806689949
 Slack] it was decided to move forward with [https://github.com/WordPress
 /wordpress-develop/pull/3909 PR3909].

 PR3909 does not include the needed change to
 `WP_Upgrader::install_package()` to take advantage of its new code. This
 ticket and PR will accomplish that. The plan is to replace `copy_dir()` in
 `WP_Upgrader::install_package()` with `move_dir()`.

 This change was tested extensively during the development of #57375

 Related: #57375, #57386

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


More information about the wp-trac mailing list