Changeset 1226
- Timestamp:
- 05/05/2004 06:47:20 AM (20 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r1220 r1226 1297 1297 } 1298 1298 1299 function remove_slashes($string) {1300 return stripslashes(stripslashes($string));1301 }1302 1303 1299 function get_posts($args) { 1304 1300 global $wpdb, $tableposts; -
trunk/wp-includes/template-functions-comment.php
r1224 r1226 2 2 3 3 // Default filters for these functions 4 add_filter('comment_author', 'remove_slashes', 5);5 4 add_filter('comment_author', 'wptexturize'); 6 5 add_filter('comment_author', 'convert_chars'); 7 6 8 add_filter('comment_email', 'remove_slashes', 5);9 7 add_filter('comment_email', 'antispambot'); 10 8 11 9 add_filter('comment_url', 'clean_url'); 12 10 13 add_filter('comment_text', 'remove_slashes', 5);14 11 add_filter('comment_text', 'convert_chars'); 15 12 add_filter('comment_text', 'make_clickable'); … … 18 15 add_filter('comment_text', 'convert_smilies', 20); 19 16 20 add_filter('comment_excerpt', 'remove_slashes', 5);21 17 add_filter('comment_excerpt', 'convert_chars'); 22 18 -
trunk/wp-includes/template-functions-post.php
r1203 r1226 11 11 add_filter('the_content', 'wpautop'); 12 12 13 add_filter('the_excerpt', 'remove_slashes', 5);14 13 add_filter('the_excerpt', 'convert_smilies'); 15 14 add_filter('the_excerpt', 'convert_chars');
Note: See TracChangeset
for help on using the changeset viewer.