One more change to the file comparing it with release version

This commit is contained in:
Nirav Mehta 2012-09-04 17:00:16 +05:30
parent 5b8d5d7092
commit ff6daafa7a
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ function variable_product_type_options() {
else :
$options = explode('|', $attribute['value']);
foreach ($options as $option) :
echo '<option '.selected($variation_selected_value, $option, false).' value="'.$option.'">'.ucfirst($option).'</option>';
echo '<option '.selected($variation_selected_value, $option, false).' value="'.$option.'">'.ucfirst( apply_filters( 'woocommerce_variation_option_name', $option ) ).'</option>';
endforeach;
endif;