WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #16330, comment 13


Ignore:
Timestamp:
11/11/11 20:17:42 (2 years ago)
Author:
Azuaron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16330, comment 13

    v2 v3  
    1515465 //Remove line: $filename = str_replace('?','-', $filename); 
    1616466 //Remove line: $filename = str_replace('&','-', $filename); 
    17 467 $filename = preg_replace("/[^a-zA-Z0-9_-\.]/", '-', $filename); //New line 
     17467 $filename = preg_replace("/[^a-zA-Z0-9_\-.]/", '-', $filename); //New line 
    1818}}} 
    1919