Wrong usage of wp_kses(), errors with JS in footer_output
-
Hi. In file
social-warfare/lib/frontend-output/SWP_Script.php:189
you have code that breaks up the script.So instead of
var swp_ajax_url = "https://domain.com/wp-admin/admin-ajax.php"; var swp_post_id = "1000";
it goesvar swp_ajax_url = "https://domain.com/wp-admin/admin-ajax.php
"
; var swp_post_id ="
1000"
;This leads to JS Parse syntax error and breaks that completely.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Wrong usage of wp_kses(), errors with JS in footer_output’ is closed to new replies.