Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#8758 closed defect (bug) (duplicate)

Smilies cause comment moderation

Reported by: cimddwc's profile cimddwc Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Comments Keywords:
Focuses: Cc:

Description

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...

Change History (1)

#1 @ryan
15 years ago

  • Milestone 2.7.1 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #8627

Note: See TracTickets for help on using tickets.