[wp-trac] [WordPress Trac] #35658: Provide additional data for registered meta through register_meta()
WordPress Trac
noreply at wordpress.org
Wed May 25 20:10:42 UTC 2016
#35658: Provide additional data for registered meta through register_meta()
-------------------------------------------------+-------------------------
Reporter: jeremyfelt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Options, Meta APIs | Review
Severity: normal | Version:
Keywords: needs-unit-tests needs-testing has- | Resolution:
patch rest-api | Focuses:
-------------------------------------------------+-------------------------
Comment (by sc0ttkclark):
Further steps for me are to ensure we have additional tests that cover
what we want for `register_meta()`.
I wonder why we need data_type immediately though if schema could end up
being used in the future? What in core needs data_type and/or schema
besides REST API and Fields API (both future patches)?
You can pass any args you want into `register_meta` so we don't have to be
stuck with anything here yet while things are still ironed out in the
'''implementations''' of the proposed new argument(s).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35658#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list