WordPress.org

Support

Support » How-To and Troubleshooting » Link HREF attribute being stripped

Link HREF attribute being stripped

  • kabitzin
    Member

    @kabitzin

    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="http://whatever.com">LINK</a>

    It always becomes the non-working link:

    <a>LINK</a>

    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 http://www.seaslugteam.com and I am running WP 2.2.2 at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chris_K
    Member

    @handysolo

    What happens when you disable all plugins and try to leave a link in a comment?

    kabitzin
    Member

    @kabitzin

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

    kabitzin
    Member

    @kabitzin

    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.