[wp-trac] [WordPress Trac] #16824: WP_Query does not accept post_status argument as an array. Codex says it does.

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 23 10:36:26 UTC 2011


#16824: WP_Query does not accept post_status argument as an array. Codex says it
does.
----------------------------------+---------------------
 Reporter:  goto10                |       Owner:
     Type:  enhancement           |      Status:  closed
 Priority:  normal                |   Milestone:  3.2
Component:  Query                 |     Version:  2.9
 Severity:  normal                |  Resolution:  fixed
 Keywords:  needs-docs has-patch  |
----------------------------------+---------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [17689]) Allow WP_Query 'post_status' parameter to accept an array, as
 well as a singular value and comma separated list. Fixes #16824

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


More information about the wp-trac mailing list