Make WordPress Core


Ignore:
Timestamp:
08/30/2007 06:13:48 PM (18 years ago)
Author:
markjaquith
Message:

Roll back [5986], [5988], [5989]. We are in a char class, so no escaping needed. Props mdawaffe. see #4873

File:
1 edited

Legend:

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

    r5991 r5993  
    318318        return false;
    319319
    320     $location = preg_replace('|[^a-z0-9-~\+_\.\?#=&;,/:%]|i', '', $location);
     320    $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $location);
    321321    $location = wp_kses_no_null($location);
    322322
Note: See TracChangeset for help on using the changeset viewer.