You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$xml_safe'.
ERROR
WordPress.Security.EscapeOutput.OutputNotEscaped
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wp_kses_no_null'.
Why? And what, more precisely, am I supposed to use here ...? 🤔
The same thing applies when I create a concatenated string containing HTML for output like:
$html = '<div>This and that</div>';
$html .= '<p>Here is more output</p>';
echo $html;
This will also generate "security warnings" ...
The text was updated successfully, but these errors were encountered:
Sorry about nagging about this, but I quite often fail to see how this "escaping output" thing is supposed to work in an actual scenario.
This generates warning to the effect of
Why? And what, more precisely, am I supposed to use here ...? 🤔
The same thing applies when I create a concatenated string containing HTML for output like:
This will also generate "security warnings" ...
The text was updated successfully, but these errors were encountered: