[wp-trac] [WordPress Trac] #42762: rest_{$this->post_type}_query filter wrong place
WordPress Trac
noreply at wordpress.org
Sun Jan 3 02:37:38 UTC 2021
#42762: rest_{$this->post_type}_query filter wrong place
-----------------------------+--------------------------------
Reporter: Krstarica | Owner: TimothyBlynJacobs
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.7
Component: REST API | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch early | Focuses:
-----------------------------+--------------------------------
Changes (by TimothyBlynJacobs):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"49923" 49923]:
{{{
#!CommitTicketReference repository="" revision="49923"
REST API: Move the `WP_Query` args filter after the `tax_query` is setup.
This ensures that the entire list of `WP_Query` args are filterable in the
posts controller.
Props Krstarica, TimothyBlynJacobs.
Fixes #42762.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42762#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list