[wp-trac] [WordPress Trac] #32120: WordPress updates damage .svn folders. Patch WP_Filesystem_Direct::delete() to preserve them.

WordPress Trac noreply at wordpress.org
Fri Apr 24 21:59:55 UTC 2015


#32120: WordPress updates damage .svn folders. Patch WP_Filesystem_Direct::delete()
to preserve them.
-------------------------------+------------------------------
 Reporter:  philmprice         |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Filesystem API     |     Version:  4.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback


Comment:

 Thanks for the report Phil.

 Can you provide a little more context? Are you using the `delete()` method
 in a plugin, or are you seeing problems caused by its use by WordPress
 core? This issue would also affect the other filesystem drivers, such as
 `WP_Filesystem_SSH2`.

 If the `delete()` method is wiping out `.svn` directories when that's not
 desired, then obviously we need to consider other directories that
 shouldn't be deleted too, such as `.git`, `.hg`, etc.

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


More information about the wp-trac mailing list