Changes between Version 1 and Version 2 of Ticket #17680, comment 2
- 06/04/11 04:32:05 (6 years ago)
v1 v2 9 9 I did first try `$wp_filesystem->move()` but encountered an error. If I remember correctly, the problem was that [http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/class-wp-filesystem-direct.php?rev=17926#L206 $wp_filesystem->move()] first tries `@rename` and if that fails it tries to copy (which is not a recursive function and errors). 10 10 11 I used `@rename` directly I took it from the first have of wp's move function. I did try iton a unix system and win system without issue. 11 I used `@rename` directly on a unix system and win system without issue.