Make WordPress Core

Changeset 1226


Ignore:
Timestamp:
05/05/2004 06:47:20 AM (20 years ago)
Author:
saxmatt
Message:

remove_slashes was broken.

Location:
trunk/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r1220 r1226  
    12971297}
    12981298
    1299 function remove_slashes($string) {
    1300     return stripslashes(stripslashes($string));
    1301 }
    1302 
    13031299function get_posts($args) {
    13041300    global $wpdb, $tableposts;
  • trunk/wp-includes/template-functions-comment.php

    r1224 r1226  
    22
    33// Default filters for these functions
    4 add_filter('comment_author', 'remove_slashes', 5);
    54add_filter('comment_author', 'wptexturize');
    65add_filter('comment_author', 'convert_chars');
    76
    8 add_filter('comment_email', 'remove_slashes', 5);
    97add_filter('comment_email', 'antispambot');
    108
    119add_filter('comment_url', 'clean_url');
    1210
    13 add_filter('comment_text', 'remove_slashes', 5);
    1411add_filter('comment_text', 'convert_chars');
    1512add_filter('comment_text', 'make_clickable');
     
    1815add_filter('comment_text', 'convert_smilies', 20);
    1916
    20 add_filter('comment_excerpt', 'remove_slashes', 5);
    2117add_filter('comment_excerpt', 'convert_chars');
    2218
  • trunk/wp-includes/template-functions-post.php

    r1203 r1226  
    1111add_filter('the_content', 'wpautop');
    1212
    13 add_filter('the_excerpt', 'remove_slashes', 5);
    1413add_filter('the_excerpt', 'convert_smilies');
    1514add_filter('the_excerpt', 'convert_chars');
Note: See TracChangeset for help on using the changeset viewer.