From a191ab7aaad658b2d8c88de387dbfb110ce2bab8 Mon Sep 17 00:00:00 2001 From: Ninos Ego Date: Fri, 12 Aug 2016 05:57:08 +0200 Subject: [PATCH] Use wp_json_encode() instead of json_encode() --- templates/single-product/add-to-cart/variable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/single-product/add-to-cart/variable.php b/templates/single-product/add-to-cart/variable.php index eddaa17fab3..ea6f2de4de0 100644 --- a/templates/single-product/add-to-cart/variable.php +++ b/templates/single-product/add-to-cart/variable.php @@ -25,7 +25,7 @@ $attribute_keys = array_keys( $attributes ); do_action( 'woocommerce_before_add_to_cart_form' ); ?> -
+