WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24106, comment 8


Ignore:
Timestamp:
01/16/2014 06:04:22 PM (6 years ago)
Author:
devesine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24106, comment 8

    initial v1  
    1 Attached is a unit test for slashing behavior that includes datatype sanctity (compare the StripSlashesDeep test).  As it stands, calling wp_slash followed by wp_unslash causes datatype loss. 
     1Attached [attachment:24106.wp_slash-unittest.diff] is a unit test for slashing behavior that includes datatype sanctity (compare the StripSlashesDeep test).  As it stands, calling wp_slash followed by wp_unslash causes datatype loss. 
    22
    33This makes wp_slash rather unsuitable for use when preparing (for instance) postmeta to pass to add_metadata.