[wp-trac] [WordPress Trac] #23788: get_posts(array('post_type' => 'any')) Should include custom post types in result

WordPress Trac noreply at wordpress.org
Fri Mar 15 15:10:54 UTC 2013


#23788: get_posts(array('post_type' => 'any')) Should include custom post types in
result
-------------------------------+------------------------------
 Reporter:  keendev            |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Post Types         |     Version:  3.5.1
 Severity:  minor              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => reporter-feedback


Comment:

 > Are custom post types automatically ignored when using 'any'?

 No. Could you provide your post type registration code?

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


More information about the wp-trac mailing list