Update akismet
This commit is contained in:
parent
1e3ac16676
commit
6ed0abf6a3
8 changed files with 53 additions and 37 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue