This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- wp-content/plugins/woocommerce-multilingual/inc/class-wcml-woocommerce-rest-api-support.php.borked 2016-08-29 11:43:57.106977178 +0200 | |
+++ wp-content/plugins/woocommerce-multilingual/inc/class-wcml-woocommerce-rest-api-support.php 2016-08-29 11:47:02.116959116 +0200 | |
@@ -391,6 +391,8 @@ | |
} | |
} else { | |
+ | |
+ if ($this->woocommerce_wpml->multi_currency->prices) { | |
$product_data['multi-currency-prices'][$currency]['regular_price'] = | |
$this->woocommerce_wpml->multi_currency->prices->raw_price_filter( $product_data['regular_price'], $currency ); |