WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2010 09:49:56 PM (12 years ago)
Author:
ryan
Message:

make *_option(), *_transient() functions consistently expect unslashed data. Props Denis-de-Bernardy. see #12416

File:
1 edited

Legend:

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

    r13468 r13673  
    24422442        case 'siteurl':
    24432443        case 'home':
    2444             $value = stripslashes($value);
    2445             $value = esc_url($value);
     2444            $value = esc_url_raw($value);
    24462445            break;
    24472446        default :
Note: See TracChangeset for help on using the changeset viewer.