#35790 closed enhancement (duplicate)
Replace PHP serialized by json encoded for options storage
| Reported by: | bastho | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Options, Meta APIs | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript, performance |
Description
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.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hello @bastho, welcome to Trac!
This change was already proposed in #23753 so I'm going to close this ticket as a duplicate.