YITH WooCommerce Wishlist - Version 1.1.5

Version Description

  • Added: Share wishlist by email
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Wishlist
Version 1.1.5
Comparing to
See all releases

Code changes from version 1.1.4 to 1.1.5

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.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -75,6 +75,10 @@ Yes, you can change the colors of background, text and border or apply a custom
75
 
76
  == Changelog ==
77
 
 
 
 
 
78
  = 1.1.4 =
79
 
80
  * Fixed: wrong string for inline js on remove link
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.5
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.5 =
79
+
80
+ * Added: Share wishlist by email
81
+
82
  = 1.1.4 =
83
 
84
  * Fixed: wrong string for inline js on remove link
add-to-cart.php CHANGED
@@ -4,7 +4,7 @@
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
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
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.4
7
  */
8
 
9
  #yith_wcwl_styles .color_box {
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Wishlist
6
+ * @version 1.1.5
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.4
7
  */
8
 
9
 
@@ -60,7 +60,7 @@
60
  .yith-wcwl-share li a.twitter { background-image: url(../images/twitter.png ); }
61
  .yith-wcwl-share li a.pinterest { background-image: url(../images/pinterest.jpg ); }
62
  .yith-wcwl-share li a.googleplus { background-image: url(../images/googleplus.jpg ); }
63
-
64
 
65
  /* AJAX loading gif */
66
  .yith-wcwl-add-to-wishlist .ajax-loading {
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Wishlist
6
+ * @version 1.1.5
7
  */
8
 
9
 
60
  .yith-wcwl-share li a.twitter { background-image: url(../images/twitter.png ); }
61
  .yith-wcwl-share li a.pinterest { background-image: url(../images/pinterest.jpg ); }
62
  .yith-wcwl-share li a.googleplus { background-image: url(../images/googleplus.jpg ); }
63
+ .yith-wcwl-share li a.email { background-image: url(../images/email.jpg ); }
64
 
65
  /* AJAX loading gif */
66
  .yith-wcwl-add-to-wishlist .ajax-loading {
assets/images/email.jpg ADDED
Binary file
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.4
8
  */
9
 
10
  if ( ! defined( 'YITH_WCWL' ) ) {
@@ -24,7 +24,7 @@ if ( ! class_exists( 'YITH_WCWL_Init' ) ) {
24
  * @var string
25
  * @since 1.0.0
26
  */
27
- public $version = '1.1.3';
28
 
29
  /**
30
  * Plugin database version
@@ -1054,6 +1054,13 @@ if ( ! class_exists( 'YITH_WCWL_Init' ) ) {
1054
  'std' => 'yes', // for woocommerce < 2.0
1055
  'default' => 'yes', // for woocommerce >= 2.0
1056
  'type' => 'checkbox'
 
 
 
 
 
 
 
1057
  ),
1058
  array(
1059
  'name' => __( 'Socials title', 'yit' ),
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
8
  */
9
 
10
  if ( ! defined( 'YITH_WCWL' ) ) {
24
  * @var string
25
  * @since 1.0.0
26
  */
27
+ public $version = '1.1.5';
28
 
29
  /**
30
  * Plugin database version
1054
  'std' => 'yes', // for woocommerce < 2.0
1055
  'default' => 'yes', // for woocommerce >= 2.0
1056
  'type' => 'checkbox'
1057
+ ),
1058
+ array(
1059
+ 'name' => __( 'Share by Email', 'yit' ),
1060
+ 'id' => 'yith_wcwl_share_email',
1061
+ 'std' => 'yes', // for woocommerce < 2.0
1062
+ 'default' => 'yes', // for woocommerce >= 2.0
1063
+ 'type' => 'checkbox'
1064
  ),
1065
  array(
1066
  'name' => __( 'Socials title', 'yit' ),
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.4
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.5
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.4
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.5
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.4
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
@@ -150,6 +150,9 @@ public static function popup_message() {
150
  if( get_option( 'yith_wcwl_share_googleplus' ) == 'yes' )
151
  { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="googleplus" href="https://plus.google.com/share?url=' . $url . '&amp;title="' . $title . '" onclick=\'javascript:window.open(this.href, "", "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600");return false;\'></a></li>'; }
152
 
 
 
 
153
  $html .= '</ul>';
154
  $html .= '</div>';
155
 
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
150
  if( get_option( 'yith_wcwl_share_googleplus' ) == 'yes' )
151
  { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="googleplus" href="https://plus.google.com/share?url=' . $url . '&amp;title="' . $title . '" onclick=\'javascript:window.open(this.href, "", "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600");return false;\'></a></li>'; }
152
 
153
+ if( get_option( 'yith_wcwl_share_email' ) == 'yes' )
154
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a class="email" href="mailto:?subject=I wanted you to see this site&amp;body= ' . $url . '&amp;title="' . __('email', 'yit') . '" ></a></li>'; }
155
+
156
  $html .= '</ul>';
157
  $html .= '</div>';
158
 
class.yith-wcwl.php CHANGED
@@ -4,7 +4,7 @@
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
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
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.4
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.5
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.4
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.4
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.5
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.5
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
templates/share.php CHANGED
@@ -4,12 +4,12 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.1.4
8
  */
9
 
10
  global $yith_wcwl;
11
 
12
- if( get_option( 'yith_wcwl_share_fb' ) == 'yes' || get_option( 'yith_wcwl_share_twitter' ) == 'yes' || get_option( 'yith_wcwl_share_pinterest' ) == 'yes' || get_option( 'yith_wcwl_share_googleplus' ) == 'yes' ) {
13
  $share_url = $yith_wcwl->get_wishlist_url();
14
  $share_url .= get_option( 'permalink-structure' ) != '' ? '&amp;user_id=' : '?user_id=';
15
  $share_url .= get_current_user_id();
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
8
  */
9
 
10
  global $yith_wcwl;
11
 
12
+ if( get_option( 'yith_wcwl_share_fb' ) == 'yes' || get_option( 'yith_wcwl_share_twitter' ) == 'yes' || get_option( 'yith_wcwl_share_pinterest' ) == 'yes' || get_option( 'yith_wcwl_share_googleplus' ) == 'yes' || get_option( 'yith_wcwl_share_email' ) == 'yes') {
13
  $share_url = $yith_wcwl->get_wishlist_url();
14
  $share_url .= get_option( 'permalink-structure' ) != '' ? '&amp;user_id=' : '?user_id=';
15
  $share_url .= get_current_user_id();
templates/wishlist.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.1.4
8
  */
9
 
10
  global $wpdb, $yith_wcwl, $woocommerce;
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
8
  */
9
 
10
  global $wpdb, $yith_wcwl, $woocommerce;
uninstall.php CHANGED
@@ -4,7 +4,7 @@
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
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
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.4
8
  */
9
 
10
  /**
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YIHT WooCommerce Wishlist
7
+ * @version 1.1.5
8
  */
9
 
10
  /**