[wp-trac] Re: [WordPress Trac] #9004: More filtering in get_terms() and wp_generate_tag_cloud()

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 21 19:22:30 GMT 2009


#9004: More filtering in get_terms() and wp_generate_tag_cloud()
--------------------------+-------------------------------------------------
 Reporter:  jhodgdon      |       Owner:  ryan                       
     Type:  defect (bug)  |      Status:  new                        
 Priority:  normal        |   Milestone:  2.8                        
Component:  Taxonomy      |     Version:  2.7                        
 Severity:  normal        |    Keywords:  taxonomy, filter, has-patch
--------------------------+-------------------------------------------------

Comment(by jhodgdon):

 I see your point, but I'm not sure if most plugins will need to convert to
 an array and re-join.

 The one example use so far is in my language plugin, where I just added a
 new field at the end of the string (knowing there was no way the core
 function would ever have my specific calculated field, so no duplication
 is possible). I don't really think plugins would want to remove fields,
 but mostly just add fields, as removing fields would break get_terms()
 most likely (it's used all over the place, and all 4 of its fields are
 probably necessary to have present).

 My plugin may be the only user of this filter anyway. :)

 All of that said, either version is fine with me.

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


More information about the wp-trac mailing list