Comment moderation
Changing wp_insert_comment() to wp_new_comment() allows for the WordPress Discussion settings to work
Are you saying you are getting a lot of ‘people’ signing up to your website? Here are two ways you could help reduce Spam (Has helped a lot for me): Keep an eye on your access_log within the server. If you see the same IP addresses accessing your website, block them. Require sign-ups to have … Read more
I kindly and respectfully ask the community to take 30 seconds out of your day and please explain this phenomenon to me. I get that it’s cool to either ignore or ridicule those who are not savvy with this sort of stuff, but I need to know how this is happening, who’s behind it and … Read more
Site has fake users registered with a similar pattern in username and email
Spam written by registred users
I’d suggest prohibiting spam users first. But above all, I’m not aware about the performance of the Search Meter plugin. Using free tool like Google Analytics or StatCounter you can verify the searches really occurred or not. Workaround As you have the exact timestamp when the search occurred you can also get the user’s identity, … Read more
Figured this out by editing the max url string length in comment.php from 200 to 1. Only problem is any wordpress update will overwrite this each time. How would I go about making this change in functions instead?
You can change the URL for the action of the comment form like this: add_filter( ‘comment_form_defaults’, ‘wpse316762_comment_form_defaults’ ); function wpse316762_comment_form_defaults( $defaults ) { $defaults[ ‘action’ ] = site_url( ‘/error.php’ ); return $defaults; }
How to track down a phantom contact form?
Well the best way is to use a antispam plugin like Aksimet. Other captcha plugins can be helpful too, you just have to look for the captcha keyword in wordpress repository. If you want to do this manually, I can give you a hint. First of all, you need to know which action hook you … Read more