[wp-trac] [WordPress Trac] #23506: get_terms() assumes its taxonomies argument is a numeric array with a 0 key

WordPress Trac noreply at wordpress.org
Fri Aug 23 21:20:32 UTC 2013


#23506: get_terms() assumes its taxonomies argument is a numeric array with a 0 key
------------------------------+------------------
 Reporter:  nbachiyski        |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.7
Component:  Taxonomy          |     Version:  3.6
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by nacin):

 Since we're adjusting whitespace, `$hierarchy[$child_of]` should be
 `$hierarchy[ $child_of ]` — for some time we have put spaces here  when
 the key is a variable.

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


More information about the wp-trac mailing list