WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #27421, comment 3


Ignore:
Timestamp:
03/16/2014 07:54:01 AM (8 years ago)
Author:
Denis-de-Bernardy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27421, comment 3

    initial v1  
    66work properly, meaning returning `$data` in each case irrespective of whether it's a scalar, a string, an array, an object, or a combination of the latter.
    77
    8 #18322 is more about a long term thing which, frankly, I don't expect to see fixed any time soon.
     8#18322 is more about a long term thing which, frankly, I don't expect to see fixed any time soon. We need wp_slash() to mirror wp_unslash() in the meanwhile, meaning wp_slash() must be capable of slashing objects.