[wp-trac] [WordPress Trac] #15995: query is separating post_type 'post' and from custom post_types

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 27 13:01:14 UTC 2010


#15995: query is separating post_type 'post' and from custom post_types
-------------------------------+------------------------------
 Reporter:  bowstreet          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Post Types         |     Version:  3.0.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by dd32):

 * keywords:  query, sort, post_type, custom, post => reporter-feedback


Comment:

 This is working as I'd expect..

 {{{
 post - AAA
 note - BBB
 post - CCC
 }}}

 Can you add `var_dump($wp_query);` after your query_posts call, save the
 output to a file and attach it here? It'll help understand how/why it may
 be occurring.

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


More information about the wp-trac mailing list