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

WordPress Trac noreply at wordpress.org
Fri Dec 16 04:12:17 UTC 2016


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

 * owner:   => jnylen0
 * status:  new => accepted


Comment:

 Thanks for the report and fix, and sorry for the bug :)

 Let's just change the quotes here, not the inline documentation.  If we
 make changes to this docblock, then we need to make the same changes to
 the other three ([https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/rest-api/endpoints/class-wp-rest-posts-
 controller.php?rev=39604&marks=2158-2159#L2146 posts] and
 [https://core.trac.wordpress.org/changeset/39223 users and comments]).
 The `_obj` suffix is also useful to indicate that the filter callback gets
 the full post type or taxonomy object, not just the name string.

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


More information about the wp-trac mailing list