Changeset 11023 for trunk/wp-includes/formatting.php
- Timestamp:
- 04/20/2009 10:02:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r11013 r11023 1981 1981 1982 1982 if ('' == $url) return $url; 1983 $url = preg_replace('|[^a-z0-9-~+_.?#=!&;,/:%@$ *\'()\\x80-\\xff]|i', '', $url);1983 $url = preg_replace('|[^a-z0-9-~+_.?#=!&;,/:%@$\|*\'()\\x80-\\xff]|i', '', $url); 1984 1984 $strip = array('%0d', '%0a'); 1985 1985 $url = str_replace($strip, '', $url);
Note: See TracChangeset
for help on using the changeset viewer.