Make WordPress Core

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


Ignore:
Timestamp:
11/11/2011 08:16:33 PM (13 years ago)
Author:
Azuaron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16330, comment 13

    v1 v2  
    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