[wp-trac] [WordPress Trac] #38629: REST API: Allowed public or private WP_Query vars are lost in `prepare_items_query()`
WordPress Trac
noreply at wordpress.org
Wed Nov 9 03:21:39 UTC 2016
#38629: REST API: Allowed public or private WP_Query vars are lost in
`prepare_items_query()`
--------------------------+-----------------------
Reporter: rachelbaker | Owner: joehoyle
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------
Comment (by rmccue):
Replying to [comment:22 jnylen0]:
> @joehoyle it looks like the `rest_query_var-{$key}` filter is still in
trunk after [39162], I think we should remove it here since there's a
cleaner way of doing the same thing.
FWIW, it was a conscious decision from @joehoyle to leave this to avoid
the breaking change on that filter.
@joehoyle Up to you on whether you want to remove it in a follow-up commit
here, but if you do, please do so before beta 3.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38629#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list