Skip to content

Commit

Permalink
Fix indents
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jan 3, 2025
1 parent 58b4626 commit 1b1e675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/Classifai/Features/TermCleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ public function start_term_cleanup_process() {
wp_die( esc_html__( 'You don\'t have permission to perform this operation.', 'classifai' ) );
}

$settings = $this->get_settings( 'taxonomies' );
$taxonomy = isset( $_POST['classifai_term_cleanup_taxonomy'] ) ? sanitize_text_field( wp_unslash( $_POST['classifai_term_cleanup_taxonomy'] ) ) : '';
$settings = $this->get_settings( 'taxonomies' );
$taxonomy = isset( $_POST['classifai_term_cleanup_taxonomy'] ) ? sanitize_text_field( wp_unslash( $_POST['classifai_term_cleanup_taxonomy'] ) ) : '';
$threshold = isset( $settings[ $taxonomy . '_threshold' ] ) ? absint( $settings[ $taxonomy . '_threshold' ] ) : 75;

if ( empty( $taxonomy ) ) {
Expand Down

0 comments on commit 1b1e675

Please sign in to comment.