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

WordPress Trac noreply at wordpress.org
Tue Dec 20 01:26:22 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):

 * keywords:  has-patch commit => has-patch


Comment:

 Replying to [comment:4 dd32]:
 > The documentation should be updated to both reflect the doc standard and
 also correct variable naming. The description adequately describes the
 content of the variable, no need to append `_obj` to it.

 This is fine, but updating only the terms docblock leaves the code in an
 inconsistent state with the other 3 filters that do the same thing for
 other object types.  Updated the rest also in [attachment:39300.3.diff].

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


More information about the wp-trac mailing list