phpbb/phpbb3 — pull request #921 by imkingdavid (2012-07-23 13:44:27+00:00)
Title: [ticket/10444] Do not default to the previous post edit reason.

This makes the most sense when paired with the post revisioning system I am working on. Basically, as it is, the post edit reason is carried over from the previous edit, so if unchanged, it is a duplicate reason from when the previous edit was made. So if two people edit a post but the second does not change the reason entered by the first, then it is misleading; the username and edit time are updated, but the reason is not.

With revisions, each one can have its own edit reason, so it would not make sense to carry it over from the previous revision. Instead, I propose we clear the field each time a new edit is being made.

----

Current behavior: The post edit reason is served from the database, if one is available. If changed by the form, the new value is used instead.

New behavior: Only use the value given to the form; do not serve from database.

http://tracker.phpbb.com/browse/PHPBB3-10444