Christopher Finke
Forum Replies Created
-
Added a filter to disable logging of Akismet debugging information.
add_filter( 'akismet_debug_log', '__return_false' );Added a filter for the maximum comment age when deleting old spam comments.
add_filter( 'akismet_delete_comment_interval', [function that returns the number of days you want to wait before deleting] );Added a filter for the number per batch when deleting old spam comments.
add_filter( 'akismet_delete_comment_limit', [function that returns the number of comments that should be deleted at a time] );Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Throwing PHP NoticeWhich version of WordPress are you running?
load_resources()is hooked toadmin_enqueue_scripts, so it seems strange that WP would complain aboutadmin_enqueue_scriptsnot having run yet.Do you have a link to a page where this is currently happening? Akismet uses the WordPress function
plugin_dir_url()to generate that URL, which should use https if the current page is https.I’ve updated the .htaccess to be compatible with both 2.2 and 2.4 here: https://plugins.trac.wordpress.org/changeset/1028901/akismet/trunk
If you wouldn’t mind, could you confirm that this version of .htaccess works as expected on your host and doesn’t cause any errors? https://plugins.trac.wordpress.org/browser/akismet/trunk/.htaccess?rev=1028901
If it’s working, you should be able to directly access /wp-content/plugins/akismet/class.akismet.php in your browser, but you should be able to access /wp-content/plugins/akismet/_inc/img/logo-full-2x.png
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Apache 2.4: .htaccess is no goodI’ve updated the .htaccess to be compatible with both 2.2 and 2.4 here: https://plugins.trac.wordpress.org/changeset/1028901/akismet/trunk
If you wouldn’t mind, could you confirm that this version of .htaccess works as expected on your host and doesn’t cause any errors? https://plugins.trac.wordpress.org/browser/akismet/trunk/.htaccess?rev=1028901
If it’s working, you should be able to directly access /wp-content/plugins/akismet/class.akismet.php in your browser, but you should be able to access /wp-content/plugins/akismet/_inc/img/logo-full-2x.png
Forum: Networking WordPress
In reply to: 'WordPress database error Duplicate entry' help pleaseThis should be fixed in version 4.0.1, which should be available as an update shortly.
Forum: Networking WordPress
In reply to: 'WordPress database error Duplicate entry' help pleaseThat’s from Feed Statistics (mine). I’ll look into it.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Password protected website & AkismetAkismet should be able to function properly on a private site without any extra work. As long as you’ve entered an API key on the Akismet configuration screen, you should be good to go.
Theolobias: It appears that Jetpack already does delete old spam feedbacks: https://github.com/Automattic/jetpack/blob/b66935575ed3b291b28b5df20af5e295d6645c94/modules/contact-form/grunion-contact-form.php#L1758
Do you have WP cron disabled? (If you’re not familiar with it, then the answer is likely no.) If so, that would need to be enabled for this to work. If not, then it looks like this is a Jetpack issue and your best bet would be filling out this form: http://jetpack.me/contact-support/
I’ll also send a note to the Jetpack developers to look at this thread in case there’s an obvious fix that I’m not familiar with.
I think deleting the spam contact form entries would be Jetpack’s job, but I’ll talk to the Jetpack developers and decide which plugin should handle it.
For situations where comments and comment meta were not being deleted, this changeset should fix that issue: https://plugins.trac.wordpress.org/changeset/1003382/akismet It will be included in version 3.0.3.
Forum: Reviews
In reply to: [Akismet Anti-spam: Spam Protection] Akismet works sort of.Did you report any of that missed spam? Akismet can have occasional trouble when a wave of a new type of spam hits, but reporting it can help immensely.
If you’d like, we can investigate further and ensure that Akismet catches as much spam as possible if you email us at support@akismet.com with your site or API key.
I haven’t seen this behavior on any of my test sites, but I’ll investigate tomorrow and follow up with my findings.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Akismet and WP_DEBUG_LOG(Something strange is going on with the forum software. Not sure why it posted a bunch of extra times.)
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Akismet and WP_DEBUG_LOGI’ve added a filter in r987350: https://plugins.trac.wordpress.org/changeset/987350/akismet/trunk
To disable logging of Akismet debug data when
WP_DEBUG_LOGis true, do this:add_filter( 'akismet_debug_log', '__return_false' );Thanks for the suggestion.
adminis your username on your blog, but when you log into Akismet.com, you need to use your WordPress.com username. If you don’t have one, you can register for one for free: http://wordpress.com/signup/?user=1