Support » Fixing WordPress » Link HREF attribute being stripped

  • I have noticed recently that when commenters attempt to insert a link in their comments, the href attribute is stripped out of their link tag.

    For instance, if a commenter types in:

    <a href="">LINK</a>

    It always becomes the non-working link:


    Is there a way to stop this from happening? I am not even sure what is causing the attributes to be stripped, considering that the tags themselves are not deleted.

    My site is at and I am running WP 2.2.2 at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • What happens when you disable all plugins and try to leave a link in a comment?

    I just tried it, and the exact same situation (href stripped out) occurred. This was with ALL plugins disabled.

    With all plugins disabled, the problem still occurs for everyone except signed in users (basically just the blog authors). Normal commenters continue to experience comment link attributes being stripped.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link HREF attribute being stripped’ is closed to new replies.