[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 20:27:11 UTC 2011


#18562: WP_Query class ignores all arguments in custom post type
--------------------------+----------------------
 Reporter:  arsalkeen     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.2.1
 Severity:  critical      |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------

Comment (by arsalkeen):

 hmmm... I guess the filter approach should work. I myself was trying this
 as it made sense the default query was building up before my custom one
 and hence a 404, however I was unable to find the proper filter/action
 hook for this. And one more thing, using this approach, I will have to
 place my add_filter() call in the functions.php right...??? I am not sure
 that I am comfortable with that.

 Anyways... will try this in the morning... its 1:25 AM here and I am
 dizzy... its eid holidays here :) I hope it does work :)

 Thanks in advance everyone...

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


More information about the wp-trac mailing list