[wp-trac] [WordPress Trac] #39300: REST API Terms Controller Dynamic Filter Bug
WordPress Trac
noreply at wordpress.org
Thu Dec 15 16:05:15 UTC 2016
#39300: REST API Terms Controller Dynamic Filter Bug
--------------------------+-----------------------------
Reporter: shazahm1@… | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The `rest_{$this->taxonomy}_collection_params` is incorrect. It is wrapped
in single quotes instead of double quotes so the variable can not be
parsed.
Line 977
`return apply_filters( 'rest_{$this->taxonomy}_collection_params',
$query_params, $taxonomy );`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39300>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list