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

WordPress Trac noreply at wordpress.org
Tue Feb 19 00:19:55 UTC 2013


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

Comment (by nbachiyski):

 I still think 0-based is the better term.

 The array, which is a result of `$a = array( 1, 2, 3); unset( $a[0] );` is
 still numeric, but its zeroth element is missing.

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


More information about the wp-trac mailing list