Gravity forms unable to merge
-
Hi Raul,
First and foremost I wish to thank you for upkeeping this longstanding support for this free plugin which actually is better than all other (paid) solutions available today.
My reason for opening this topic is that it I cannot figure what’s going on with the plugin gravity forms. No matter how I configure FVM, ignore all gravity form scripts and even deregister all gravity forms scripts so they do not load at all, when the plugin is activated the scripts will always be double in the generated header.js and footer.js.
By the way the plugin is written the scripts by default do not load deferred and throughout the dom. This is solved by applying the snippets in the following gist (https://gist.github.com/eriteric/5d6ca5969a662339c4b3), yet has no impact on FVM.
When the gravity forms scripts are deregistered and no longer load, still the FVM generated cache is splitted to header.js + footer.js. Only when gravity forms is deactivated does the merging of all scripts go into a single footer.js.
To confirm it wasn’t influenced by other plugins or the theme I set up a clean wordpress env with only the 2 plugins FMV + gravity forms and twentytwenty theme.
Do you know what’s going on here and how we can get gravity forms included into the single footer.js? Or otherwise somehow completely exclude gravity forms from FVM, since apparently just ignoring the scripts isn’t enough?
- The topic ‘Gravity forms unable to merge’ is closed to new replies.