From c95bdf0ae579fa50f9414ffe37eb9a8279794f58 Mon Sep 17 00:00:00 2001 From: anon Date: Fri, 11 Oct 2024 15:47:21 +0000 Subject: [PATCH] updated readme --- readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 671ebaf..814886c 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ it keeps your site clean by blocking offensive or illegal images and comments be ## features -- **attachment moderation**: images are checked during upload. flagged images are blocked from being accessed. +- **attachment moderation**: images are checked during upload. flagged images are blocked. optionally, anonymize file names. - **comment moderation**: comments are reviewed before they're saved. flagged comments are set to unapproved. - **admin integration**: see moderation status directly in your media library and comments list. detailed info available in edit screens. - **easy setup**: just add your openai api key in the settings. @@ -24,7 +24,7 @@ it keeps your site clean by blocking offensive or illegal images and comments be ### attachment moderation - when an image is uploaded, the plugin sends it to openai's moderation api using the `omni-moderation-latest` model. -- if the image is flagged, the plugin blocks access to it by sending a 403 forbidden response when someone tries to view it. +- if the image is flagged in any of the abuse categories, the attachment does not get created. ### comment moderation @@ -34,7 +34,6 @@ it keeps your site clean by blocking offensive or illegal images and comments be ### backend functionality - hooks into `add_attachment` to moderate images upon upload. -- uses `template_redirect` to block access to flagged attachments. - hooks into `preprocess_comment` and `pre_comment_approved` to moderate comments before saving. - stores moderation results in post and comment meta. - adds custom columns in admin screens to display moderation status.