Changeset 7497 for trunk/wp-includes/formatting.php
- Timestamp:
- 03/24/2008 05:15:28 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r7452 r7497 1183 1183 return apply_filters('attribute_escape', $safe_text, $text); 1184 1184 } 1185 1186 // Escape a HTML tag name 1187 function tag_escape($tag_name) { 1188 $safe_tag = strtolower( preg_replace('[^a-zA-Z_:]', '', $tag_name) ); 1189 return apply_filters('tag_escape', $safe_tag, $tag_name); 1190 } 1191 1185 1192 /** 1186 1193 * Escapes text for SQL LIKE special characters % and _
Note: See TracChangeset
for help on using the changeset viewer.