[wp-trac] [WordPress Trac] #21660: 'p' arg should work with custom post types

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 22 15:28:37 UTC 2012


#21660: 'p' arg should work with custom post types
--------------------------+------------------------------
 Reporter:  batmoo        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by batmoo):

 The workaround is to add {{{'post_type' => 'any'}}} to the query, but
 WP_Query should handle this for us.

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


More information about the wp-trac mailing list