Then I would expect that the user is also able to undelete their post within 24 hours. But that sees impossible when max post deletions per day and the max post deletions per minute are set to 0. Discourse still shows the trash instead of the undo icon.
Maximum number of posts a user can delete per minute / day. Set to 0 to disable post deletions.
And maybe the description of the settings should say something like “replies” instead of “posts”. For example, min post length affects all posts - first posts and replies, even though there is a separate min first post length setting.