Free is an amount!

All product prices are wrapped in `span class=“amount”`. To make
themers lives easier let’s be consistent. When the product is free the
price should still be wrapped.
This commit is contained in:
James Koster 2015-09-04 11:19:52 +01:00
parent 69d151ab2a
commit 8eebc7c900
1 changed files with 1 additions and 1 deletions

View File

@ -967,7 +967,7 @@ class WC_Product {
} else {
$price = __( 'Free!', 'woocommerce' );
$price = '<span class="amount">' . __( 'Free!', 'woocommerce' ) . '</span>';
$price = apply_filters( 'woocommerce_free_price_html', $price, $this );