[wp-trac] [WordPress Trac] #20126: get_file_data() is obtuse

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 2 21:07:33 UTC 2012


#20126: get_file_data() is obtuse
--------------------------+---------------------
 Reporter:  nacin         |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.4
Component:  Performance   |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [20088]:
 {{{
 #!CommitTicketReference repository="" revision="20088"
 Use array_combine() in get_file_data() and avoid variable variables when
 an array is just fine. fixes #20126.
 }}}

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


More information about the wp-trac mailing list