Moderation by link count problems (1 post)

  1. Andrey "Rarst" Savchenko
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 7 years ago by Andrey "Rarst" Savchenko
  • This topic is not resolved
  • WordPress version: 2.7


No tags yet.