fix public.js not included when only shortcode is used
This commit is contained in:
committed by
Pavel Dohnal
parent
6f20a402f6
commit
d70c6ce453
@ -89,7 +89,7 @@ class Widget extends \WP_Widget {
|
||||
}
|
||||
|
||||
function setupDependencies() {
|
||||
if(!is_active_widget(false, false, $this->id_base, true)) return;
|
||||
if(wp_script_is('mailpoet_public', 'enqueued')) return;
|
||||
|
||||
wp_enqueue_style(
|
||||
'mailpoet_public',
|
||||
|
Reference in New Issue
Block a user