Changeset 10977 for trunk/wp-includes/formatting.php
- Timestamp:
- 04/17/2009 03:28:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r10973 r10977 677 677 $title = strtolower($title); 678 678 $title = preg_replace('/&.+?;/', '', $title); // kill entities 679 $title = str_replace('.', '-', $title); 679 680 $title = preg_replace('/[^%a-z0-9 _-]/', '', $title); 680 681 $title = preg_replace('/\s+/', '-', $title);
Note: See TracChangeset
for help on using the changeset viewer.