Version Description
- January 23rd, 2016 =
- Re-did 1.5.4 changes - checking for function existence before using it
Download this release
Release Info
Developer | yikesitskevin |
Plugin | Custom Product Tabs for WooCommerce |
Version | 1.5.5 |
Comparing to | |
See all releases |
Code changes from version 1.5.4 to 1.5.5
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Requires at least: 3.8
|
|
6 |
Tested up to: 4.7.1
|
7 |
Requires WooCommerce at least: 2.0
|
8 |
Tested WooCommerce up to: 2.6.9
|
9 |
-
Stable tag: 1.5.
|
10 |
License: GPLv2 or later
|
11 |
|
12 |
Add custom tabs with content to products in WooCommerce.
|
@@ -74,6 +74,9 @@ Yes! Since v1.4 we've added the necessary code to ensure the custom tab data is
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
77 |
= 1.5.4 - January 23rd, 2016 =
|
78 |
* Re-did 1.5.3 changes - `the_content` filter is reapplied and the specific Site Builder plugin's filters are
|
79 |
|
6 |
Tested up to: 4.7.1
|
7 |
Requires WooCommerce at least: 2.0
|
8 |
Tested WooCommerce up to: 2.6.9
|
9 |
+
Stable tag: 1.5.5
|
10 |
License: GPLv2 or later
|
11 |
|
12 |
Add custom tabs with content to products in WooCommerce.
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 1.5.5 - January 23rd, 2016 =
|
78 |
+
* Re-did 1.5.4 changes - checking for function existence before using it
|
79 |
+
|
80 |
= 1.5.4 - January 23rd, 2016 =
|
81 |
* Re-did 1.5.3 changes - `the_content` filter is reapplied and the specific Site Builder plugin's filters are
|
82 |
|
yikes-inc-easy-custom-woocommerce-product-tabs.php
CHANGED
@@ -5,7 +5,7 @@
|
|
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.5.
|
9 |
* Text Domain: yikes-inc-easy-custom-woocommerce-product-tabs
|
10 |
* Domain Path: languages/
|
11 |
*
|
@@ -62,7 +62,7 @@
|
|
62 |
private $tab_data = false;
|
63 |
|
64 |
/** plugin version number */
|
65 |
-
const VERSION = '1.5.
|
66 |
|
67 |
/** plugin text domain */
|
68 |
const TEXT_DOMAIN = 'yikes-inc-easy-custom-woocommerce-product-tabs';
|
@@ -320,7 +320,7 @@
|
|
320 |
$content = apply_filters( 'the_content', $tab['content'] );
|
321 |
|
322 |
// Hardcoding Site Origin Page Builder conflict fix - re-add their the_content filter
|
323 |
-
add_filter( 'the_content', 'siteorigin_panels_filter_content' );
|
324 |
|
325 |
echo apply_filters( 'yikes_woocommerce_custom_repeatable_product_tabs_heading', '<h2 class="yikes-custom-woo-tab-title yikes-custom-woo-tab-title-'.sanitize_title($tab['title']).'">' . $tab['title'] . '</h2>', $tab );
|
326 |
echo apply_filters( 'yikes_woocommerce_custom_repeatable_product_tabs_content', $content, $tab );
|
@@ -1153,4 +1153,4 @@
|
|
1153 |
}
|
1154 |
|
1155 |
/* End Misc. */
|
1156 |
-
}
|
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.5.5
|
9 |
* Text Domain: yikes-inc-easy-custom-woocommerce-product-tabs
|
10 |
* Domain Path: languages/
|
11 |
*
|
62 |
private $tab_data = false;
|
63 |
|
64 |
/** plugin version number */
|
65 |
+
const VERSION = '1.5.5';
|
66 |
|
67 |
/** plugin text domain */
|
68 |
const TEXT_DOMAIN = 'yikes-inc-easy-custom-woocommerce-product-tabs';
|
320 |
$content = apply_filters( 'the_content', $tab['content'] );
|
321 |
|
322 |
// Hardcoding Site Origin Page Builder conflict fix - re-add their the_content filter
|
323 |
+
if ( function_exists( 'siteorigin_panels_filter_content' ) ) add_filter( 'the_content', 'siteorigin_panels_filter_content' );
|
324 |
|
325 |
echo apply_filters( 'yikes_woocommerce_custom_repeatable_product_tabs_heading', '<h2 class="yikes-custom-woo-tab-title yikes-custom-woo-tab-title-'.sanitize_title($tab['title']).'">' . $tab['title'] . '</h2>', $tab );
|
326 |
echo apply_filters( 'yikes_woocommerce_custom_repeatable_product_tabs_content', $content, $tab );
|
1153 |
}
|
1154 |
|
1155 |
/* End Misc. */
|
1156 |
+
}
|