[wp-trac] [WordPress Trac] #12821: Merge get_posts() and get_pages()
WordPress Trac
noreply at wordpress.org
Thu Apr 27 10:25:12 UTC 2023
#12821: Merge get_posts() and get_pages()
-------------------------------------------------+-------------------------
Reporter: mikeschinkel | Owner:
| spacedmonkey
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.3
Component: Posts, Post Types | Version: 3.0
Severity: normal | Resolution:
Keywords: needs-dev-note has-patch has-unit- | Focuses:
tests needs-testing dev-feedback commit | performance
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
Replying to [comment:85 marianne38]:
> @spacedmonkey Yes, the filter on query args is enough (with the
{{{$args}}} received by {{{get_pages()}}} as parameter).
I put together a PR that adds a filter. See [https://github.com/WordPress
/wordpress-develop/pull/4386 #4386].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12821#comment:87>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list