Damages other plugins inline javascript
-
The plugin https://wordpress.org/plugins/wp-photo-album-plus/ creates inline javascript at the frontend by a call to wp_add_inline_script().
In the page source the result looks like:
<script id="wppa-js-after"> jQuery("body").append(' <div id="wppa-overlay-bg" style="...However on some sites that have the cookie-notice plugin active it is modified into:
<script id="wppa-js-after" class="hu-blocked" type="javascript/blocked" data-script=""\njQuery(\"body\").append(' <div id=\"wppa-overlay-bg\"...Resulting in not working the embedded lightbox implementation anymore.
I, the developer of wp-photo-album-plus, have two questions:
1. Why do you damage other plugins javascript?
2. Is there a setting to prevent this unwanted bahaviour?Here is a link to my plugins users original support topic:
https://wordpress.org/support/topic/lightroom-not-working/
You must be logged in to reply to this topic.