Merge pull request #2541 from dgwatkins/master

Apply filters to custom attribute option names for translation
This commit is contained in:
Mike Jolley 2013-02-28 07:29:02 -08:00
commit b1d613af6c
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ class WC_Cart {
if ( ! is_wp_error( $term ) && $term->name )
$value = $term->name;
} else {
$value = ucfirst( $value );
$value = ucfirst( apply_filters( 'woocommerce_variation_option_name', $value ) );
}
if ( $flat )