Make WordPress Core

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


Ignore:
Timestamp:
06/04/2011 04:39:45 AM (15 years ago)
Author:
blurback

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17680, comment 2

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