com web/bugs: add new word to spam list: include/functions.php
| From: | Peter Cowburn | Date: | Tue, 05 Mar 2019 19:30:46 +0000 |
| Subject: | com web/bugs: add new word to spam list: include/functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27840@lists.php.net to get a copy of this message | ||
Commit: 408f4f085471c16daba761ef0f89acca9ebd06ef
Author: Peter Cowburn <salathe@php.net> Tue, 5 Mar 2019 19:30:46 +0000
Parents: 7e3870ef1573374f55db5204bf968274f75e1ad0
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=408f4f085471c16daba761ef0f89acca9ebd06ef
Log:
add new word to spam list
Changed paths:
M include/functions.php
Diff:
diff --git a/include/functions.php b/include/functions.php
index 5220f2e..dae7507 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -234,6 +234,7 @@ function is_spam($string)
'jerseys',
'wholesale',
'fashionretailshop01',
+ 'amoxicillin',
];
if (preg_match('/\b('. implode('|', $keywords) . ')\b/i', $string))
{