[wp-trac] [WordPress Trac] #53659: Optional skipping of hidden files/folders in list_files

WordPress Trac noreply at wordpress.org
Tue Jun 27 16:06:32 UTC 2023


#53659: Optional skipping of hidden files/folders in list_files
-------------------------------------------------+-------------------------
 Reporter:  yani.iliev                           |       Owner:
                                                 |  mikeschroder
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3
Component:  Filesystem API                       |     Version:  4.9
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-        |     Focuses:
  testing-info commit                            |
-------------------------------------------------+-------------------------
Changes (by mikeschroder):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56069" 56069]:
 {{{
 #!CommitTicketReference repository="" revision="56069"
 Filesystem API: Allow optional inclusion of hidden files in
 `list_files()`.

 Adds a new optional `$include_hidden` parameter to allow the inclusion of
 hidden (`.` prefixed) files.
 Defaults to false for backward compatibility.

 Props yani.iliev, sabernhardt, costdev, rutviksavsani, zunaid321, azaozz.
 Fixes #53659.
 }}}

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


More information about the wp-trac mailing list