WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #17680, comment 2


Ignore:
Timestamp:
06/04/11 04:32:05 (3 years ago)
Author:
blurback
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17680, comment 2

    v1 v2  
    99I 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). 
    1010 
    11 I used `@rename` directly I took it from the first have of wp's move function.  I did try it on a unix system and win system without issue. 
     11I used `@rename` directly because I took it from the first have of wp's move function.  As for systems, I tested on a unix system and win system without issue.