Make WordPress Core


Ignore:
Timestamp:
05/25/2007 02:22:30 AM (17 years ago)
Author:
ryan
Message:

Make sure sanitize_option() is always called when updating options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r5532 r5541  
    315315
    316316    wp_protect_special_option($option_name);
     317
     318    $newvalue = sanitize_option($option_name, $newvalue);
    317319
    318320    if ( is_string($newvalue) )
Note: See TracChangeset for help on using the changeset viewer.