Skip to content

Commit

Permalink
Merge pull request woocommerce#2541 from dgwatkins/master
Browse files Browse the repository at this point in the history
Apply filters to custom attribute option names for translation
  • Loading branch information
mikejolley committed Feb 28, 2013
2 parents f7d52e5 + 38a2aac commit b1d613a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class-wc-cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ public function get_item_data( $cart_item, $flat = false ) {
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 )
Expand Down

0 comments on commit b1d613a

Please sign in to comment.