You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every comment that goes into spam generates a 500 server error. This is cause wp_die() defaults to 500. May I suggest the following change for the next update...
Either replace wp_die() by just die(). This defaults to http return 200 or better do something like wp_die( __( $antispam_pre_error_message . $antispam_error_message, 'anti-spam' ), 403 );. I'm still testing if 403 is better than 200 in terms of spam. Changing from 500 to 200 reduced the amount of spam by 75% (many spam scripts are sending the same comment multiple times if they get a 500).
Ah and if you are already updating... you might change $antispam_pre_error_message into a non-Javascript version. Because you get the message cause your Javascript is disabled.
I use something like:
Every comment that goes into spam generates a 500 server error. This is cause wp_die() defaults to 500. May I suggest the following change for the next update...
Either replace wp_die() by just die(). This defaults to http return 200 or better do something like
wp_die( __( $antispam_pre_error_message . $antispam_error_message, 'anti-spam' ), 403 );
. I'm still testing if 403 is better than 200 in terms of spam. Changing from 500 to 200 reduced the amount of spam by 75% (many spam scripts are sending the same comment multiple times if they get a 500).Ah and if you are already updating... you might change $antispam_pre_error_message into a non-Javascript version. Because you get the message cause your Javascript is disabled.
I use something like:
...and the back link does work.
The text was updated successfully, but these errors were encountered: