diff --git a/README.md b/README.md new file mode 100644 index 0000000..f829b0c --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# My Definitive SPAM Fucker + +This astonishing-simple and really-effective anti-SPAM system just works. It definitively protects your WordPress site from SPAM without imposing annoying CAPTCHAs, configurations, third-party services, blockchains, artificial intelligence or unicorns. Oh, just avoid URLs in comments when not logged-in :^) + +## Installation + +As every WordPress plugin. diff --git a/my-definitive-spam-fucker.php b/my-definitive-spam-fucker.php new file mode 100644 index 0000000..f248595 --- /dev/null +++ b/my-definitive-spam-fucker.php @@ -0,0 +1,33 @@ + 400, + 'back_link' => true, + ] ); + } + } + return $approved; +} + +add_filter( 'pre_comment_approved' , 'my_definitive_spam_fucker' , '99', 2 );