Great plugin. Will install right away. Its simple but looks good. Have seen other similar hacks earlier but this seems better.
Two questions, though:
Why does your description only mention TLD? I glanced over the code and it uses strpos in the whole message to ascertain if the message should be blocked or not. Doesn't that mean we can use any text - word or phrase - to trigger the spam check?
Also, I found your if statement a bit weird. If I understood it correctly, it says:
if the post doesnt contain any offending stuff
then
original post = original post
else
original post = special predefined message
isnt it simpler to write:
if the post contains any offending stuff
then
original post = special predefined message
|