diff --git a/wpas.php b/wpas.php index 2acabe3..b1d42b1 100644 --- a/wpas.php +++ b/wpas.php @@ -303,9 +303,7 @@ function tax_field( $args ) { if (isset($args['label'])) { $label = $args['label']; - } else { - $label = $tax_name; - } + } if (isset($term_args) && is_array($term_args)) { $term_args = wp_parse_args($term_args, $term_defaults);