Title: Moderation by link count problems
Last modified: August 19, 2016

---

# Moderation by link count problems

 *  [Andrey “Rarst” Savchenko](https://wordpress.org/support/users/rarst/)
 * (@rarst)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/moderation-by-link-count-problems/)
 * I am working on simple plugin that changes behavior of “Hold a comment in the
   queue if it contains X or more links” feature.
 * It seems that comment_text filter is applied on comment content before check 
   which breaks link count in some cases:
 * 1. Smileys are codified and link to image is counted as link.
    2. Plain text 
   links are codified and counted twice – as link code and anchor text.
 * Is this intended or bug?
    Can this check be skipped (doesn’t look like it in 
   the code)? Is it safe to perform alternative check on comment content without
   applying comment_text filter?

The topic ‘Moderation by link count problems’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Andrey “Rarst” Savchenko](https://wordpress.org/support/users/rarst/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/moderation-by-link-count-problems/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
