[wp-trac] [WordPress Trac] #43392: Support 'object' and 'array' types in register_meta()
WordPress Trac
noreply at wordpress.org
Thu Aug 15 17:16:31 UTC 2019
#43392: Support 'object' and 'array' types in register_meta()
-------------------------------------------------+-------------------------
Reporter: diegoliv | Owner:
| TimothyBlynJacobs
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: Options, Meta APIs | Version: 4.9.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests dev- | Focuses: rest-api
feedback commit needs-dev-note |
-------------------------------------------------+-------------------------
Changes (by kadamwhite):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"45807" 45807]:
{{{
#!CommitTicketReference repository="" revision="45807"
REST API: Support 'object' and 'array' types in register_meta() schemas.
Extends meta registration to support complex schema values, mirroring the
functionality in the settings controller.
Error when trying to modify a meta key containing schema-nonconformant
data.
Props @TimothyBlynJacobs, @birgire, @mnelson4, @flixos90.
Fixes #43392.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43392#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list