Changeset 1984
- Timestamp:
- 12/20/04 06:35:54 (4 years ago)
- Files:
-
- trunk/wp-includes/functions-formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions-formatting.php
r1980 r1984 228 228 $title = strtolower($title); 229 229 $title = preg_replace('/&.+?;/', '', $title); // kill entities 230 $title = preg_replace('/[^ %a-z0-9 _-]/', '', $title);230 $title = preg_replace('/[^a-z0-9 _-]/', '', $title); 231 231 $title = preg_replace('/\s+/', '-', $title); 232 232 $title = preg_replace('|-+|', '-', $title);
