[wp-trac] [WordPress Trac] #35658: Provide additional data for registered meta through register_meta()
WordPress Trac
noreply at wordpress.org
Tue Jul 5 06:45:55 UTC 2016
#35658: Provide additional data for registered meta through register_meta()
-------------------------------------------------+-------------------------
Reporter: jeremyfelt | Owner: helen
Type: task (blessed) | Status: accepted
Priority: high | Milestone: 4.6
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-testing has- | Focuses:
patch rest-api needs-dev-note |
-------------------------------------------------+-------------------------
Comment (by sc0ttkclark):
I've added tests for unregister_meta_key(), get_registered_meta_keys(),
and get_registered_metadata()
See patch here:
https://core.trac.wordpress.org/attachment/ticket/35658/37924-tests.diff
Props to @ericlewis for the initial test cases from our previous work
together on the older patches. I was able to get a really good start based
on that, then built out the rest of the test coverage.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35658#comment:90>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list