Closed helgatheviking closed 8 years ago
Use .is-dismissible with JS callback
.is-dismissible
$(‘.notice.is-dismissible’).on(‘click’, ‘.notice-dismiss’, function(event){});
see: https://make.wordpress.org/core/2015/04/23/spinners-and-dismissible-admin-notices-in-4-2/
Not sure I like this approach, especially if it means another change down the line
closed by 1.7.8
Use
.is-dismissible
with JS callbacksee: https://make.wordpress.org/core/2015/04/23/spinners-and-dismissible-admin-notices-in-4-2/
Not sure I like this approach, especially if it means another change down the line