]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-customize-setting.php
Wordpress 3.6
[autoinstalls/wordpress.git] / wp-includes / class-wp-customize-setting.php
index dd49f79f2675bf5734b19022baee3162e5aae286..c8542efefa4b65fe4b688b2001fb819929712fe6 100644 (file)
@@ -144,7 +144,7 @@ class WP_Customize_Setting {
         * @return mixed Null if an input isn't valid, otherwise the sanitized value.
         */
        public function sanitize( $value ) {
-               $value = stripslashes_deep( $value );
+               $value = wp_unslash( $value );
                return apply_filters( "customize_sanitize_{$this->id}", $value, $this );
        }