[wp-trac] [WordPress Trac] #21403: Introduce wp_scandir, remove opendir / closedir code

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 28 20:31:48 UTC 2012


#21403: Introduce wp_scandir, remove opendir / closedir code
----------------------------+------------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem      |     Version:  3.0
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by wonderboymusic):

 {{{opendir}}} is the PHP4 alternative to {{{scandir}}} - {{{scandir}}} is
 faster and requires less code. {{{glob}}} might be ok but is less
 standard. I was following @nacin's lead, he used {{{scandir}}} in
 {{{WP_Theme}}}

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


More information about the wp-trac mailing list