No security checks?
-
Hi,
please add some security checks to your
save_post
callbacks. Not doing that is very dangerous.Plus, add a check for
is_multisite() && ms_is_switched()
because you overwrite or delete user data when posts are synchronized in multisite across the network.I have noticed many cases of error suppression (
@
). This is dangerous too. Always validate and sanitize the input, do not just try to save it somehow.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘No security checks?’ is closed to new replies.