• Resolved wplove3268

    (@wplove3268)


    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!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Escaping function for htmlentities and ob_get_clean’ is closed to new replies.