mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Move balanceTags into filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1781 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -11,11 +11,17 @@ add_filter('comment_url', 'clean_url');
|
||||
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', 'balanceTags', 50);
|
||||
add_filter('comment_text', 'convert_smilies', 20);
|
||||
|
||||
add_filter('comment_excerpt', 'convert_chars');
|
||||
|
||||
// Places to balance tags on input
|
||||
add_filter('post_comment_text', 'balanceTags', 50);
|
||||
add_filter('content_save_pre', 'balanceTags', 50);
|
||||
add_filter('excerpt_save_pre', 'balanceTags', 50);
|
||||
add_filter('comment_save_pre', 'balanceTags', 50);
|
||||
|
||||
function comments_template() {
|
||||
global $withcomments, $post, $wpdb, $id, $comment;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user