[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:58:42 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  |
-------------------------------+------------------------------

Comment (by bowstreet):

 This is weird, I have two WP's running, one the actual site and one was
 the mirror for testing purpose, I just reset the DB of the mirror and it
 is ordering fine there. I think there is something in the backend that I
 changed which causes the bug, but I don't know exactly where to start
 searching right now.

 Replying to [comment:1 dd32]:
 > 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:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list