Incorrect Use of wp_add_inline_script in Releva.nz Plugin
-
Hello,
I encountered an issue with the Releva.nz plugin related to the improper use of the
wp_add_inline_script
function. The error message is as follows:Function wp_add_inline_script was called incorrectly. <script>-Schlagw?rter nicht an wp_add_inline_script() weitergeben. (This message was added in version 4.5.0.) wp_add_inline_script() wp-includes/functions.wp-scripts.php:142 Relevatracking_Public->addTrackingCode() wp-content/plugins/releva-nz/public/class-relevatracking-public.php:730 Relevatracking_Public->retargeting_other() wp-content/plugins/releva-nz/public/class-relevatracking-public.php:573 Relevatracking_Public->relevatracking() wp-content/plugins/releva-nz/public/class-relevatracking-public.php:459 do_action('wp_footer') wp-includes/plugin.php:517 wp_footer() wp-includes/general-template.php:3068 load_template('wp-content/themes/storefront/footer.php') wp-includes/template.php:790 locate_template() wp-includes/template.php:725 get_footer() wp-includes/general-template.php:92
The issue seems to be that
<script>
tags are being passed to thewp_add_inline_script
function, which is not allowed. This misuse causes the function to be called incorrectly.Could you please look into this and provide a fix or guidance on how to resolve this issue?
Thank you for your assistance.
Best regards,
Cedus
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.