Commit d62a145
Packages and Tools: Ensure proper flags are used with json_encode() (#46092)
This is a best-effort application of proper flags for `json_encode()`
and `wp_json_encode()`.
It also includes some cleanup of PHP 5.2 compatibility
(`JSON.parse(decodeURIComponent())`), which was a workaround for when
the flags we now use did not exist.
---------
Co-authored-by: Brad Jorsch <[email protected]>
Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/19897898313
Upstream-Ref: Automattic/jetpack@12105b21 parent 7cfe2db commit d62a145
1 file changed
+4
-4
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments