WordPress.org

Support

Support » How-To and Troubleshooting » Broken Links in Comments

Broken Links in Comments

  • This is probably something simple, but I’ve searched for hours to no avail. I’m using a custom style with a few plugins, but this same behavior is occurring with the default style and all plugins disabled. WordPress v2.0.3.

    User enters this code in a comment:

    <a href="http://www.testing.com/test.html">Test Link</a>

    This is stored in the database:

    <a href="http://www.testing.com/test.html" rel="nofollow">Test Link</a>

    When viewing comments, this broken HTML is returned:

    <a href="%5C%22http://www.testing.com/test.html%5C%22" rel="nofollow">Test Link</a>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try the WordPress 2.0.3 Tuneup plugin. It should fix your issue.

    Works like a charm. Thank you Nazgul!

    In case anyone else finds this thread I should clarify that the break wasn’t happening when a user posted a link, but when I edited a user’s link after they posted it.

    Apparently it was the “Are you sure you want to make this edit?” dialogue (which the plugin above removes) that was adding the problematic slashes.

    Good follow-up zetetic, thanks…

    Hey, thanks for the help on this – I just came up against the problem today.

    Just out of interest, is this a WP bug? I don’t remember seeing the confirmation ‘Are you sure’ page before 2.0.3

    Has it been resolved in 2.0.4?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Broken Links in Comments’ is closed to new replies.
Skip to toolbar