WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Widgets
[resolved] [REQ] Option to disable the output of HTML comments (3 posts)

  1. Daedalon
    Member
    Posted 1 year ago #

    For security and performance reasons we prefer to have no HTML comments created by plugins. Dynamic Widgets 1.5.3 adds this to each and every HTML page on the site:

    <!-- Dynamic Widgets v1.5.3 by QURL - http://www.qurl.nl //-->

    Would be kind enough to make this optional by adding a user setting to not output any HTML comments?

    http://wordpress.org/extend/plugins/dynamic-widgets/

  2. Qurl
    Member
    Plugin Author

    Posted 1 year ago #

    I'll think about it. There are -obviously- also good reasons why that comment is in. In the meantime you can comment out line 10 in ./dynamic-widgets/dynwid_init_worker.php

  3. Daedalon
    Member
    Posted 1 year ago #

    I've found HTML comments useful for debug purposes. It's a bit odd though that in 2012 there are still numerous plugins that force this option. I don't mind it being on by default, as long as it's changeable in an update-safe way.

    Thanks for the workaround. Hopefully the debug option makes it into a release soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.