[wp-trac] [WordPress Trac] #52732: 'get_posts' has been waiting for so long to have a hook
WordPress Trac
noreply at wordpress.org
Sun Mar 7 22:15:34 UTC 2021
#52732: 'get_posts' has been waiting for so long to have a hook
-------------------------------+------------------------------
Reporter: ttodua | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: => reporter-feedback
* component: General => Query
Comment:
Hi there, thanks for the patch!
Could you provide a use case that would be easier to achieve with this new
filter than with the existing WP_Query filters, e.g. `pre_get_posts`,
`posts_results`, `the_posts`, and others?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52732#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list