Version Description
Release Date - 22 June 2018
- Fixed WC_Cache method compatibility for WooCommerce prior to 3.2.0
Download this release
Release Info
Developer | templateinvaders |
Plugin | WooCommerce Wishlist Plugin |
Version | 1.7.3 |
Comparing to | |
See all releases |
Code changes from version 1.7.2 to 1.7.3
- public/wishlist/view.class.php +13 -1
- readme.txt +6 -1
- ti-woocommerce-wishlist.php +2 -2
public/wishlist/view.class.php
CHANGED
@@ -196,7 +196,19 @@ class TInvWL_Public_Wishlist_View {
|
|
196 |
return false;
|
197 |
}
|
198 |
|
199 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
|
201 |
$is_owner = is_user_logged_in() ? ( get_current_user_id() === $wishlist['author'] ) : $wishlist['is_owner'];
|
202 |
$nonce = filter_input( INPUT_POST, 'wishlist_nonce' );
|
196 |
return false;
|
197 |
}
|
198 |
|
199 |
+
if ( version_compare( WC_VERSION, '3.2.0', '<' ) ) {
|
200 |
+
if ( ! defined( 'DONOTCACHEPAGE' ) ) {
|
201 |
+
define( 'DONOTCACHEPAGE', true );
|
202 |
+
}
|
203 |
+
if ( ! defined( 'DONOTCACHEOBJECT' ) ) {
|
204 |
+
define( 'DONOTCACHEOBJECT', true );
|
205 |
+
}
|
206 |
+
if ( ! defined( 'DONOTCACHEDB' ) ) {
|
207 |
+
define( 'DONOTCACHEDB', true );
|
208 |
+
}
|
209 |
+
} else {
|
210 |
+
WC_Cache_Helper::set_nocache_constants();
|
211 |
+
}
|
212 |
|
213 |
$is_owner = is_user_logged_in() ? ( get_current_user_id() === $wishlist['author'] ) : $wishlist['is_owner'];
|
214 |
$nonce = filter_input( INPUT_POST, 'wishlist_nonce' );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://templateinvaders.com/?utm_source=wordpressorg&utm_content=d
|
|
4 |
Tags: wishlist, woocommerce, woocommerce wishlist, e-commerce, shop, ecommerce wishlist, shop wishlist, wishlist for Woocommerce
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -131,6 +131,11 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
|
|
131 |
|
132 |
== Changelog ==
|
133 |
|
|
|
|
|
|
|
|
|
|
|
134 |
= 1.7.2 =
|
135 |
*Release Date - 21 June 2018*
|
136 |
|
4 |
Tags: wishlist, woocommerce, woocommerce wishlist, e-commerce, shop, ecommerce wishlist, shop wishlist, wishlist for Woocommerce
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.7.3
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
131 |
|
132 |
== Changelog ==
|
133 |
|
134 |
+
= 1.7.3 =
|
135 |
+
*Release Date - 22 June 2018*
|
136 |
+
|
137 |
+
* Fixed WC_Cache method compatibility for WooCommerce prior to 3.2.0
|
138 |
+
|
139 |
= 1.7.2 =
|
140 |
*Release Date - 21 June 2018*
|
141 |
|
ti-woocommerce-wishlist.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: WooCommerce Wishlist Plugin
|
5 |
* Plugin URI: https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
6 |
* Description: Wishlist functionality for your WooCommerce store.
|
7 |
-
* Version: 1.7.
|
8 |
* Requires at least: 4.5
|
9 |
* Tested up to: 4.9
|
10 |
* WC requires at least: 2.6
|
@@ -41,7 +41,7 @@ if ( ! defined( 'TINVWL_DOMAIN' ) ) {
|
|
41 |
}
|
42 |
|
43 |
if ( ! defined( 'TINVWL_FVERSION' ) ) {
|
44 |
-
define( 'TINVWL_FVERSION', '1.7.
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'TINVWL_LOAD_FREE' ) ) {
|
4 |
* Plugin Name: WooCommerce Wishlist Plugin
|
5 |
* Plugin URI: https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
6 |
* Description: Wishlist functionality for your WooCommerce store.
|
7 |
+
* Version: 1.7.3
|
8 |
* Requires at least: 4.5
|
9 |
* Tested up to: 4.9
|
10 |
* WC requires at least: 2.6
|
41 |
}
|
42 |
|
43 |
if ( ! defined( 'TINVWL_FVERSION' ) ) {
|
44 |
+
define( 'TINVWL_FVERSION', '1.7.3' );
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'TINVWL_LOAD_FREE' ) ) {
|