[wp-trac] [WordPress Trac] #35476: Allow posts to be filtered before return when `fields` parameter is used with `WP_Query`
WordPress Trac
noreply at wordpress.org
Fri Jan 15 17:26:24 UTC 2016
#35476: Allow posts to be filtered before return when `fields` parameter is used
with `WP_Query`
-------------------------------------------------+-------------------------
Reporter: tlovett1 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Query | Review
Severity: normal | Version: trunk
Keywords: dev-feedback has-patch needs-unit- | Resolution:
tests needs-docs | Focuses:
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):
* keywords: => dev-feedback has-patch needs-unit-tests needs-docs
Comment:
This seems super useful, thanks!
When I installed the patch I got this error (twice) when running phpunit:
`PHP Fatal error: Call-time pass-by-reference has been removed...` (L
3534 & 3534) - looking at the other filters, the ones passing $this by
reference all use `apply_filters_ref_array`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35476#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list