• Resolved Andry

    (@blackstar1991)


    <input type="hidden" class="wpdiscuz_unique_id" value="14_0" name="wpdiscuz_unique_id">
                                            <input type="hidden" id="_wp_unfiltered_html_comment_disabled" name="_wp_unfiltered_html_comment_disabled" value="873943cf20"><script type="text/javascript">
                                            /* <![CDATA[ */
                                            (function(){if(window===window.parent){document.getElementById('_wp_unfiltered_html_comment_disabled').name='_wp_unfiltered_html_comment';}})();
                                            /* ]]> */

    Hi, I wanted to thank you for the plugin.
    I also wanted to ask if you could rework the structure of this piece of code. This id is repeated many times on the page and does not pass html validation. Can you change it to a data-attribute quality and call the replacement once? Thank you.

    To reproduce the problem, just create a real list of comments and then analyze it with any html validator.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    Hi,

    Sorry for the late response.

    This HTML is not added by the wpDiscuz plugin; it’s being printed by WordPress. You can contact the developers or add the hook code below to your active theme’s functions.php file:

    remove_action( 'comment_form', 'wp_comment_form_unfiltered_html_nonce' );

    However, be aware that you may encounter some issues after adding the code. So you can contact the developers with this question.

    Thread Starter Andry

    (@blackstar1991)

    Thanks, that helped with the JS. My html validator sees an issue with elements… but it’s not a big deal.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incorrect repeated code in plugin’ is closed to new replies.