[wp-trac] [WordPress Trac] #39122: REST API: Add Term Meta Unit Test Coverage

WordPress Trac noreply at wordpress.org
Thu Oct 18 07:46:40 UTC 2018

#39122: REST API: Add Term Meta Unit Test Coverage
 Reporter:  timmydcrawford    |       Owner:  kadamwhite
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  4.9.9
Component:  REST API          |     Version:  4.7
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
Changes (by SergeyBiryukov):

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


 Replying to [comment:18 adamsilverstein]:
 > in r43713 the wp-api-generated.js file is changed because of leftover
 meta fields set up with `register_meta` in the `setUp` function of `rest-

 Somehow I get different results when running `grunt phpunit:restapi-
 jsclient` vs. `phpunit --group restapi`: the latter includes these extra
 keys, the former does not.

 Noticed after @atimmer pointed out that running `grunt prerelease` leads
 to a modified `wp-api-generated.js` file (in trunk and both 4.9 and 5.0

 Reopening for investigation.

Ticket URL: <https://core.trac.wordpress.org/ticket/39122#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list