JS conflict
-
Hi guys,
I am testing this plugin and run into a JS issue.
In your plugin’s
frontendScriptsAndCSS()PHP function you are enqueuing aui.jsfile and outputting localized script ofwpobject. Please, rename thewpboth inwp_localize_script()function call and also inui.jsfile as now it overrides the WordPress nativewpJS object that is called out when a page builder plugin is used, for example.It is always a good practice to name a custom JS variables/object some more plugin-specific. What about
PDCwp?Thank you!
Regards,
Oliver
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘JS conflict’ is closed to new replies.