WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Comment Validation] Plug-in causes XHTML validation failure (2 posts)

  1. smdrager
    Member
    Posted 4 years ago #

    There is currently an error in the code for this plugin, which will cause any web page with it to not validate. The fix is simple:

    In comment-validation.php,

    echo '<link rel="stylesheet" href="';
    bloginfo('wpurl');
    echo '/wp-content/plugins/comment-validation/comment-validation.css"></script>';

    This is a <link> tag closed by a </script> tag. It should be re-written:

    echo '<link rel="stylesheet" href="';
    bloginfo('wpurl');
    echo '/wp-content/plugins/comment-validation/comment-validation.css" />';

    Otherwise, thanks for a nice plug-in!

    http://wordpress.org/extend/plugins/comment-validation/

  2. joern.zaefferer
    Member
    Posted 4 years ago #

    I've released version 0.4 of the plugin, that should fix this problem.

Topic Closed

This topic has been closed to new replies.

About this Topic