[Plugin: Math Comment Spam Protection] How to make the math plugin 2.2 work with WP 3.0 [fix]
-
After WordPress 3.0 was released, the Math Comment Spam Protection plugin 2.2 suddenly stopped working (the plugin worked perfectly with WP 2.9.2 and lower).
Thanks to Frank Bültge, perhaps we have an easy fix for the problem! (I am still testing a lightly updated version of the plugin, so no promises here!).
So, in case you are using WP 3.0 and the Math Comment Spam Protection plugin 2.2, and the plugin doesn’t protect you from comment spam anymore, try the following:
1) Open the file math-comment-spam-protection.php in the math-comment-spam-protection plugin folder.
2) Find the following code (go to line 106):
if ( ( !isset($user_ID) ) && ( $comment_data['comment_type'] == '' ) ) { // Do not check if the user is registered & do not check trackbacks/pingbacks
and change it to:
if ( ( !isset($user_ID) || (0 == $user_ID) ) && ( $comment_data['comment_type'] == '' ) ) { // Do not check if the user is registered & do not check trackbacks/pingbacks
3) Save the file and re-upload it to your server.
See if this helps making the plugin work again with latest WordPress!
It works for me, for now! ??
https://www.ads-software.com/extend/plugins/math-comment-spam-protection/
- The topic ‘[Plugin: Math Comment Spam Protection] How to make the math plugin 2.2 work with WP 3.0 [fix]’ is closed to new replies.