[wp-trac] [WordPress Trac] #12419: Add intersect & union support in get_(term|tag|category)_link()

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 27 23:29:20 UTC 2010


#12419: Add intersect & union support in get_(term|tag|category)_link()
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:  filosofo
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:  3.1     
Component:  Taxonomy     |     Version:          
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 [http://ryan.boren.me/2007/10/01/taxonomy-intersections-and-unions/
 Taxonomy Intersections and Unions] support has been around since WP 2.3,
 but the get_term_link() functions only work with a single term.

 Examples:

 {{{
 get_tag_link(array('foo', 'bar'), 'or')

 --> http://example.com/tag/foo,bar
 }}}


 {{{
 get_tag_link(array('foo', 'bar'), 'and')

 --> http://example.com/tag/foo+bar
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12419>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list