• Resolved roxchou

    (@roxchou)


    At the bottom of every page of our website, W3TC debug info is displayed in the page source even though None of the debug mode is selected. Tried selecting and deselecting, emptying all caches but nothing works.

    In the Debug Mode section, nothing is selected. Is there another setting that I need to change?

    https://www.ads-software.com/plugins/w3-total-cache/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yea i noticed that too.. Two options for ya:

    1. If you turn on minify it gets removed because the minify engine script (not made by w3tc) strips out comments which happens to include the debug info.

    OR

    2. just add this into your functions.php file:

    add_filter( 'w3tc_can_print_comment', function( $w3tc_setting ) { return false; }, 10, 1 );
    Thread Starter roxchou

    (@roxchou)

    Thanks Kimberly. Minify is already enabled. But option 2 did work for me!

    Thread Starter roxchou

    (@roxchou)

    closing topic as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Debug info always showing even though not checked in the general settings’ is closed to new replies.