Changeset 3892
- Timestamp:
- 06/19/2006 10:01:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/admin-functions.php
r3821 r3892 1768 1768 $filename = str_replace("$number$ext", ++$number . $ext, $filename); 1769 1769 } 1770 $filename = preg_replace('#\.(?![^.]+$)#', '-', $filename); 1770 $filename = str_replace($ext, '', $filename); 1771 $filename = sanitize_title_with_dashes($filename) . $ext; 1771 1772 } 1772 1773
Note: See TracChangeset
for help on using the changeset viewer.