[wp-trac] [WordPress Trac] #20955: get_file_data() is more strict than get_page_templates() was in 3.3

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 14 14:45:47 UTC 2012


#20955: get_file_data() is more strict than get_page_templates() was in 3.3
------------------------------------------+--------------------
 Reporter:  nacin                         |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  3.4.1
Component:  Themes                        |     Version:
 Severity:  major                         |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |
------------------------------------------+--------------------

Comment (by Otto42):

 Is it possible to make get_file_data more forgiving, without breaking
 other things? Or maybe add a $strict flag to get_file_data to allow it to
 be more or less strict for this use?

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


More information about the wp-trac mailing list