• Hello,

    I used this plugin on a site and found that IE8 was displaying what should have been part of an HTML comment in wangguard-admin.php. I just wanted to confirm that there were several instances where the opening <!--[if !IE]> comment wasn’t closed appropriately: <![endif]>. Instead the closing comments should have been coded like this: <![endif]-->.

    Also, there was one instance, which was actually causing the problem, that never had an opening comment. It can be found near the top in this section:

    $nonceAct = $wangguard_NoncePName;
    	$nonceValue = wp_create_nonce( $nonceAct );
    	$nonce_field = '<div style="' .$cssStyle.'"><label for="'.$nonceValue.'">Why you want to register here? (required)</label><br/><input autocomplete="off" tabindex="'.mt_rand(9999,99999).'" type="text" id="' . $fieldID . '" name="' . $nonceValue . '" value="" /></div><strong><![endif]></strong>';
    	echo $nonce_field;

    http://wordpress.org/plugins/wangguard/

  • The topic ‘HTML Comments’ is closed to new replies.