From 2eab9731469d5362519e36bfef1b034f891f69c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 17 Aug 2025 16:05:13 +0200 Subject: [PATCH 1/3] Improve docblock in CommentLength --- app/Features/CommentLength.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Features/CommentLength.php b/app/Features/CommentLength.php index 9a752a3..75b4208 100644 --- a/app/Features/CommentLength.php +++ b/app/Features/CommentLength.php @@ -33,7 +33,8 @@ public function hook(Hook $hook): void /** * Filter the comment content before it is processed. * - * @param array{comment_content?:string|null} $commentData The comment data. {@see https://developer.wordpress.org/reference/hooks/preprocess_comment/}. + * @param array{comment_content?:string|null} $commentData The comment data. + * @see https://developer.wordpress.org/reference/hooks/preprocess_comment/ * * @return array{comment_content?:string|null} The filtered comment data. */ From b611a939a2c6e21a104532fe22d0aa62c68e6610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 17 Aug 2025 16:34:17 +0200 Subject: [PATCH 2/3] =?UTF-8?q?fix=C5=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Features/CommentLength.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Features/CommentLength.php b/app/Features/CommentLength.php index 75b4208..d4cc0d7 100644 --- a/app/Features/CommentLength.php +++ b/app/Features/CommentLength.php @@ -34,7 +34,7 @@ public function hook(Hook $hook): void * Filter the comment content before it is processed. * * @param array{comment_content?:string|null} $commentData The comment data. - * @see https://developer.wordpress.org/reference/hooks/preprocess_comment/ + * @see https://developer.wordpress.org/reference/hooks/preprocess_comment/ * * @return array{comment_content?:string|null} The filtered comment data. */ From 9699253d60e4a98899c34916962b77409f41947d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 17 Aug 2025 16:44:56 +0200 Subject: [PATCH 3/3] Update CommentLength.php --- app/Features/CommentLength.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Features/CommentLength.php b/app/Features/CommentLength.php index d4cc0d7..29e306f 100644 --- a/app/Features/CommentLength.php +++ b/app/Features/CommentLength.php @@ -34,6 +34,7 @@ public function hook(Hook $hook): void * Filter the comment content before it is processed. * * @param array{comment_content?:string|null} $commentData The comment data. + * * @see https://developer.wordpress.org/reference/hooks/preprocess_comment/ * * @return array{comment_content?:string|null} The filtered comment data.