Version Description
- Fixed: wrong string for inline js on remove link
- Fixed: wrong string for inline js on add to cart link
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Wishlist |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
- README.txt +6 -1
- add-to-cart.php +1 -1
- assets/css/admin.css +1 -1
- assets/css/style.css +1 -1
- class.yith-wcwl-init.php +1 -1
- class.yith-wcwl-install.php +1 -1
- class.yith-wcwl-shortcode.php +1 -1
- class.yith-wcwl-ui.php +5 -3
- class.yith-wcwl.php +1 -1
- functions.yith-wcwl.php +1 -1
- init.php +2 -2
- templates/share.php +1 -1
- templates/wishlist.php +3 -2
- uninstall.php +1 -1
- yith-wcwl-ajax.php +1 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -75,6 +75,11 @@ Yes, you can change the colors of background, text and border or apply a custom
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
|
|
|
|
78 |
= 1.1.3 =
|
79 |
|
80 |
* Added: Options Tabs Filter
|
4 |
Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.1.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.1.4 =
|
79 |
+
|
80 |
+
* Fixed: wrong string for inline js on remove link
|
81 |
+
* Fixed: wrong string for inline js on add to cart link
|
82 |
+
|
83 |
= 1.1.3 =
|
84 |
|
85 |
* Added: Options Tabs Filter
|
add-to-cart.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
// Handles all ajax requests pertaining to this plugin
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
// Handles all ajax requests pertaining to this plugin
|
assets/css/admin.css
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Wishlist
|
6 |
-
* @version 1.1.
|
7 |
*/
|
8 |
|
9 |
#yith_wcwl_styles .color_box {
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Wishlist
|
6 |
+
* @version 1.1.4
|
7 |
*/
|
8 |
|
9 |
#yith_wcwl_styles .color_box {
|
assets/css/style.css
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Wishlist
|
6 |
-
* @version 1.1.
|
7 |
*/
|
8 |
|
9 |
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Wishlist
|
6 |
+
* @version 1.1.4
|
7 |
*/
|
8 |
|
9 |
|
class.yith-wcwl-init.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'YITH_WCWL' ) ) {
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
if ( ! defined( 'YITH_WCWL' ) ) {
|
class.yith-wcwl-install.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
class.yith-wcwl-shortcode.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
class.yith-wcwl-ui.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
@@ -101,7 +101,8 @@ public static function popup_message() {
|
|
101 |
if( $product->product_type == 'external' ) {
|
102 |
$cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '"';
|
103 |
} else {
|
104 |
-
$
|
|
|
105 |
}
|
106 |
|
107 |
$cartlink .= $style . '>' . $icon . $label . '</a>';
|
@@ -109,7 +110,8 @@ public static function popup_message() {
|
|
109 |
if( $product->product_type == 'external' ) {
|
110 |
$cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '">' . $icon . $label . '</a>';
|
111 |
} else {
|
112 |
-
$
|
|
|
113 |
}
|
114 |
}
|
115 |
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
101 |
if( $product->product_type == 'external' ) {
|
102 |
$cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '"';
|
103 |
} else {
|
104 |
+
$js_action = esc_attr( 'check_for_stock(\'' . $url . '\',\'' . $stock_status . '\',\'' . $redirect_to_cart . '\');' );
|
105 |
+
$cartlink .= '<a class="add_to_cart button alt" onclick="' . $js_action . '"';
|
106 |
}
|
107 |
|
108 |
$cartlink .= $style . '>' . $icon . $label . '</a>';
|
110 |
if( $product->product_type == 'external' ) {
|
111 |
$cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '">' . $icon . $label . '</a>';
|
112 |
} else {
|
113 |
+
$js_action = esc_attr( 'check_for_stock(\'' . $url . '\',\'' . $stock_status . '\',\'' . $redirect_to_cart . '\');' );
|
114 |
+
$cartlink .= '<a class="add_to_cart button alt" href="javascript:void(0);" onclick="' . $js_action . '">' . $icon . $label . '</a>';
|
115 |
}
|
116 |
}
|
117 |
|
class.yith-wcwl.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
functions.yith-wcwl.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Wishlist
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
|
6 |
-
* Version: 1.1.
|
7 |
* Author: Your Inspiration Themes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Your Inspiration Themes
|
13 |
* @package YITH WooCommerce Wishlist
|
14 |
-
* @version 1.1.
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
3 |
* Plugin Name: YITH WooCommerce Wishlist
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
|
6 |
+
* Version: 1.1.4
|
7 |
* Author: Your Inspiration Themes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
11 |
*
|
12 |
* @author Your Inspiration Themes
|
13 |
* @package YITH WooCommerce Wishlist
|
14 |
+
* @version 1.1.4
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
templates/share.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
global $yith_wcwl;
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
global $yith_wcwl;
|
templates/wishlist.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
global $wpdb, $yith_wcwl, $woocommerce;
|
@@ -101,7 +101,8 @@ if( function_exists('wc_print_notices') ) {
|
|
101 |
|
102 |
if( $product_obj !== false && $product_obj->exists() ) : ?>
|
103 |
<tr id="yith-wcwl-row-<?php echo $values['ID'] ?>">
|
104 |
-
|
|
|
105 |
<td class="product-thumbnail">
|
106 |
<a href="<?php echo esc_url( get_permalink( apply_filters( 'woocommerce_in_cart_product', $values['prod_id'] ) ) ) ?>">
|
107 |
<?php echo $product_obj->get_image() ?>
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
global $wpdb, $yith_wcwl, $woocommerce;
|
101 |
|
102 |
if( $product_obj !== false && $product_obj->exists() ) : ?>
|
103 |
<tr id="yith-wcwl-row-<?php echo $values['ID'] ?>">
|
104 |
+
<?php $remove_wishlist = esc_attr( "remove_item_from_wishlist( '" . esc_url( $yith_wcwl->get_remove_url( $values['ID'] ) ) . "', 'yith-wcwl-row-" . $values['ID'] ."');" ); ?>
|
105 |
+
<td class="product-remove"><div><a href="javascript:void(0)" onclick="<?php echo $remove_wishlist ?>" class="remove" title="<?php _e( 'Remove this product', 'yit' ) ?>">×</a></td>
|
106 |
<td class="product-thumbnail">
|
107 |
<a href="<?php echo esc_url( get_permalink( apply_filters( 'woocommerce_in_cart_product', $values['prod_id'] ) ) ) ?>">
|
108 |
<?php echo $product_obj->get_image() ?>
|
uninstall.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
// If uninstall not called from WordPress exit
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
// If uninstall not called from WordPress exit
|
yith-wcwl-ajax.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YIHT WooCommerce Wishlist
|
7 |
-
* @version 1.1.
|
8 |
*/
|
9 |
|
10 |
/**
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YIHT WooCommerce Wishlist
|
7 |
+
* @version 1.1.4
|
8 |
*/
|
9 |
|
10 |
/**
|