[wp-trac] [WordPress Trac] #35790: Replace PHP serialized by json encoded for options storage
WordPress Trac
noreply at wordpress.org
Tue Feb 9 19:56:02 UTC 2016
#35790: Replace PHP serialized by json encoded for options storage
-------------------------------------+-----------------------------
Reporter: bastho | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Keywords:
Focuses: javascript, performance |
-------------------------------------+-----------------------------
Serialized objects are tricky to exploit out of PHP, so we often need to
convert datas for other languages (mostly JavaScript).
Using json encoding for `wp_options` and `site_options` would be a good
investment for further usages.
The fist step would be to replace old serialized object and convert them
to json or changing `maybe_serialized()` to detect the current encoding of
a string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35790>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list