From c7330f80922342f68b448d13427b87afd2ea1627 Mon Sep 17 00:00:00 2001 From: Sean Butze Date: Sat, 5 Oct 2013 10:38:28 -0400 Subject: [PATCH] remove default label for taxonomy field --- wpas.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wpas.php b/wpas.php index b1d42b1..95093bc 100644 --- a/wpas.php +++ b/wpas.php @@ -276,6 +276,7 @@ function submit_button( $args ) { */ function tax_field( $args ) { $defaults = array( + 'label' => '', 'taxonomy' => 'category', 'format' => 'select', 'term_format' => 'slug', @@ -346,8 +347,6 @@ function tax_field( $args ) { } } - $args['label'] = $label; - $field = new WPAS_Field('tax_'.$tax_slug, $args); return $field->build_field();