RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-formatting.php,v
retrieving revision 1.52
diff -u -3 -r1.52 functions-formatting.php
|
|
|
|
| 227 | 227 | |
| 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); |
| 233 | 233 | $title = trim($title, '-'); |
| … |
… |
|
| 573 | 573 | return $since; |
| 574 | 574 | } |
| 575 | 575 | |
| 576 | | ?> |
| 577 | | No newline at end of file |
| | 576 | ?> |