Arrow

Problem with WP 2.7 back-end reply feature and Custom Anti-Spam | Peter's Custom Anti-Spam for WordPress | Forum

Back to the custom anti-spam plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Problem with WP 2.7 back-end reply feature and Custom Anti-Spam
December 4, 2008
1:18 pm
steveegg
Guest

There is a slight problem with the plugin (3.1.1) and WP 2.7 (RC1) - when attempting to reply from the "Edit Comments" back-end with "force registered users to enter the anti-spam word", the attempt fails with the "Error: Please enter the anti-spam word." message. Since there is no place to enter the word, and I don't want to disable the registered users need to enter the word, that's a minor annoyance.

December 4, 2008
1:19 pm
steveegg
Guest

That should be "'force registered users to enter the anti-spam word' feature active". I really need to learn to proof-read :-)

December 4, 2008
1:56 pm
Peter
Admin
Forum Posts: 841
Offline

Hi steveegg,

Thanks for pointing that out. I will fix this in the 3.1.2 release today. You can immediately patch 3.1.1 by replacing lines 585 and 586 of custom_anti_spam.php with:

// If the user is not logged in check the security code
if( ($cas_forcereg || ! isset( $user_ID )) && !is_admin() )

Basically, this adds a check to see whether you are logged into the WordPress back-end. If you are, it won't check for the anti-spam word.

December 5, 2008
12:43 pm
steveegg
Guest

Thanks much. Downloading now on both the main blog (still running 2.6.3) and the test one.

December 5, 2008
12:51 pm
steveegg
Guest

Works like a charm