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

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 14 11:23:47 UTC 2009


#10774: Include 'hidden' directories in filesystem dirlist by default
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:  dd32                   
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  2.9                    
Component:  Filesystem    |     Version:  2.9                    
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------
Changes (by dd32):

  * keywords:  needs-patch => has-patch needs-testing


Comment:

 Ok, A 2nd attempt:

 > attachment 10774.2.diff added
  * renames $incdot to $include_hidden
    * Defaults to true instead of false now, I feel its safe to assume that
 is the intention of most users.
  * renames the variable $limitFile to $limit_file for Coding standards
    * Previously ftpext ignored this..
    * Note: Intention of this is to if dirlst(/dir/dir/dir/file) to return
 only 'file'  and not 'file2', 'file3'  etc.
  * Cleaning of some logic related to incdot + recursive..
  * Some spacing here and there

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


More information about the wp-trac mailing list