WordPress.org

Ready to get started?Download WordPress

Forums

Link HREF attribute being stripped (4 posts)

  1. kabitzin
    Member
    Posted 6 years ago #

    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.

  2. Chris_K
    Member
    Posted 6 years ago #

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

  3. kabitzin
    Member
    Posted 6 years ago #

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

  4. kabitzin
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic