[wp-trac] [WordPress Trac] #52892: Privacy Export Personal Data: JSON encoding failure generates invalid JSON in export file

WordPress Trac noreply at wordpress.org
Tue Mar 23 21:03:00 UTC 2021


#52892: Privacy Export Personal Data: JSON encoding failure generates invalid JSON
in export file
-------------------------------------------------+-------------------------
 Reporter:  hellofromTonya                       |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.8
Component:  Privacy                              |     Version:  5.4
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch has-unit-     |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  dev-feedback => dev-feedback has-patch has-unit-tests


Comment:

 Borrowing from REST
 [https://wordpress.slack.com/archives/C9695RJBW/p1616530232009300 per
 conversation in slack], improved Fix 2 to grab the error message and
 generate a `_doing_it_wrong` error. PR is updated and ready for review.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52892#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list