diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2018-06-08 10:07:37 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-06-08 10:07:37 -0400 |
commit | 7ca0ec095e0c737d2f181e015cc01b1bd9463f4c (patch) | |
tree | 4aca64353e6d7ebbc64ffbd4cd73a20e227bfeca /plugins/akismet/_inc | |
parent | Update twentyfourteen 2.2 (diff) | |
download | blogs-gentoo-7ca0ec095e0c737d2f181e015cc01b1bd9463f4c.tar.gz blogs-gentoo-7ca0ec095e0c737d2f181e015cc01b1bd9463f4c.tar.bz2 blogs-gentoo-7ca0ec095e0c737d2f181e015cc01b1bd9463f4c.zip |
Update akismet 4.0.7
Diffstat (limited to 'plugins/akismet/_inc')
-rw-r--r-- | plugins/akismet/_inc/akismet.css | 6 | ||||
-rw-r--r-- | plugins/akismet/_inc/akismet.js | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/plugins/akismet/_inc/akismet.css b/plugins/akismet/_inc/akismet.css index 85f3c5ec..bf40fb14 100644 --- a/plugins/akismet/_inc/akismet.css +++ b/plugins/akismet/_inc/akismet.css @@ -417,6 +417,10 @@ table.comments td.comment p a:after { padding: 1.5rem; } +.akismet-lower .notice { + margin-bottom: 2rem; +} + .akismet-card { margin-top: 1rem; margin-bottom: 0; @@ -583,4 +587,4 @@ table.comments td.comment p a:after { .akismet-section-header__actions { line-height: 1.75rem; -}
\ No newline at end of file +} diff --git a/plugins/akismet/_inc/akismet.js b/plugins/akismet/_inc/akismet.js index cac4d57f..b5df186f 100644 --- a/plugins/akismet/_inc/akismet.js +++ b/plugins/akismet/_inc/akismet.js @@ -273,4 +273,13 @@ jQuery( function ( $ ) { var img = new Image(); img.src = akismet_mshot_url( linkUrl ); } -});
\ No newline at end of file + + /** + * Sets the comment form privacy notice display to hide when one clicks Core's dismiss button on the related admin notice. + */ + $( '#akismet-privacy-notice-admin-notice' ).on( 'click', '.notice-dismiss', function(){ + $.ajax({ + url: './options-general.php?page=akismet-key-config&akismet_comment_form_privacy_notice=hide', + }); + }); +}); |