WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Comment Validation] Plug-in causes XHTML validation failure

[Plugin: Comment Validation] Plug-in causes XHTML validation failure

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Comment Validation] Plug-in causes XHTML validation failure’ is closed to new replies.
Skip to toolbar