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 Oct 5, 2013
1 parent 3d1acf0 commit c7330f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wpas.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ function submit_button( $args ) {
*/
function tax_field( $args ) {
$defaults = array(
'label' => '',
'taxonomy' => 'category',
'format' => 'select',
'term_format' => 'slug',
Expand Down Expand Up @@ -346,8 +347,6 @@ function tax_field( $args ) {
}
}

$args['label'] = $label;

$field = new WPAS_Field('tax_'.$tax_slug, $args);
return $field->build_field();

Expand Down

0 comments on commit c7330f8

Please sign in to comment.