[wp-trac] Re: [WordPress Trac] #5433: Cannot combine category and tag queries in some cases

WordPress Trac wp-trac at lists.automattic.com
Thu May 7 07:47:43 GMT 2009


#5433: Cannot combine category and tag queries in some cases
-------------------------+--------------------------------------------------
 Reporter:  philhassey   |       Owner:  ryan                         
     Type:  enhancement  |      Status:  new                          
 Priority:  high         |   Milestone:  2.8                          
Component:  Taxonomy     |     Version:  2.6                          
 Severity:  normal       |    Keywords:  has-patch tested dev-feedback
-------------------------+--------------------------------------------------

Comment(by josswinn):

 Replying to [comment:26 DD32]:
 > >  http://learninglab.lincoln.ac.uk/wptest/?cat=world&tag=tag4+tag2
 doesn't work.
 >
 > Not surprised, Because you have nothing that matches that.
 >
 >
 http://learninglab.lincoln.ac.uk/wptest/?category_name=world&tag=tag2,tag4
 works.
 >
 > cat accepts Cat ID's only,not names.
 >
 > tag2+tag4 means something tagged as BOTH tag2 and tag4. tag2,tag4 means
 tagged EITHER tag2 OR tag4

 Thanks. This clears up my misunderstanding of the required URL syntax.

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


More information about the wp-trac mailing list