XSS: Cross Site Scripting in POST body
-
Hello. The code below is meant to remove metadata that the WPBakery Page Builder plugin adds to my site HTML. WordFence “Blocked for XSS: Cross Site Scripting in POST body”
The code is intended to be placed into the functions.php file but I put the code into my Code Snippets plugin so the code survives after changing the theme.
Can you please advise if you think the WordFence block was a false positive?
The code is:
add_action('wp_head', 'myoverride', 1); function myoverride() { if ( class_exists( 'Vc_Manager' ) ) { remove_action('wp_head', array(visual_composer(), 'addMetaData')); } }
Thank You
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘XSS: Cross Site Scripting in POST body’ is closed to new replies.