Version Description
Release Date - 10 February 2019
- Fixed compatibility with WooCommerce Multilingual plugin version greater 4.3.7
- Added 'tinvwl-wc-cart-fragments' filter to disable wc-cart-fragments from 3rd party code
- Added unique IDs for Wishlist menu options to avoid any incompatibility issues with another plugin options
Download this release
Release Info
Developer | templateinvaders |
Plugin | WooCommerce Wishlist Plugin |
Version | 1.9.11 |
Comparing to | |
See all releases |
Code changes from version 1.9.10 to 1.9.11
- admin/tinvwl.class.php +1 -1
- assets/css/admin-form.min.css +1 -1
- assets/css/admin-setup.min.css +1 -1
- assets/css/admin.min.css +1 -1
- assets/css/public.min.css +1 -1
- assets/css/theme.min.css +1 -1
- assets/js/admin.min.js +1 -1
- assets/js/public.min.js +1 -1
- languages/ti-woocommerce-wishlist.pot +12 -12
- public/tinvwl.class.php +1 -1
- readme.txt +8 -1
- ti-woocommerce-wishlist.php +2 -2
- tinv-wishlists-function-integration.php +13 -2
admin/tinvwl.class.php
CHANGED
@@ -124,7 +124,7 @@ class TInvWL_Admin_TInvWL extends TInvWL_Admin_Base {
|
|
124 |
*/
|
125 |
function action_menu() {
|
126 |
global $wp_roles;
|
127 |
-
$page = add_menu_page( 'TI Wishlist', 'TI Wishlist', 'tinvwl_general_settings', $this->_name, null, TINVWL_URL . 'assets/img/icon_menu.png',
|
128 |
add_action( "load-$page", array( $this, 'onload' ) );
|
129 |
$menu = apply_filters( $this->_name . '_admin_menu', array() );
|
130 |
foreach ( $menu as $item ) {
|
124 |
*/
|
125 |
function action_menu() {
|
126 |
global $wp_roles;
|
127 |
+
$page = add_menu_page( 'TI Wishlist', 'TI Wishlist', 'tinvwl_general_settings', $this->_name, null, TINVWL_URL . 'assets/img/icon_menu.png', '55.888' );
|
128 |
add_action( "load-$page", array( $this, 'onload' ) );
|
129 |
$menu = apply_filters( $this->_name . '_admin_menu', array() );
|
130 |
foreach ( $menu as $item ) {
|
assets/css/admin-form.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.9.
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.9.11
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
assets/css/admin-setup.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.9.
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.9.11
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
assets/css/admin.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.9.
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.9.11
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
assets/css/public.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.9.
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.9.11
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
assets/css/theme.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.9.
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.9.11
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
assets/js/admin.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.9.
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.9.11
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
assets/js/public.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WooCommerce Wishlist Plugin - version 1.9.
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! WooCommerce Wishlist Plugin - version 1.9.11
|
2 |
* https://wordpress.org/plugins/ti-woocommerce-wishlist/
|
3 |
* Copyright (c) 2019;
|
4 |
* Licensed GPLv2+ */
|
languages/ti-woocommerce-wishlist.pot
CHANGED
@@ -5,7 +5,7 @@ msgstr ""
|
|
5 |
"Project-Id-Version: WooCommerce Wishlist Plugin {{ VERSION }}\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/ti-woocommerce-wishlist\n"
|
8 |
-
"POT-Creation-Date: 2019-02-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -1120,10 +1120,10 @@ msgid "Select for bulk action"
|
|
1120 |
msgstr ""
|
1121 |
|
1122 |
#: templates/ti-wishlist-user.php:116 templates/ti-wishlist.php:124
|
1123 |
-
#: tinv-wishlists-function-integration.php:
|
1124 |
-
#: tinv-wishlists-function-integration.php:
|
1125 |
-
#: tinv-wishlists-function-integration.php:
|
1126 |
-
#: tinv-wishlists-function-integration.php:
|
1127 |
msgid "In stock"
|
1128 |
msgstr ""
|
1129 |
|
@@ -1131,31 +1131,31 @@ msgstr ""
|
|
1131 |
msgid "Select options"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: tinv-wishlists-function-integration.php:
|
1135 |
msgid "Note"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
-
#: tinv-wishlists-function-integration.php:
|
1139 |
msgid "To"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
-
#: tinv-wishlists-function-integration.php:
|
1143 |
msgid "To Email"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
-
#: tinv-wishlists-function-integration.php:
|
1147 |
msgid "Address"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#: tinv-wishlists-function-integration.php:
|
1151 |
msgid "Reload existing Gift Card"
|
1152 |
msgstr ""
|
1153 |
|
1154 |
-
#: tinv-wishlists-function-integration.php:
|
1155 |
msgid "Out of stock"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: tinv-wishlists-function-integration.php:
|
1159 |
msgid "Base price"
|
1160 |
msgstr ""
|
1161 |
|
5 |
"Project-Id-Version: WooCommerce Wishlist Plugin {{ VERSION }}\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/ti-woocommerce-wishlist\n"
|
8 |
+
"POT-Creation-Date: 2019-02-10 13:57:06+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
#: templates/ti-wishlist-user.php:116 templates/ti-wishlist.php:124
|
1123 |
+
#: tinv-wishlists-function-integration.php:764
|
1124 |
+
#: tinv-wishlists-function-integration.php:921
|
1125 |
+
#: tinv-wishlists-function-integration.php:1083
|
1126 |
+
#: tinv-wishlists-function-integration.php:1297
|
1127 |
msgid "In stock"
|
1128 |
msgstr ""
|
1129 |
|
1131 |
msgid "Select options"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: tinv-wishlists-function-integration.php:473
|
1135 |
msgid "Note"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
+
#: tinv-wishlists-function-integration.php:476
|
1139 |
msgid "To"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
+
#: tinv-wishlists-function-integration.php:479
|
1143 |
msgid "To Email"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
+
#: tinv-wishlists-function-integration.php:482
|
1147 |
msgid "Address"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
+
#: tinv-wishlists-function-integration.php:485
|
1151 |
msgid "Reload existing Gift Card"
|
1152 |
msgstr ""
|
1153 |
|
1154 |
+
#: tinv-wishlists-function-integration.php:1236
|
1155 |
msgid "Out of stock"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
+
#: tinv-wishlists-function-integration.php:1642
|
1159 |
msgid "Base price"
|
1160 |
msgstr ""
|
1161 |
|
public/tinvwl.class.php
CHANGED
@@ -477,7 +477,7 @@ class TInvWL_Public_TInvWL {
|
|
477 |
wp_register_script( $this->_name, TINVWL_URL . 'assets/js/public' . $suffix . '.js', array(
|
478 |
'jquery',
|
479 |
version_compare( WC_VERSION, '3.0.0', '<' ) ? 'jquery-cookie' : 'js-cookie',
|
480 |
-
'wc-cart-fragments'
|
481 |
), $this->_version, true );
|
482 |
wp_localize_script( $this->_name, 'tinvwl_add_to_wishlist', array(
|
483 |
'text_create' => __( 'Create New', 'ti-woocommerce-wishlist' ),
|
477 |
wp_register_script( $this->_name, TINVWL_URL . 'assets/js/public' . $suffix . '.js', array(
|
478 |
'jquery',
|
479 |
version_compare( WC_VERSION, '3.0.0', '<' ) ? 'jquery-cookie' : 'js-cookie',
|
480 |
+
apply_filters( 'tinvwl-wc-cart-fragments', true ) ? 'wc-cart-fragments' : ''
|
481 |
), $this->_version, true );
|
482 |
wp_localize_script( $this->_name, 'tinvwl_add_to_wishlist', array(
|
483 |
'text_create' => __( 'Create New', 'ti-woocommerce-wishlist' ),
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://templateinvaders.com/product/ti-woocommerce-wishlist-wordpr
|
|
4 |
Tags: wishlist, woocommerce, woocommerce wishlist, e-commerce, ecommerce
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.0
|
7 |
-
Stable tag: 1.9.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -130,6 +130,13 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
|
|
130 |
|
131 |
|
132 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
= 1.9.10 =
|
134 |
*Release Date - 1 February 2019*
|
135 |
|
4 |
Tags: wishlist, woocommerce, woocommerce wishlist, e-commerce, ecommerce
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.0
|
7 |
+
Stable tag: 1.9.11
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
130 |
|
131 |
|
132 |
== Changelog ==
|
133 |
+
= 1.9.11 =
|
134 |
+
*Release Date - 10 February 2019*
|
135 |
+
|
136 |
+
* Fixed compatibility with [WooCommerce Multilingual](https://wordpress.org/plugins/woocommerce-multilingual/) plugin version greater 4.3.7
|
137 |
+
* Added 'tinvwl-wc-cart-fragments' filter to disable wc-cart-fragments from 3rd party code
|
138 |
+
* Added unique IDs for Wishlist menu options to avoid any incompatibility issues with another plugin options
|
139 |
+
|
140 |
= 1.9.10 =
|
141 |
*Release Date - 1 February 2019*
|
142 |
|
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.9.
|
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.9.
|
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.9.11
|
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.9.11' );
|
45 |
}
|
46 |
|
47 |
if ( ! defined( 'TINVWL_LOAD_FREE' ) ) {
|
tinv-wishlists-function-integration.php
CHANGED
@@ -269,7 +269,13 @@ if ( ! function_exists( 'tinvwl_wpml_addtowishlist_out_prepare' ) ) {
|
|
269 |
global $woocommerce_wpml, $sitepress, $wpdb;
|
270 |
|
271 |
// Reload products class.
|
272 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
if ( array_key_exists( 'product_id', $attr ) && ! empty( $attr['product_id'] ) ) {
|
274 |
$attr['product_id'] = $woocommerce_wpml->products->get_original_product_id( $attr['product_id'] );
|
275 |
}
|
@@ -300,7 +306,12 @@ if ( ! function_exists( 'tinvwl_wpml_addtowishlist_out_prepare_product' ) ) {
|
|
300 |
global $woocommerce_wpml, $sitepress, $wpdb;
|
301 |
|
302 |
// Reload products class.
|
303 |
-
|
|
|
|
|
|
|
|
|
|
|
304 |
|
305 |
$product_id = version_compare( WC_VERSION, '3.0.0', '<' ) ? $product->get_id() : ( $product->is_type( 'variation' ) ? $product->get_parent_id() : $product->get_id() );
|
306 |
$variation_id = version_compare( WC_VERSION, '3.0.0', '<' ) ? $product->variation_id : ( $product->is_type( 'variation' ) ? $product->get_id() : 0 );
|
269 |
global $woocommerce_wpml, $sitepress, $wpdb;
|
270 |
|
271 |
// Reload products class.
|
272 |
+
if ( version_compare( WCML_VERSION, '4.4.0', '<' ) ) {
|
273 |
+
$woocommerce_wpml->products = new WCML_Products( $woocommerce_wpml, $sitepress, $wpdb );
|
274 |
+
} else {
|
275 |
+
global $wpml_post_translations;
|
276 |
+
$woocommerce_wpml->products = new WCML_Products( $woocommerce_wpml, $sitepress, $wpml_post_translations, $wpdb );
|
277 |
+
}
|
278 |
+
|
279 |
if ( array_key_exists( 'product_id', $attr ) && ! empty( $attr['product_id'] ) ) {
|
280 |
$attr['product_id'] = $woocommerce_wpml->products->get_original_product_id( $attr['product_id'] );
|
281 |
}
|
306 |
global $woocommerce_wpml, $sitepress, $wpdb;
|
307 |
|
308 |
// Reload products class.
|
309 |
+
if ( version_compare( WCML_VERSION, '4.4.0', '<' ) ) {
|
310 |
+
$woocommerce_wpml->products = new WCML_Products( $woocommerce_wpml, $sitepress, $wpdb );
|
311 |
+
} else {
|
312 |
+
global $wpml_post_translations;
|
313 |
+
$woocommerce_wpml->products = new WCML_Products( $woocommerce_wpml, $sitepress, $wpml_post_translations, $wpdb );
|
314 |
+
}
|
315 |
|
316 |
$product_id = version_compare( WC_VERSION, '3.0.0', '<' ) ? $product->get_id() : ( $product->is_type( 'variation' ) ? $product->get_parent_id() : $product->get_id() );
|
317 |
$variation_id = version_compare( WC_VERSION, '3.0.0', '<' ) ? $product->variation_id : ( $product->is_type( 'variation' ) ? $product->get_id() : 0 );
|