[wp-trac] [WordPress Trac] #13031: Latest nightly, slight bug in query.php when using post_status = 'any'

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 16 13:36:37 UTC 2010


#13031: Latest nightly, slight bug in query.php when using post_status = 'any'
--------------------------+-------------------------------------------------
 Reporter:  aesqe         |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  normal        |   Milestone:  3.0 
Component:  Query         |     Version:  3.0 
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------
 on line 2205

 {{{
 foreach ( get_post_stati( array('exclude_from_search' => true) ) as
 $status )
 }}}

 shouldn't the value of 'exclude_from_search' be '''false'''?

 i noticed that no attachments are being shown in add media -> gallery, and
 i've tracked the problem to the line above.

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


More information about the wp-trac mailing list