Title: Incorrect repeated code in plugin
Last modified: April 22, 2024

---

# Incorrect repeated code in plugin

 *  Resolved [BlackStar](https://wordpress.org/support/users/blackstar1991/)
 * (@blackstar1991)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/incorrect-repeated-code-in-plugin/)
 *     ```wp-block-code
       <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](https://validator.w3.org/#validate_by_input).
   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.
 * ![](https://i0.wp.com/i.ibb.co/G5z59FV/problem.jpg?ssl=1)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [gVectors Support](https://wordpress.org/support/users/gvectorssupport/)
 * (@gvectorssupport)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/incorrect-repeated-code-in-plugin/#post-17717340)
 * 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 [BlackStar](https://wordpress.org/support/users/blackstar1991/)
 * (@blackstar1991)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/incorrect-repeated-code-in-plugin/#post-17717403)
 * 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.

 * ![](https://ps.w.org/wpdiscuz/assets/icon-256x256.png?rev=1076265)
 * [Comments - wpDiscuz](https://wordpress.org/plugins/wpdiscuz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdiscuz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdiscuz/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdiscuz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdiscuz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdiscuz/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [BlackStar](https://wordpress.org/support/users/blackstar1991/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/incorrect-repeated-code-in-plugin/#post-17717403)
 * Status: resolved