[wp-trac] Re: [WordPress Trac] #8872: post_type ignored when it shouldn't be

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 18 13:13:59 GMT 2009


#8872: post_type ignored when it shouldn't be
-----------------------------+----------------------------------------------
 Reporter:  filosofo         |        Owner:  anonymous
     Type:  defect (bug)     |       Status:  new      
 Priority:  normal           |    Milestone:  2.8      
Component:  General          |      Version:  2.8      
 Severity:  normal           |   Resolution:           
 Keywords:  post_type query  |  
-----------------------------+----------------------------------------------
Comment (by Denis-de-Bernardy):

 In the meanwhile, you can add a temporary filter to the query clause for
 the rare cases where this is needed. Use str_replace to strip out the AND
 post_type = post.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8872#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list