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

WordPress Trac noreply at wordpress.org
Mon Jul 29 04:19:14 UTC 2013


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

 * keywords:  dev-feedback reporter-feedback => reporter-feedback
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Just tested on trunk, pulls in your custom post type just fine using
 `'post_type' => 'any'`. Your problem may lie elsewhere, either with
 improper usage of meta fields or a plugin as Drew suggested.

 Unable to reproduce bug, closing as invalid.

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


More information about the wp-trac mailing list