Skip to content

Commit

Permalink
remove default label for taxonomy field
Browse files Browse the repository at this point in the history
  • Loading branch information
raideus committed Jul 24, 2013
1 parent 5a5e89e commit 3d1acf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wpas.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3d1acf0

Please sign in to comment.