[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
Wed May 25 20:00:58 UTC 2011


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

 * owner:   => ryan


Comment:

 In [18047]:
 {{{
 #!CommitTicketReference repository="" revision="18047"
 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:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list