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

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 27 05:53:44 GMT 2008

#8731: Taxonomies set $post_status_join = true seems unnecessarily
 Reporter:  bkrausz       |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  General       |     Version:  2.7      
 Severity:  normal        |    Keywords:           
 Pretty self explanatory.  On line 1964 in wp-includes/query.php
 $post_status_join is set to true if a taxonomy search is done.  This makes
 it impossibly to use a query to limit a taxonomy search to published

 For example, /wp-admin/edit.php?taxonomy=thing&term=thing-1 will return
 revisions regardless of any other parameters, making impossible to
 duplicated the functionality of, say /wp-
 admin/edit.php?category_name=uncategorized, which will only show published

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

More information about the wp-trac mailing list