Custom Product Tabs for WooCommerce - Version 1.6.6

Version Description

  • October 26th, 2018 =
  • Bumping WooCo Compatibility.
  • Changed wp_send_json_failure() to wp_send_json_error().
Download this release

Release Info

Developer yikesitskevin
Plugin Icon 128x128 Custom Product Tabs for WooCommerce
Version 1.6.6
Comparing to
See all releases

Code changes from version 1.6.5 to 1.6.6

admin/class.yikes-woo-saved-tabs.php CHANGED
@@ -378,7 +378,7 @@ if ( ! class_exists( 'YIKES_Custom_Product_Tabs_Saved_Tabs' ) ) {
378
  }
379
 
380
  // We shouldn't have gotten this far, but if we did let's return failure
381
- wp_send_json_failure();
382
  }
383
 
384
  /* End AJAX Functions */
378
  }
379
 
380
  // We shouldn't have gotten this far, but if we did let's return failure
381
+ wp_send_json_error();
382
  }
383
 
384
  /* End AJAX Functions */
admin/class.yikes-woo-tabs.php CHANGED
@@ -326,7 +326,7 @@ if ( ! class_exists( 'YIKES_Custom_Product_Tabs_Custom_Tabs' ) ) {
326
  } else {
327
 
328
  // Fail gracefully...
329
- wp_send_json_failure( array( 'message' => 'Could not find the product!' ) );
330
  }
331
 
332
  // Save our tabs!
@@ -335,7 +335,7 @@ if ( ! class_exists( 'YIKES_Custom_Product_Tabs_Custom_Tabs' ) ) {
335
  if ( $success === true ) {
336
  wp_send_json_success( array( 'message' => 'Your tabs have been saved' ) );
337
  } else {
338
- wp_send_json_failure( array( 'message' => 'Uh oh! Something went wrong with saving. Please try again.' ) );
339
  }
340
  }
341
 
326
  } else {
327
 
328
  // Fail gracefully...
329
+ wp_send_json_error( array( 'message' => 'Could not find the product!' ) );
330
  }
331
 
332
  // Save our tabs!
335
  if ( $success === true ) {
336
  wp_send_json_success( array( 'message' => 'Your tabs have been saved' ) );
337
  } else {
338
+ wp_send_json_error( array( 'message' => 'Uh oh! Something went wrong with saving. Please try again.' ) );
339
  }
340
  }
341
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yikesinc.com
4
  Tags: woocommerce, product tabs, repeatable, duplicate, customize, custom, tabs, product, woo, commerce
5
  Requires at least: 3.8
6
  Tested up to: 4.9.8
7
- Stable tag: 1.6.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -75,6 +75,13 @@ Yes! Since v1.4 we've added the necessary code to ensure the custom tab data is
75
 
76
  == Changelog ==
77
 
 
 
 
 
 
 
 
78
  = 1.6.4 - January 9th, 2018 =
79
  * Happy new year!
80
  * The editor is now vertically resizeable.
4
  Tags: woocommerce, product tabs, repeatable, duplicate, customize, custom, tabs, product, woo, commerce
5
  Requires at least: 3.8
6
  Tested up to: 4.9.8
7
+ Stable tag: 1.6.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
75
 
76
  == Changelog ==
77
 
78
+ = 1.6.6 - October 26th, 2018 =
79
+ * Bumping WooCo Compatibility.
80
+ * Changed `wp_send_json_failure()` to `wp_send_json_error()`.
81
+
82
+ = 1.6.5 - October 3rd, 2018 =
83
+ * Bumping WooCo Compatibility.
84
+
85
  = 1.6.4 - January 9th, 2018 =
86
  * Happy new year!
87
  * The editor is now vertically resizeable.
yikes-inc-easy-custom-woocommerce-product-tabs.php CHANGED
@@ -5,12 +5,12 @@
5
  * Description: Extend WooCommerce to add and manage custom product tabs. Create as many product tabs as needed per product.
6
  * Author: YIKES, Inc.
7
  * Author URI: http://www.yikesinc.com
8
- * Version: 1.6.5
9
  * Text Domain: yikes-inc-easy-custom-woocommerce-product-tabs
10
  * Domain Path: languages/
11
  *
12
  * WC requires at least: 3.0.0
13
- * WC tested up to: 3.4
14
  *
15
  * Copyright: (c) 2014-2015 YIKES Inc.
16
  *
@@ -107,7 +107,7 @@
107
  * Define the plugin's version
108
  */
109
  if ( ! defined( 'YIKES_Custom_Product_Tabs_Version' ) ) {
110
- define( 'YIKES_Custom_Product_Tabs_Version', '1.6.5' );
111
  }
112
 
113
  /**
5
  * Description: Extend WooCommerce to add and manage custom product tabs. Create as many product tabs as needed per product.
6
  * Author: YIKES, Inc.
7
  * Author URI: http://www.yikesinc.com
8
+ * Version: 1.6.6
9
  * Text Domain: yikes-inc-easy-custom-woocommerce-product-tabs
10
  * Domain Path: languages/
11
  *
12
  * WC requires at least: 3.0.0
13
+ * WC tested up to: 3.5
14
  *
15
  * Copyright: (c) 2014-2015 YIKES Inc.
16
  *
107
  * Define the plugin's version
108
  */
109
  if ( ! defined( 'YIKES_Custom_Product_Tabs_Version' ) ) {
110
+ define( 'YIKES_Custom_Product_Tabs_Version', '1.6.6' );
111
  }
112
 
113
  /**