[wp-trac] [WordPress Trac] #12287: Bug with : Query Posts, Post status and Custom Taxonomy

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 19 20:40:58 UTC 2010


#12287: Bug with : Query Posts, Post status and Custom Taxonomy
---------------------------+------------------------------------------------
 Reporter:  momo360modena  |       Owner:  ryan
     Type:  defect (bug)   |      Status:  new 
 Priority:  normal         |   Milestone:  3.0 
Component:  Query          |     Version:      
 Severity:  normal         |    Keywords:      
---------------------------+------------------------------------------------

Comment(by momo360modena):

 I add this line temporary:

 {{{
 if ( !isset($q['post_status']) || empty($q['post_status']) )
     $q['post_status'] = 'publish';
 }}}

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


More information about the wp-trac mailing list