remove_slashes was broken.

git-svn-id: https://develop.svn.wordpress.org/trunk@1226 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-05-05 06:47:20 +00:00
parent 0057af0da8
commit ef353e438a
3 changed files with 0 additions and 9 deletions

View File

@ -1296,10 +1296,6 @@ function rewrite_rules($matches = '', $permalink_structure = '') {
return $rewrite;
}
function remove_slashes($string) {
return stripslashes(stripslashes($string));
}
function get_posts($args) {
global $wpdb, $tableposts;
parse_str($args, $r);

View File

@ -1,23 +1,19 @@
<?php
// Default filters for these functions
add_filter('comment_author', 'remove_slashes', 5);
add_filter('comment_author', 'wptexturize');
add_filter('comment_author', 'convert_chars');
add_filter('comment_email', 'remove_slashes', 5);
add_filter('comment_email', 'antispambot');
add_filter('comment_url', 'clean_url');
add_filter('comment_text', 'remove_slashes', 5);
add_filter('comment_text', 'convert_chars');
add_filter('comment_text', 'make_clickable');
add_filter('comment_text', 'wpautop', 30);
add_filter('comment_text', 'balanceTags');
add_filter('comment_text', 'convert_smilies', 20);
add_filter('comment_excerpt', 'remove_slashes', 5);
add_filter('comment_excerpt', 'convert_chars');
function clean_url($url) {

View File

@ -10,7 +10,6 @@ add_filter('the_content', 'convert_smilies');
add_filter('the_content', 'convert_chars');
add_filter('the_content', 'wpautop');
add_filter('the_excerpt', 'remove_slashes', 5);
add_filter('the_excerpt', 'convert_smilies');
add_filter('the_excerpt', 'convert_chars');
add_filter('the_excerpt', 'wpautop');