Opened 17 years ago
Closed 17 years ago
#8758 closed defect (bug) (duplicate)
Smilies cause comment moderation
| Reported by: |
|
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)
Note: See
TracTickets for help on using
tickets.
See #8627