I am working on the users list table. How important is sanitizing here?
$user_id = isset( $_GET[‘user’] ) ? $_GET[‘user’] : 0;
and $user_id will get user’s id.
update_user_meta( $user_id, ‘status’, 1 );
I hope site administrator themselves won’t inject anything.
Read more here:: How Important is sanitization on backend?