Files
discourse/lib
Sam 84706bcef7 FIX: Don't decrement public_version when destroying hidden revision (#37704)
The original commit fixed an issue where adding hidden tags to a post
would incorrectly increment `public_version`, causing the edit pencil
icon to appear for regular users who couldn't access the hidden
revision. The fix correctly skips incrementing `public_version` for
hidden revisions. However, the commit introduced a bug in
`update_revision` - when a hidden revision is destroyed (e.g., by
reverting changes within the grace period), `public_version` is
incorrectly decremented even though it was never incremented for that
revision.
2026-02-12 10:38:20 +11:00
..
2022-04-28 11:51:03 +02:00
2024-08-12 10:41:13 +02:00
2025-11-25 13:35:32 -05:00
2024-11-06 06:27:49 +08:00
2023-02-21 10:30:48 +01:00
2020-07-21 15:55:03 +08:00
2025-07-24 22:04:13 +02:00