Skip to content

Commit

Permalink
1.5.0 hotfix PHP error
Browse files Browse the repository at this point in the history
  • Loading branch information
Spreeuw committed Jun 19, 2018
1 parent 02a596b commit 051f152
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions includes/wc-improved-external-products-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
);

Expand All @@ -61,7 +61,7 @@ public function init_settings() {
array(
'menu' => $option,
'id' => 'custom_single_button_html',
'default' => '<a href="{product_url}" rel="nofollow" class="single_add_to_cart_button button alt" target="{target}">{button_text}</a>'
'default' => '<a href="{product_url}" rel="nofollow" class="single_add_to_cart_button button alt" target="{target}">{button_text}</a>',
)
);

Expand All @@ -85,7 +85,7 @@ public function init_settings() {
'menu' => $option,
'id' => 'new_tab_by_product_cat',
'default' => 'yes',
'disabled' => true
'disabled' => true,
)
);

Expand All @@ -103,7 +103,7 @@ public function init_settings() {
'yes' => __( 'Link Image to External Product from Category' , 'improvedexternalproducts' )
),
'default' => 'no',
'disabled' => true
'disabled' => true,
)
);

Expand All @@ -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,
)
);

Expand All @@ -134,8 +134,8 @@ public function init_settings() {
array(
'menu' => $option,
'id' => 'variation_custom_single_button_html',
'default' => '<a href="{product_url}" rel="nofollow" class="single_add_to_cart_button button alt" target="{target}">{button_text}</a>'
'disabled' => true
'default' => '<a href="{product_url}" rel="nofollow" class="single_add_to_cart_button button alt" target="{target}">{button_text}</a>',
'disabled' => true,
)
);

Expand All @@ -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,
)
);

Expand All @@ -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,
)
);

Expand Down

0 comments on commit 051f152

Please sign in to comment.