Download the PHP package zodiac1978/custom-patterns-asb without Composer
On this page you can find all versions of the php package zodiac1978/custom-patterns-asb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zodiac1978/custom-patterns-asb
More information about zodiac1978/custom-patterns-asb
Files in zodiac1978/custom-patterns-asb
Package custom-patterns-asb
Short Description Add custom patterns for Antispam Bee.
License GPL-2.0-or-later
Informations about the package custom-patterns-asb
Custom Patterns for Antispam Bee
Add custom patterns for Antispam Bee.
License
This plugin is licensed as GPLv2. You can find more details about it in the LICENSE file.
Stay up to date
You need to have installed Git Updater from Andy Fragen to keep the plugin up to date.
Obviously Antispam Bee needs to be installed too ... 😉
Documentation
This plugin uses the filter hook from the Antispam Bee plugin which is explained in their documentation.
Tests
Run the lightweight pattern regression tests with:
Why in this way and not in Antispam Bee?
I can decide for my blog/site that I want to ignore all @mail.ru addresses, but a Russian user would probably not find that so funny. A comment consisting of only two letters will be considered spam, because I had such spam on my blog. If your commenters like to comment with "OK" then you have a problem. I could list more examples. A general approach is not so easy and requires a lot of data and intuition. However, in my own blog I can do what I want and that's what this plugin is for. To try around and test patterns. If you can live with the new patterns, feel free to install the plugin.
Contributing
I welcome new ideas for patterns (as an issue) and of course pull requests with finished patterns.
Please make sure a pattern is necessary for your case. If you want to ban just one obvious spammy word you can sometimes also just use the WordPress blocklist feature from the discussion settings page.
Thank you!
Thanks to https://github.com/sdellenb for the idea and first patterns.
Thanks to https://github.com/drivingralle for inspiration and talking about new patterns.
Thanks to https://github.com/pfefferle/ for your starting help with Composer/Packagist.
Thanks to ibericode/ibericode-mods for additional pattern ideas.