Note the “friendlier” message we came up with was:
Sorry, but our system has recognized you may be a spammer. You comment has been held in our moderation queue. A human will review it shortly and if it’s not spam, we’ll gladly publish it.
If you believe this moderation hold to be in error, please first ensure that you have Javascript and Cookies enabled in your browser. If after checking those are enabled you’re still having problems please contact us so that we can rectify the situation.
That’s an excellent idea! Where is your repo? I’m happy to implement that change.
I have another idea which will be implemented in a future version, and that is instead of an error message, just forcing the user to answer a CAPTCHA. So 99.99% of users will just sail on through, but spammers and unlucky folks would simply have to answer a CAPTCHA.
Doh! Feel foolish. I looked on GH and saw the plugin and assumed it was yours, it was actually the new WordPress.og plugins mirror.
Regardless, commit is here:
https://github.com/jb510/spam-destroyer/commit/ed8139076a3f206c2c955ae9d7b4318bc6a93160
Example of filter in use:
/**
* Filter Spam Destoryer Error Notice
* @return $string
*/
function gmp_sd_error_notice() {
return '<div id="comments-error-message"><p><b>' . __( 'Sorry, but our system has recognized you may be a spammer. Your comment has been held in our spam moderation queue. A human will review it shortly and if it’s not spam, we’ll publish it. If you believe this hold to be in error, please first ensure that you have Javascript and Cookies enabled in your browser. If after checking that you are still having this problem please contact us so that we can rectify the situation. ', 'text_domain' ) . '</b></p></div>';
}
add_filter('sd_error_notice', 'gmp_sd_error_notice');
Its quick and rough, obviously feel free to modify things if you prefer something else.
Considering how many people have contributed to this project, I should probably put this onto Github too.
Thanks for the contribution 🙂
I have a few plans for this plugin which I need to sit down and implement. I tried adding a huge number of changes a while back, but it all turned to heck as I ended up stuck in bug hell. But there are a lot of small adjustments which can be made to improve it, so I need to do that some time, starting with your helpful addition.
Cool. Yeah, I kind of gave up on dealing with .org’s SVN unless I really absolutely have to.
This has been added the official repository, plus I’ve created a repository here on GitHub for pull requests … https://github.com/ryanhellyer/spam-destroyer
There is a link to your website in the credits section now too.