Remove unnecessary formating, fixes #17662

https://github.com/woocommerce/woocommerce/issues/17662
This commit is contained in:
axelmm 2017-11-11 17:26:09 +01:00 committed by GitHub
parent 220728544a
commit fb94f67b0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ class WC_Product_Variable extends WC_Product {
'attributes' => $variation->get_variation_attributes(),
'availability_html' => wc_get_stock_html( $variation ),
'backorders_allowed' => $variation->backorders_allowed(),
'dimensions' => wc_format_dimensions( $variation->get_dimensions( false ) ),
'dimensions' => $variation->get_dimensions( false ),
'dimensions_html' => wc_format_dimensions( $variation->get_dimensions( false ) ),
'display_price' => wc_get_price_to_display( $variation ),
'display_regular_price' => wc_get_price_to_display( $variation, array( 'price' => $variation->get_regular_price() ) ),