Changeset 1964 for trunk/wp-includes/vars.php
- Timestamp:
- 12/16/2004 02:57:05 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/vars.php
r1952 r1964 92 92 ); 93 93 $wp_gecko_correction['in'] = array( 94 '/\ â/', '/\â/', '/\â/', '/\â/',95 '/\ â¢/', '/\â/', '/\â/', '/\Ω/',96 '/\ β/', '/\γ/', '/\θ/', '/\λ/',97 '/\ Ï/', '/\â²/', '/\â³/', '/\â/',98 '/\ â¬/', '/\â/'94 '/\‘/', '/\’/', '/\“/', '/\”/', 95 '/\•/', '/\–/', '/\—/', '/\Ω/', 96 '/\β/', '/\γ/', '/\θ/', '/\λ/', 97 '/\π/', '/\′/', '/\″/', '/\/', 98 '/\€/', '/\ /' 99 99 ); 100 100 $wp_gecko_correction['out'] = array( … … 194 194 add_filter('bloginfo', 'wptexturize'); 195 195 196 // Comments, trackbacks, pingbacks 197 add_filter('pre_comment_author_name', 'strip_tags'); 198 add_filter('pre_comment_author_name', 'trim'); 199 add_filter('pre_comment_author_name', 'wp_specialchars', 30); 200 201 add_filter('pre_comment_author_email', 'trim'); 202 add_filter('pre_comment_author_email', 'sanitize_email'); 203 204 add_filter('pre_comment_author_url', 'strip_tags'); 205 add_filter('pre_comment_author_url', 'trim'); 206 add_filter('pre_comment_author_url', 'clean_url'); 207 208 add_filter('pre_comment_content', 'wp_filter_kses'); 209 add_filter('pre_comment_content', 'format_to_post'); 210 add_filter('pre_comment_content', 'balanceTags', 30); 211 212 // Default filters for these functions 213 add_filter('comment_author', 'wptexturize'); 214 add_filter('comment_author', 'convert_chars'); 215 216 add_filter('comment_email', 'antispambot'); 217 218 add_filter('comment_url', 'clean_url'); 219 220 add_filter('comment_text', 'convert_chars'); 221 add_filter('comment_text', 'make_clickable'); 222 add_filter('comment_text', 'wpautop', 30); 223 add_filter('comment_text', 'convert_smilies', 20); 224 225 add_filter('comment_excerpt', 'convert_chars'); 226 227 // Places to balance tags on input 228 add_filter('content_save_pre', 'balanceTags', 50); 229 add_filter('excerpt_save_pre', 'balanceTags', 50); 230 add_filter('comment_save_pre', 'balanceTags', 50); 231 196 232 ?>
Note: See TracChangeset
for help on using the changeset viewer.