[wp-trac] [WordPress Trac] #39300: REST API Terms Controller Dynamic Filter Bug

WordPress Trac noreply at wordpress.org
Wed Dec 21 05:33:16 UTC 2016


#39300: REST API Terms Controller Dynamic Filter Bug
------------------------------------------+----------------------
 Reporter:  shazahm1@…                    |       Owner:  jnylen0
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  4.7.1
Component:  REST API                      |     Version:  4.7
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+----------------------
Changes (by pento):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39631"]:
 {{{
 #!CommitTicketReference repository="" revision="39631"
 REST API: Improve the `rest_*_collection_params` filter docs and fix the
 terms filter.

 The `rest_{$taxonomy}_collection_params` filter in 4.7 is incorrectly
 using single quotes instead of double quotes, which means it is not
 working correctly as a dynamic filter. This fixes the quotes around the
 filter name, and also updates the docblocks for the other 3 similar
 filters for better conformance to the documentation standards.

 Merge of [39621] to the 4.7 branch.

 Props shazahm1hotmailcom, JPry, jnylen0.
 Fixes #39300.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39300#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list