WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21767, comment 9


Ignore:
Timestamp:
09/02/12 21:17:13 (2 years ago)
Author:
alexkingorg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21767, comment 9

    initial v1  
    11This is in no way limited to JSON data - any time you have strings with backslashes in them and pass them to the `wp_insert_*()` methods, you lose data. This is why it's a bug. 
     2 
     3I don't believe it's possible to test for this data - strings with lots of backslashes are perfectly valid and are not an indicator of slashes having been added or not.