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.