Skip to content

Commit

Permalink
Ignore non-camel case params
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed Oct 9, 2024
1 parent 6c928b9 commit 4190acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ document.addEventListener( 'DOMContentLoaded', function () {
const statusWrapper = $( '.classifai-term-cleanup-process-status' );
const processRunning = statusWrapper.length;
const taxonomy = statusWrapper.data( 'taxonomy' );
const ajaxUrl = classifai_term_cleanup_params.ajax_url;
const ajaxNonce = classifai_term_cleanup_params.ajax_nonce;
const ajaxUrl = classifai_term_cleanup_params.ajax_url; // eslint-disable-line camelcase
const ajaxNonce = classifai_term_cleanup_params.ajax_nonce; // eslint-disable-line camelcase

if ( ! processRunning || ! taxonomy ) {
return;
Expand Down

0 comments on commit 4190acf

Please sign in to comment.