Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Conditional edit flag?
lech
✭
I think that changes in Topic, category or post format shouldn't really effect whether the "edited" flag appears. While I wouldn't be one to figure out the best way to determine what qualifies as "edited" via code, I suppose the easiest way to do something like this would be via a held variable that upon edit does a quick length check of the comment being edited. If the length is the same after the change and there are no other differences, the edit flag doesn't appear, otherwise if i change a single character, say a comma to a period or vice versa it can appear. A quick relative search for punctuation, letters and numbers stored in a count could determine what's edited and what isn't.
Could this be worthy for a possible future improvement?
0
This discussion has been closed.
Comments