[wp-trac] [WordPress Trac] #14935: Taxonomy Permalinks Broken

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 24 00:04:11 UTC 2010


#14935: Taxonomy Permalinks Broken
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:  scribu  
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  3.1     
Component:  Taxonomy      |     Version:  3.1     
 Severity:  normal        |    Keywords:          
--------------------------+-------------------------------------------------

Comment(by scribu):

 This is the SQL generated by the 3.0 branch:

 {{{
 SELECT SQL_CALC_FOUND_ROWS wp_posts . *
 FROM wp_posts
 WHERE 1=1
 AND wp_posts.ID
 IN ( 42447 )
 AND wp_posts.post_type
 IN (
 'post', 'page', 'attachment'
 )
 AND (
 wp_posts.post_status = 'publish'
 OR wp_posts.post_author =1
 AND wp_posts.post_status = 'private'
 )
 ORDER BY wp_posts.post_date DESC
 LIMIT 0 , 10
 }}}

 and this is in trunk:

 {{{
 SELECT SQL_CALC_FOUND_ROWS wp_posts . *
 FROM wp_posts
 WHERE 1 =1
 AND wp_posts.ID
 IN ( 42447 )
 AND wp_posts.post_type
 IN (
 'post', 'page', 'attachment'
 )
 AND (
 wp_posts.post_status = 'publish'
 OR wp_posts.post_status = 'private'
 )
 ORDER BY wp_posts.post_date DESC
 LIMIT 0 , 10
 }}}

 neither of which work with the Matt's Community Tags plugin out of the
 box. This leads me to believe that Matt has some additional code running
 on his site, which doesn't work in trunk, for some reason.

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


More information about the wp-trac mailing list