sanitize_post() test for integer fields. props kovshenin. see #22324.