Skip to content

Commit

Permalink
fix/#791_conflict_with_rankmath (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
rizaardiyanto1412 authored Oct 10, 2024
1 parent 9d1d5b6 commit e530d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/checklists/assets/js/meta-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@
// @todo: why does Multiple Authors "Remove author from new posts" setting cause this to return null?
var obj = PP_Checklists.getEditor().getEditedPostAttribute('categories');
} else {
var obj = $('#categorychecklist input:checked');
var obj = $('#categorychecklist input:checked:not(.rank-math-make-primary)');
}

if (typeof obj !== 'undefined') {
Expand Down

0 comments on commit e530d13

Please sign in to comment.