Changeset 10460 for branches/2.7/wp-includes/formatting.php
- Timestamp:
- 01/29/2009 05:46:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/formatting.php
r10399 r10460 1931 1931 */ 1932 1932 function tag_escape($tag_name) { 1933 $safe_tag = strtolower( preg_replace(' [^a-zA-Z_:]', '', $tag_name) );1933 $safe_tag = strtolower( preg_replace('/[^a-zA-Z_:]/', '', $tag_name) ); 1934 1934 return apply_filters('tag_escape', $safe_tag, $tag_name); 1935 1935 }
Note: See TracChangeset
for help on using the changeset viewer.