[wp-trac] [WordPress Trac] #38292: Introduce exclusion for WP_Theme::scandir()

WordPress Trac noreply at wordpress.org
Wed Oct 12 12:05:20 UTC 2016


#38292: Introduce exclusion for WP_Theme::scandir()
--------------------------------+------------------------------------------
 Reporter:  lukasbesch          |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Themes              |     Version:  4.6.1
 Severity:  normal              |  Resolution:
 Keywords:  has-patch needs-    |     Focuses:  administration, performance
  testing                       |
--------------------------------+------------------------------------------
Changes (by lukasbesch):

 * keywords:   => has-patch needs-testing


Comment:

 There shouldn't be a reason to scan `node_modules`, so we should be safe
 to hardcode. But let's keep it filterable yet so one can add other package
 managers or libraries to that array.

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


More information about the wp-trac mailing list