WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
11/11/2011 08:14:42 PM (10 years ago)
Author:
Azuaron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16330, comment 13

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