[wp-trac] Re: [WordPress Trac] #8731: Taxonomies set $post_status_join = true seems unnecessarily

WordPress Trac wp-trac at lists.automattic.com
Tue May 19 04:07:57 GMT 2009


#8731: Taxonomies set $post_status_join = true seems unnecessarily
--------------------------+-------------------------------------------------
 Reporter:  bkrausz       |       Owner:  ryan     
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  Taxonomy      |     Version:  2.7      
 Severity:  major         |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by gortsleigh):

 I can't come up with a good explanation for this join.  If I "reverse" the
 join as I had mentioned above, I will get multiple rows of duplicate posts
 for posts that have attachments, due to the absence of a GROUP BY clause.
 Not useful, with or without GROUP BY.  With the join unchanged, I get zero
 results even when there are posts with attachments.  This still looks like
 a bug to me, and I vote for going with my original patch.

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


More information about the wp-trac mailing list