Really Simple Security adds a data-rsssl=1 attribute to the page source. This makes it easy to check if the Mixed content fixer is active. This is necessary because sometimes other plugins block the Mixed content fixer. If this comment does not appear, you know there is a conflict.
Some users have asked us how to remove this comment, and the plugin contains a filter that makes it possible to remove this attribute. Please note: the automatic detection of plugin conflicts will not work if the comment is removed from the source code.
Navigate to your active theme’s functions.php file (/wp-content/themes/my-theme/), and open it in a text editor.
Add the following code:
add_filter("rsssl_fixer_output", "rsssl_comment_remover", 10, 1);
function rsssl_comment_remover($buffer){
//replace the comment with empty string
$buffer = str_replace('data-rsssl=1', "", $buffer);
return $buffer;
}
Don’t forget to clear your cache to see the result!