Make WordPress Core


Ignore:
Timestamp:
10/11/2004 10:07:09 PM (22 years ago)
Author:
saxmatt
Message:

Move balanceTags into filters.

File:
1 edited

Legend:

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

    r1768 r1781  
    1212add_filter('comment_text', 'make_clickable');
    1313add_filter('comment_text', 'wpautop', 30);
    14 add_filter('comment_text', 'balanceTags');
     14add_filter('comment_text', 'balanceTags', 50);
    1515add_filter('comment_text', 'convert_smilies', 20);
    1616
    1717add_filter('comment_excerpt', 'convert_chars');
     18
     19// Places to balance tags on input
     20add_filter('post_comment_text', 'balanceTags', 50);
     21add_filter('content_save_pre', 'balanceTags', 50);
     22add_filter('excerpt_save_pre', 'balanceTags', 50);
     23add_filter('comment_save_pre', 'balanceTags', 50);
    1824
    1925function comments_template() {
Note: See TracChangeset for help on using the changeset viewer.