Make WordPress Core


Ignore:
Timestamp:
09/11/2007 08:24:42 PM (19 years ago)
Author:
ryan
Message:

Fix option sanitization slashing. fixes #4949 for 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/functions.php

    r5830 r6083  
    311311
    312312        $safe_option_name = $wpdb->escape($option_name);
     313        $newvalue = sanitize_option($option_name, $newvalue);
    313314
    314315        if ( is_string($newvalue) )
Note: See TracChangeset for help on using the changeset viewer.