[wp-trac] [WordPress Trac] #8758: Smilies cause comment moderation

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 30 15:49:34 GMT 2008

#8758: Smilies cause comment moderation
 Reporter:  cimddwc       |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  2.7.1
Component:  Comments      |     Version:  2.7  
 Severity:  normal        |    Keywords:       
 Due to the new (in WP 2.7) use of `apply_filters('comment_text',
 $comment)` in `function check_comment` in wp-includes/comment.php, smilies
 in comments get expanded into their URLs and counted as external links -
 and then compared against the option comment_max_links. This of course
 causes legitimate comments that just have "too many" smilies to be
 unnecessarily put into moderation.

 I don't know why this apply_filters call was added, but I suggest removing
 it (or somehow treating internal/smilie links differently) unless there
 are other good reasons for keeping it...

Ticket URL: <http://trac.wordpress.org/ticket/8758>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list