# of external links is not properly counted / extensible
|Reported by:||hakre||Owned by:|
A base feature of wordpress comment/discussion option is to put a comment into moderation if it contains more than x external links (comment_max_links option).
This functionality is broken because the number of external links (as announced in the code) is not properly calcualted.
For example, relative links as well as links to the same page are calculated.
To Fix this issue, it could be argumented that not the number of external links should be measured but only the number of links.
This argumentation comes with the price that the motivation of this option is undermined. The motivation is to count external links because only external links are used in link spam. Link spam is done by spamming commments.
Even when paying that price (and rendering the option pretty useless so to force users to use third-party tools), a bit problem is, that a plugin can not hook into the current implementation because the call to the comment_max_links_url filter does not pass the comment text.