Christopher Finke
Forum Replies Created
-
You could add a file like this in mu-plugins:
add_action( 'init', function () { remove_filter( 'preprocess_comment', array( 'Akismet', 'auto_check_comment' ), 1 ); remove_action( 'comment_form_after', array( 'Akismet', 'display_comment_form_privacy_notice' ) ); }, 99 );This should disable Akismet for comments but leave it in place for Jetpack. I haven’t tested it, but if you’re interested in a method like this, I can confirm for you whether this would work.
No, Akismet doesn’t need .htaccess to function. It just provides a little bit of extra security against hacks that might place files in the Akismet plugin folder in order to try and avoid detection.
After reading through this, the way the code is now should still clear your stored alert code and message if your key is valid now. The call to
verify_key()initiates a call tocheck_key_status(), which makes a request to theverify-keyendpoint, which, at the end ofhttp_post, updates (or clears) any stored alert codes or messages.Can you email us at support@akismet.com with your API key and site URL so I can check why the alert isn’t getting cleared? Mention this thread so that I’m sure to see your email when it comes in.
Thanks for the suggestion; I’ll look into it and report back.
This bug has been fixed, and you can install a version of Akismet that includes the fix by uploading this zip file: http://downloads.wordpress.org/plugin/akismet.zip (or by waiting for the next official release). Thanks for reporting it!
I’ve been able to reproduce this bug, and I’m working on a fix.
Could you try disabling Akismet and seeing if these problems persist? I don’t think that Akismet is causing them, but it would be nice to have confirmation.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Blacklist Options?WordPress has this option built-in, accessible via Settings > Discussion. Look for the section labeled “Disallowed Comment Keys”.
Thanks for the update.
Forum: Plugins
In reply to: [NSFW] [Akismet Anti-spam: Spam Protection] AMP validation failWould you mind installing this alpha build to confirm that the fix works?
https://downloads.wordpress.org/plugin/akismet.zip
The only change from 4.2 is the fix preventing the addition of the inline script on AMP pages.
Forum: Plugins
In reply to: [NSFW] [Akismet Anti-spam: Spam Protection] AMP validation failExcellent, thanks. I’ll work on a fix.
Forum: Plugins
In reply to: [NSFW] [Akismet Anti-spam: Spam Protection] AMP validation failSorry for the inconvenience — what plugin are you using to add AMP support? And can you post a URL of a page where the script tag gets included when it’s an AMP request?
Forum: Themes and Templates
In reply to: [Ryu] Two title tagsThanks!
It looks like the file permissions are not set appropriately on (probably) wp-content/plugins/akismet/. You could try removing that directory entirely and then re-installing Akismet.
Alternatively, your Web host should be able to help you reset the file permissions so that you can update the plugin.
Would you mind posting the five lines above line 361 from your copy of class.akismet-admin.php?