From a7fc7a1ae08874c43b4939403b4bdf5fc6c98c87 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Fri, 30 Aug 2024 16:37:45 +0200 Subject: [PATCH] Add helper modal for rate limit --- includes/functions/settings/_settings_page_general.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/functions/settings/_settings_page_general.php b/includes/functions/settings/_settings_page_general.php index 043a1564..12121585 100644 --- a/includes/functions/settings/_settings_page_general.php +++ b/includes/functions/settings/_settings_page_general.php @@ -1171,7 +1171,8 @@ $images = get_template_directory_uri() . '/img/documentation/'; sprintf( __( 'Simple session-based rate limiting, allowing %s requests per minute for selected actions (per action).', 'fictioneer' ), FICTIONEER_REQUESTS_PER_MINUTE - ) + ), + __( 'Some frontend actions, such as following a story or setting a chapter checkmark, send small requests for processing. If someone were to spam these actions, it could cause stress on the server. By enabling the rate limit, these actions are restricted to a sensible number of requests per minute and blocked if the limit is exceeded.', 'fictioneer' ) ); ?>