Changeset 956 for trunk/wp-includes/functions-formatting.php
- Timestamp:
- 03/01/2004 06:13:32 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-formatting.php
r955 r956 82 82 83 83 function convert_chars($content, $flag='obsolete attribute left there for backwards compatibility') { // html/unicode entities output 84 global $ use_htmltrans, $wp_htmltrans, $wp_htmltranswinuni;84 global $wp_htmltrans, $wp_htmltranswinuni; 85 85 86 86 // removes metadata tags … … 88 88 $content = preg_replace('/<category>(.+?)<\/category>/','',$content); 89 89 90 if ( $use_htmltrans) {90 if (get_settings('use_htmltrans')) { 91 91 // converts lone & characters into & (a.k.a. &) 92 92 $content = preg_replace('/&[^#](?![a-z]*;)/ie', '"&".substr("\0",1)', $content); … … 125 125 */ 126 126 function balanceTags($text, $is_comment = 0) { 127 global $use_balanceTags;128 127 129 if ( $use_balanceTags== 0) {128 if (get_settings('use_balanceTags') == 0) { 130 129 return $text; 131 130 }
Note: See TracChangeset
for help on using the changeset viewer.