From 051f152bef0a3932a01fd76ab303db90f823937c Mon Sep 17 00:00:00 2001 From: Ewout Fernhout Date: Tue, 19 Jun 2018 13:51:23 +0200 Subject: [PATCH] 1.5.0 hotfix PHP error --- .../wc-improved-external-products-settings.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/includes/wc-improved-external-products-settings.php b/includes/wc-improved-external-products-settings.php index 9f1db04..ef94be3 100644 --- a/includes/wc-improved-external-products-settings.php +++ b/includes/wc-improved-external-products-settings.php @@ -48,7 +48,7 @@ public function init_settings() { 'yes' => __( 'Open all external products in new tab by default' , 'improvedexternalproducts' ), 'no' => __( 'Open all products in same tab by default' , 'improvedexternalproducts' ) ), - 'default' => 'no' + 'default' => 'no', ) ); @@ -61,7 +61,7 @@ public function init_settings() { array( 'menu' => $option, 'id' => 'custom_single_button_html', - 'default' => '{button_text}' + 'default' => '{button_text}', ) ); @@ -85,7 +85,7 @@ public function init_settings() { 'menu' => $option, 'id' => 'new_tab_by_product_cat', 'default' => 'yes', - 'disabled' => true + 'disabled' => true, ) ); @@ -103,7 +103,7 @@ public function init_settings() { 'yes' => __( 'Link Image to External Product from Category' , 'improvedexternalproducts' ) ), 'default' => 'no', - 'disabled' => true + 'disabled' => true, ) ); @@ -121,7 +121,7 @@ public function init_settings() { 'yes' => __( 'Link Add to Cart Button to External Product from Category' , 'improvedexternalproducts' ) ), 'default' => 'yes', - 'disabled' => true + 'disabled' => true, ) ); @@ -134,8 +134,8 @@ public function init_settings() { array( 'menu' => $option, 'id' => 'variation_custom_single_button_html', - 'default' => '{button_text}' - 'disabled' => true + 'default' => '{button_text}', + 'disabled' => true, ) ); @@ -149,7 +149,7 @@ public function init_settings() { 'menu' => $option, 'id' => 'shop_category_image_selector', 'default' => "item.closest('.product').find('a').not('.add_to_cart_button').has('img')", - 'disabled' => true + 'disabled' => true, ) ); @@ -163,7 +163,7 @@ public function init_settings() { 'menu' => $option, 'id' => 'shop_category_button_selector', 'default' => "item.closest('.product').find('a.add_to_cart_button')", - 'disabled' => true + 'disabled' => true, ) );