Escaping function for htmlentities and ob_get_clean
-
I want to use your plugin on a server that is pretty strict about the code it allows. I ran your plugin through a PHP Code Sniffer and it came up with two errors:
plugins/ajax-load-more-anything/inc/ald-scripts.php
Error: All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found ‘htmlentities’ (WordPress.Security.EscapeOutput.OutputNotEscaped).plugins/ajax-load-more-anything/inc/ald-scripts.php
Error: All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found ‘ob_get_clean’ (WordPress.Security.EscapeOutput.OutputNotEscaped).Is there a way I can edit this so the output is escaped?
Thank you for your support and for the plugin!
- The topic ‘Escaping function for htmlentities and ob_get_clean’ is closed to new replies.