Updated the tags and category taxonomies to show as 'product tags' and 'product categories' to remove confusion on the menu screen options when you're trying to create a link to a product tag or category. Previously they showed up as simply 'category' and 'tag' which created confusion since the internal WordPress taxonomies have the same name.

This commit is contained in:
Curtis McHale 2011-11-29 11:08:32 -08:00
parent 876c94f227
commit 4fe06433fc
1 changed files with 4 additions and 4 deletions

View File

@ -46,9 +46,9 @@ function woocommerce_post_type() {
array(
'hierarchical' => true,
'update_count_callback' => '_update_post_term_count',
'label' => __( 'Categories', 'woothemes'),
'label' => __( 'Product Categories', 'woothemes'),
'labels' => array(
'name' => __( 'Categories', 'woothemes'),
'name' => __( 'Product Categories', 'woothemes'),
'singular_name' => __( 'Product Category', 'woothemes'),
'search_items' => __( 'Search Product Categories', 'woothemes'),
'all_items' => __( 'All Product Categories', 'woothemes'),
@ -69,9 +69,9 @@ function woocommerce_post_type() {
array('product'),
array(
'hierarchical' => false,
'label' => __( 'Tags', 'woothemes'),
'label' => __( 'Product Tags', 'woothemes'),
'labels' => array(
'name' => __( 'Tags', 'woothemes'),
'name' => __( 'Product Tags', 'woothemes'),
'singular_name' => __( 'Product Tag', 'woothemes'),
'search_items' => __( 'Search Product Tags', 'woothemes'),
'all_items' => __( 'All Product Tags', 'woothemes'),