[wp-trac] [WordPress Trac] #40650: get_pages() should accept 'any' among it's post_stautus arg

WordPress Trac noreply at wordpress.org
Wed May 3 14:42:27 UTC 2017


#40650: get_pages() should accept 'any' among it's post_stautus arg
-------------------------------+-----------------------------
 Reporter:  pbiron             |      Owner:
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.7.4
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 `WP_Query::get_posts()` accepts `'any'` among it's `$post_status`
 `$query_vars` and I think `get_pages()` should do the same.

 I've combed through the 4.7.4 core code and can't find any place where
 this enhancement would break existing code.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40650>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list