[wp-trac] [WordPress Trac] #43392: Support associative array type in register_meta()
WordPress Trac
noreply at wordpress.org
Sun Apr 1 13:52:18 UTC 2018
#43392: Support associative array type in register_meta()
--------------------------------+------------------------------
Reporter: diegoliv | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: 4.9.4
Severity: normal | Resolution:
Keywords: close | Focuses: rest-api
--------------------------------+------------------------------
Comment (by ajfleming):
This post by Ryan McCue; [https://journal.rmccue.io/351/the-complex-state-
of-meta-in-the-wordpress-rest-api/ The (Complex) State of Meta in the
WordPress REST API] explains why complex values & serialized data are not
exposed by `register_meta()`.
> The key reason for this is that accepting serialized data is either
lossy or unsafe.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43392#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list