[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 23:43:03 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
--------------------------+-------------------------------------------------

Comment(by dd32):

 > What is the purpose of $incdot in dirlist

 It was originally to include '.' and '..' in the listing, Which is
 absolutely useless in reality. And as you  can see, Its not even used by
 the ftp transports (Which i hadnt noticed)

 It could be renamed to $hidden, default to true, and be used to include
 {{{.directory}}} in the output..

 Either that, Or remove it all together..

 That late night patch does make them all act the same, but makes that
 param redundant.

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


More information about the wp-trac mailing list