[wp-trac] [WordPress Trac] #10774: Include 'hidden' directories in filesystem dirlist for Direct and SSH2

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 13 02:44:08 UTC 2009


#10774: Include 'hidden' directories in filesystem dirlist for Direct and SSH2
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:  dd32     
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.9      
Component:  Filesystem    |     Version:  2.9      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Ok, Seems theres a bit of a inconsistency between the return values of
 dirlist() when comparing FTP vs Direct/SSH2.

 Direct and SSH2(which was based on the Direct class) include a check to
 see if '.' is the first character, and dumps it in with '.' and '..'
 folders..

 In short, The behavior is unexpected, And i think its whats causing some
 issues with upgrading plugins which were previously svn checkouts
 (including Akismet on SVN installs).

 {{{.htaccess}}} files would also cause oddities like that while attempting
 to ugprade the plugin (It'd hit a Cannot remove plugin error)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10774>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list