[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:45:53 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 | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+------------------------------
Comment (by pbiron):
FYI: The patch I've attached is loosely based on how `'any'` is handled in
`WP_Query()::get_posts()`, but since `get_pages()` is implemented very
differently from `WP_Query::get_posts()` is kind of different.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40650#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list