Skip to content

Commit

Permalink
Merge pull request #246 from naxvog/phpcs_improvements
Browse files Browse the repository at this point in the history
Phpcs improvements
  • Loading branch information
tillkruss authored Aug 16, 2020
2 parents d57de4d + 7f4358b commit 1b14b01
Show file tree
Hide file tree
Showing 12 changed files with 764 additions and 256 deletions.
5 changes: 4 additions & 1 deletion assets/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,12 @@
function ( event ) {
event.preventDefault();

var $parent = $( this ).parent();

$.post( ajaxurl, {
notice: $( this ).parent().attr( 'data-dismissible' ),
notice: $parent.data( 'dismissible' ),
action: 'roc_dismiss_notice',
_ajax_nonce: $parent.data( 'nonce' ),
} );
}
);
Expand Down
Loading

0 comments on commit 1b14b01

Please sign in to comment.