Changed product cat widget select label to avoid confusion
This commit is contained in:
parent
4756376faa
commit
c7a044cfd6
|
@ -559,7 +559,7 @@ function woocommerce_product_dropdown_categories( $show_counts = 1, $hierarchal
|
||||||
if (!$terms) return;
|
if (!$terms) return;
|
||||||
|
|
||||||
$output = "<select name='product_cat' id='dropdown_product_cat'>";
|
$output = "<select name='product_cat' id='dropdown_product_cat'>";
|
||||||
$output .= '<option value="">'.__('Show all categories', 'woocommerce').'</option>';
|
$output .= '<option value="">'.__('Select a category', 'woocommerce').'</option>';
|
||||||
$output .= woocommerce_walk_category_dropdown_tree( $terms, 0, $r );
|
$output .= woocommerce_walk_category_dropdown_tree( $terms, 0, $r );
|
||||||
$output .="</select>";
|
$output .="</select>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue