[wp-trac] [WordPress Trac] #12891: Advanced multi-taxonomy WP_Query()s

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 2 00:20:01 UTC 2010


#12891: Advanced multi-taxonomy WP_Query()s
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  markjaquith         
     Type:  task (blessed)  |      Status:  assigned            
 Priority:  normal          |   Milestone:  3.1                 
Component:  Query           |     Version:  3.0.1               
 Severity:  normal          |    Keywords:  taxonomies has-patch
----------------------------+-----------------------------------------------

Comment(by ramenboy):

 The change in [15613] makes post queries such as get_posts('tag=test') no
 longer filter on tags if the SimpleTags plugin is enabled.

 Steps to reproduce:

  1. Using a fresh WP trunk checkout, create a second post with a tag of
 "test"
  2. Do a print_r(get_posts('tag=test')) from index.php - only one post is
 displayed.
  3. Download and active the SimpleTags plugin from
 http://wordpress.org/extend/plugins/simple-tags/
  4. Reload index.php, both posts are now displayed
  5. The problem goes away if SimpleTags is deactivated or if you roll back
 this change, ie. it exists with "svn up -r 15613" and goes away with "svn
 up -r 15612"

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


More information about the wp-trac mailing list