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
@kkmuffme it's not about die ( 'world' ), you get the error because of echo 'example'; not being escaped (and likely 'bar' as well). I don't think it's a bug.
@meevly Sorry, but that's not true. example and bar are hard-coded strings and don't need to be escaped.
I suspect the problem is with the ternary, but this will need further investigation. If I remember correctly, there are a number of other issues open about ternaries and output escaping.
Getting WordPress.Security.EscapeOutput.OutputNotEscaped for following code:
while using
die( 'world' );
standalone, does not produce this error.The text was updated successfully, but these errors were encountered: