JavaScript/CSS also included if banner not active
-
JavaScript/CSS files of plugin are included in frontend also if banner is not activated in plugin settings.
Suggested fix, add check in
class-frontend.phpline 6 similar to this:add_action('wp_head', function() { if ( ! eucookie_option('enabled') ) { return; } // suggested fix global $euCookieSet; ...Plugin version 3.1.2
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘JavaScript/CSS also included if banner not active’ is closed to new replies.