Post edit time limit for Trust level 0 and 1 users

Currently the time limit for editing posts has these defaults:

That’s 24h and 30 days respectively.

In our community we set the second one to 0, and wanted to set the first one to 30 days, but we found there is a hardcoded limit of 7 days:

Any reason why this limit is hardcoded to be so far from the tl2_post_edit_time_limit default? I’m aware it’s possible to set it to 0, but there’s a wide range of options between 7 days and forever that can make sense, depending on the community.

Perhaps it’s some legacy thing and the hardcoded limit could be increased now, maybe up to the tl2_post_edit_time_limit default of 30 days?

1 Like