• Hi,

    the debug bar js is injected twice, one time in the main plugin code and another one in the debug_bar_js class. The second is wrong and does not declare the jquery dependency.

    See the line

    wp_enqueue_script( ‘debug-bar-js’…

    in the file

    class-debug-bar-js.php

    Thank you, Stefano Lissa.

Viewing 1 replies (of 1 total)
  • Plugin Author Konstantin Obenland

    (@obenland)

    Thanks for the report Stefano!

    Debug Bar actually uses two scripts that are fairly similarly named, debug-bar.js and debug-bar-js.js. Are those the two that you see there?

Viewing 1 replies (of 1 total)
  • The topic ‘Double JavaScript injection’ is closed to new replies.