com web/bugs: more spam words: include/functions.php
| From: | Peter Cowburn | Date: | Fri, 14 Oct 2016 09:50:55 +0000 |
| Subject: | com web/bugs: more spam words: include/functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25240@lists.php.net to get a copy of this message | ||
Commit: 4cf267280f336755c17d7dc935fb390e9a78b2e7
Author: Peter Cowburn <pcowburn@akamai.com> Fri, 14 Oct 2016 10:50:55 +0100
Parents: 50136fe0aeea66ad187b408a4c4237fed938c42e
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=4cf267280f336755c17d7dc935fb390e9a78b2e7
Log:
more spam words
Changed paths:
M include/functions.php
Diff:
diff --git a/include/functions.php b/include/functions.php
index 7ed8ae3..de52fa9 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -298,6 +298,9 @@ function is_spam($string)
'leslunettesdesoleil',
'PaulRGuthrie',
'[a-z]*?fuck[a-z]*?',
+ 'jerseys',
+ 'wholesale',
+ 'fashionretailshop01',
);
if (preg_match('/\b('. implode('|', $keywords) . ')\b/i', $string))
{