[wp-trac] [WordPress Trac] #37909: get_terms returns array with missing cells
WordPress Trac
noreply at wordpress.org
Thu Sep 1 18:54:51 UTC 2016
#37909: get_terms returns array with missing cells
--------------------------+-----------------------------
Reporter: eddr | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.6
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
This call
get_terms( 'settings-set', array('hide_empty' => true) );
returns and array with cells 0,1,3,4,5,6 set (cell 2 is missing)
There are total of 7 terms and one is empty, so the returned terms of a
complete set, but the array is broken
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37909>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list