[wp-trac] [WordPress Trac] #18562: WP_Query class ignores all arguments in custom post type

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 1 03:56:41 UTC 2011


#18562: WP_Query class ignores all arguments in custom post type
--------------------------+-----------------------------
 Reporter:  arsalkeen     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2.1
 Severity:  critical      |   Keywords:
--------------------------+-----------------------------
 WP_Query is ignoring all the arguments that I send while instantiating it
 in a custom post type archive page. It works fine when pagination link is
 1, but it completely ignores all the arguments when pagination link is
 /page/2

 However, when I use the same code as a template, it shows everything
 correctly. It only ignores the arguments on the custom post archive page.

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


More information about the wp-trac mailing list