diff --git a/wp-content/plugins/akismet/_inc/akismet.css b/wp-content/plugins/akismet/_inc/akismet.css index d051c01..bc56f06 100644 --- a/wp-content/plugins/akismet/_inc/akismet.css +++ b/wp-content/plugins/akismet/_inc/akismet.css @@ -80,9 +80,11 @@ table.comments td.comment p a:after { display: inline-block !important; } .checkforspam-progress { - padding-left: 1ex; display: none; } +.checkforspam.checking .checkforspam-progress { + padding-left: 1ex; +} .checkforspam.button-disabled .checkforspam-progress { display: inline; } @@ -246,7 +248,6 @@ table.comments td.comment p a:after { font-size: 140px; color: #769F33; font-family: Georgia, "Times New Roman", Times, serif; - z-index: 1; } .akismet_activate .aa_button { @@ -312,7 +313,6 @@ table.comments td.comment p a:after { margin-left: 25px; color: #E5F2B1; font-size: 15px; - z-index: 1000; } .akismet_activate .aa_description strong { diff --git a/wp-content/plugins/akismet/_inc/akismet.js b/wp-content/plugins/akismet/_inc/akismet.js index 8ed3add..6cb85e6 100644 --- a/wp-content/plugins/akismet/_inc/akismet.js +++ b/wp-content/plugins/akismet/_inc/akismet.js @@ -146,10 +146,15 @@ jQuery( function ( $ ) { } ); } ); - $('.checkforspam:not(.button-disabled)').click( function(e) { + $( '.checkforspam' ).click( function( e ) { e.preventDefault(); - $('.checkforspam:not(.button-disabled)').addClass('button-disabled'); + if ( $( this ).hasClass( 'button-disabled' ) ) { + window.location.href = $( this ).data( 'success-url' ).replace( '__recheck_count__', 0 ).replace( '__spam_count__', 0 ); + return; + } + + $('.checkforspam').addClass('button-disabled').addClass( 'checking' ); $('.checkforspam-spinner').addClass( 'spinner' ).addClass( 'is-active' ); // Update the label on the "Check for Spam" button to use the active "Checking for Spam" language. diff --git a/wp-content/plugins/akismet/akismet.php b/wp-content/plugins/akismet/akismet.php index 2e07b3e..49608e5 100644 --- a/wp-content/plugins/akismet/akismet.php +++ b/wp-content/plugins/akismet/akismet.php @@ -6,7 +6,7 @@ Plugin Name: Akismet Anti-Spam Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. -Version: 4.1.1 +Version: 4.1.2 Author: Automattic Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later @@ -37,7 +37,7 @@ if ( !function_exists( 'add_action' ) ) { exit; } -define( 'AKISMET_VERSION', '4.1.1' ); +define( 'AKISMET_VERSION', '4.1.2' ); define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' ); define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'AKISMET_DELETE_LIMIT', 100000 ); diff --git a/wp-content/plugins/akismet/class.akismet-admin.php b/wp-content/plugins/akismet/class.akismet-admin.php index 07a4d19..f0766eb 100644 --- a/wp-content/plugins/akismet/class.akismet-admin.php +++ b/wp-content/plugins/akismet/class.akismet-admin.php @@ -390,9 +390,9 @@ class Akismet_Admin { $comments_count = wp_count_comments(); echo ''; - echo '