Christopher Finke
Forum Replies Created
-
I’m curious — if you add a Login link somewhere in the page so that it’s not hidden behind a hamburger menu, does that work? Some of what I’m seeing suggests that dropdown menu code in the Listable theme is interfering.
I forgot to mention that I think you can downgrade Akismet again to fix this for now; it shouldn’t affect my testing from this point.
I’m still looking into it, but signs are pointing towards it being primarily due to another plugin’s code, as the offending code in Akismet can be reduced to this, which follows best practices for executing code 250ms after the mouse stops moving:
var myTimer = null; document.addEventListener( 'mousemove', function () { if ( myTimer ) { clearTimeout( myTimer ); myTimer = null; } myTimer = setTimeout( function () { // Do some things here. clearTimeout( myTimer ); myTimer = null; }, 250 ); } );If you replace akismet-frontend.js with a file that only contains this, it still breaks the login modal popup. In fact, even just this code, which does essentially nothing, will break it:
document.addEventListener( 'mousemove', function () { setTimeout( function () { }, 250 ); } );I’m continuing to investigate.
Thanks, I can reproduce it now, and I’m working on determining the root cause.
I wasn’t able to reproduce this on a test site. If you’re ok with temporarily re-upgrading to 5.0 so I can test it on your site (maybe after the weekend is over), that would be helpful. Let me know.
Thanks for the report; I’ll investigate this today.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] No API field to add numberGreat, I’m glad I was able to help.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] No API field to add numberIf you go to the URL /wp-admin/admin.php?page=akismet-key-config for that site, do you see a form field for the API key?
Is it possible that you have defined
WPCOM_API_KEYinwp-config.php? That would disable the UI for entering an API key.Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] getting 403 error onThanks for confirming; I’ll direct anyone else with this issue to try that as well.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] getting 403 error onCan you check that your .htaccess file in the akismet directory got updated? Line 15 should look like:
<FilesMatch "^(form\.js|akismet\.js|akismet-frontend\.js|akismet\.css)$">- This reply was modified 3 years, 10 months ago by Christopher Finke.
Hi Laurence,
Try adding this in mu-plugins; it worked on my site. It should remove both the new JavaScript file and the inline JavaScript, but the usual caveat applies that it may negatively affect spam-catching accuracy on your site.
<?php add_action( 'init', 'remove_akismet_frontend_js', 99 ); function remove_akismet_frontend_js() { remove_action( 'comment_form', array( 'Akismet', 'load_form_js' ) ); remove_action( 'do_shortcode_tag', array( 'Akismet', 'load_form_js_via_filter' ) ); remove_action( 'comment_form', array( 'Akismet', 'output_custom_form_fields' ) ); }It’s actually pretty hard to intentionally create something that looks like real spam unless you’re a real spammer — the nature of spam changes quickly and catching it is reliant upon millions of data points from other pieces of real-time content, so that’s why we have the values that will guarantee a spam response.
If you want to guarantee a true response, send
akismet-guaranteed-spamas the content orakismet-guaranteed-spam@example.comas the email.The best thing to do would be to check your server’s error log and see what the actual error is. If you don’t know how to do that, your web host should be able to help you.
Once you have the error message, post it here and we should be able to help.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Where is the Spam FolderIn your WordPress dashboard, click on “Comments” and then the “Spam” link at the top of the page. The URL will end with /wp-admin/edit-comments.php?comment_status=spam