[wp-trac] [WordPress Trac] #13109: get_taxonomies should filter object_type

WordPress Trac wp-trac at lists.automattic.com
Thu May 6 21:38:44 UTC 2010


#13109: get_taxonomies should filter object_type
------------------------------+---------------------------------------------
 Reporter:  michaelh          |        Owner:          
     Type:  enhancement       |       Status:  reopened
 Priority:  normal            |    Milestone:  3.0     
Component:  Post Types        |      Version:  3.0     
 Severity:  normal            |   Resolution:          
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------
Changes (by scribu):

  * keywords:  has-patch tested commit => has-patch commit
  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 We should have consistent behaviour between get_object_taxonomies() and
 get_taxonomies().

 wp_filter_object_list.diff makes it so that get_taxonomies('', 'names')
 also returns a numeric array.

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


More information about the wp-trac mailing list