Changeset 16207
- Timestamp:
- 11/05/2010 03:29:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r16154 r16207 1769 1769 1770 1770 // Test for invalid characters 1771 $sub = preg_replace( '/ ^[^a-z0-9-]+$/i', '', $sub );1771 $sub = preg_replace( '/[^a-z0-9-]+/i', '', $sub ); 1772 1772 1773 1773 // If there's anything left, add it to the valid subs
Note: See TracChangeset
for help on using the changeset viewer.