WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18322, comment 1


Ignore:
Timestamp:
08/03/11 20:40:46 (3 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18322, comment 1

    initial v1  
    1 Patch introduces a $wp_magic_quotes global flag, which defaults to on.  wp_magic_quotes() slashes all GPCS if the flag is on. wp_slash() and wp_unslash() also consult this flag.  If on then addslashes() and stripslashes() are performed wp_slash() and wp_unslash(), respectively.  If off then they simply return the data without adding or stripping. 
     1Patch introduces a $wp_magic_quotes global flag, which defaults to on.  wp_magic_quotes() slashes all GPCS if the flag is on. wp_slash() and wp_unslash() also consult this flag.  If on then addslashes() and stripslashes() are performed by wp_slash() and wp_unslash(), respectively.  If off then they simply return the data without adding or stripping.