From e53e8da3a1054d87d9a923504a0cbe001fa1e038 Mon Sep 17 00:00:00 2001 From: evazion Date: Sat, 21 May 2022 13:45:27 -0500 Subject: [PATCH] Fix #5171: Don't allow wide_image and tall_image to be manually tagged. --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index 84cb04950..031bd0eac 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -385,7 +385,7 @@ class Post < ApplicationRecord end def add_automatic_tags(tags) - tags -= %w[incredibly_absurdres absurdres highres lowres flash video ugoira animated_gif animated_png exif_rotation non-repeating_animation non-web_source] + tags -= %w[incredibly_absurdres absurdres highres lowres flash video ugoira animated_gif animated_png exif_rotation non-repeating_animation non-web_source wide_image tall_image] if tags.size >= 30 tags -= ["tagme"]