[wp-trac] [WordPress Trac] #39122: REST API: Add Term Meta Unit Test Coverage
WordPress Trac
noreply at wordpress.org
Tue Oct 16 01:47:49 UTC 2018
#39122: REST API: Add Term Meta Unit Test Coverage
------------------------------+-------------------------
Reporter: timmydcrawford | Owner: kadamwhite
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9.9
Component: REST API | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-------------------------
Comment (by adamsilverstein):
@SergeyBiryukov - 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-tags-controller.php`. In the `tearDown` function we can
use `unregister_meta` to remove these and the fixture would not need to
change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39122#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list