[wp-trac] [WordPress Trac] #14681: # of external links is not properly counted / extensible
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 24 11:26:21 UTC 2010
#14681: # of external links is not properly counted / extensible
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0.1
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
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'' [http://codex.wordpress.org/Option_Reference
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14681>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list