[wp-trac] [WordPress Trac] #52892: Privacy Export Personal Data: JSON encoding failure generates invalid JSON in export file
WordPress Trac
noreply at wordpress.org
Wed Apr 14 21:27:13 UTC 2021
#52892: Privacy Export Personal Data: JSON encoding failure generates invalid JSON
in export file
---------------------------------------------+-----------------------------
Reporter: hellofromTonya | Owner: hellofromTonya
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Privacy | Version: 5.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------------
Changes (by davidbaumwald):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"50713" 50713]:
{{{
#!CommitTicketReference repository="" revision="50713"
Privacy: Ensure "Export Personal Data" does not generate invalid JSON.
Previously, when exporting personal data, if the JSON encoding of the data
failed, the invalid JSON was still written to `export.json`. This change
captures the JSON encoding failure and adds a notice to the UI.
Props hellofromTonya, jrf, SergeyBiryukov.
Fixes #52892.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52892#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list