- File:
-
- 1 edited
-
branches/3.0/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-includes/formatting.php
r17172 r15378 2237 2237 // Replace ampersands and single quotes only when displaying. 2238 2238 if ( 'display' == $_context ) { 2239 $url = wp_kses_normalize_entities( $url ); 2240 $url = str_replace( '&', '&', $url ); 2239 $url = preg_replace('/&([^#])(?![a-z]{2,8};)/', '&$1', $url); 2241 2240 $url = str_replace( "'", ''', $url ); 2242 2241 }
Note: See TracChangeset
for help on using the changeset viewer.