JS/CSS files for deaflip plugin are loaded when not needed.
-
Currently, the JS/CSS files for dearflip are loaded on pages that do not need them. This is because wp_enqueue_script and wp_enqueue_style are run upon initialization, when they should be run upon shortcode usage. Requesting that a change be made in future versions of dflip and dflip pro that only enqueues scripts and styles when they are actually needed.
I can provide a diff file to the dflip team that makes this change.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘JS/CSS files for deaflip plugin are loaded when not needed.’ is closed to new replies.