mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
remove_slashes was broken.
git-svn-id: https://develop.svn.wordpress.org/trunk@1226 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user