On the admin page, if you try to save a maximum body size, or maximum posts per hour to 0, the form will not validate because 0 is not a positive number. Patch attached.

CommentFileSizeAuthor
positive_int_non_zero.patch1.28 KBschultetwin

Comments

mahfiaz’s picture

Status: Needs work » Fixed

It's committed. Thanks, this is a good catch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.