Support » Plugins » [Plugin: WP Captcha-Free] html validation of plugin code

  • Resolved JEDs

    (@jeds)


    I am using the Firefox validator extension, which shows errors from installing this plugin. I have fixed the errors by editing captcha-free.php lines 96-97 to be:

    <div><input type="hidden" id="captchafree" name="captchafree" value="" /></div>
    <noscript><p><strong>Please note: JavaScript is required to post comments.</strong></p></noscript><p><small> <a href="http://wordpresssupplies.com/wordpress-plugins/captcha-free/">Spam protection by WP Captcha-Free</a></small></p>

    I would be interested to know if this will impair functionality of the plugin, and also if anyone has a better idea.

    -JEDs

    http://wordpress.org/extend/plugins/wp-captcha-free/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter JEDs

    (@jeds)

    there is also a validation error caused by the comment_form hook I have not been able to fix:

    <input type="hidden" id="_wp_unfiltered_html_comment" name="_wp_unfiltered_html_comment" value="fd379d28e5" /></form>

    error:
    The mentioned element (“input”) is not allowed to appear in the context in which you’ve placed it, the other mention elements (“p” “h1-6” “div” “pre” “address” “fieldset” “ins” “del”) are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element or possibly that you’ve forgotten to close a previous element.

    I do not see a previous element that is not closed.

    -JEDs

    Thread Starter JEDs

    (@jeds)

    update to my last post, that error only occurs when viewing the site while logged in, so is not an issue to me.

    Maybe for someone else.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Captcha-Free] html validation of plugin code’ is closed to new replies.