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
Unnecessary, true. But I think it is also good to make such a rule global to avoid having to second guess.
Nevertheless, it shouldn't be too hard to add exceptions to the wp_unslash requirement when the input var is being passed through intval() and boolval().
This code:
generates a "Missing wp_unslash() before sanitization" error.
I can see that making sense before
sanitize_text_field()
, but it seems unnecessary beforeintval()
.The text was updated successfully, but these errors were encountered: