Add "Spoiler contents" and "Disable reactions" content action options when issuing warnings. Per-warning defaults can be configured on the warning definitions.
"Disable reactions" prevents new reactions, and prevents viewing existing reactions. It does not change if existing reactions count to the user's reaction totals.
"Spoiler contents" injects the spoiler during the rendering pipeline, and can't be edited away.
Supports:
Posts
Profile Posts
Profile Posts Comments.
Warning: editing content while this add-on is disabled will wipe the metadata used to drive the "Spoiler contents" and "Disable reactions" features. Editing the warning will put that data back.
Related XF bug.
Add new permission "Allow bypassing reaction list restriction from warning" to view reactions on a post which has them disabled
Add missing moderator log phrases for various warning editing entries
Fix 'default selected' when using radio-view when issuing a warning not selecting the first warning in the list, and causing nothing to be selected when the custom warning isn't selectable