Commit: 997f010b1f66fe7ea1af819f051681300d18e675 Author: Peter Cowburn <sala...@php.net> Mon, 4 Jan 2021 11:33:01 +0000 Parents: 2e6915b67db5fbb3179b54abb6dae1474b6b0b88 Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=997f010b1f66fe7ea1af819f051681300d18e675 Log: another spam word Changed paths: M include/functions.php Diff: diff --git a/include/functions.php b/include/functions.php index c61900e..29e679c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -236,6 +236,7 @@ function is_spam($string) 'fashionretailshop01', 'amoxicillin', 'helpdeskaustralia', + 'porn', ]; if (preg_match('/\b('. implode('|', $keywords) . ')\b/i', $string)) { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php