Ticket #26094: 26094.3.patch
| File 26094.3.patch, 602 bytes (added by , 13 years ago) |
|---|
-
src/wp-includes/formatting.php
873 873 */ 874 874 $special_chars = apply_filters( 'sanitize_file_name_chars', $special_chars, $filename_raw ); 875 875 $filename = str_replace($special_chars, '', $filename); 876 $filename = preg_replace('/[\ s-]+/', '-', $filename);876 $filename = preg_replace('/[\r\n\t -]+/', '-', $filename); 877 877 $filename = trim($filename, '.-_'); 878 878 879 879 // Split the filename into a base and extension[s]
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)