Version Description
- Fixed: Can't change button position
Download this release
Release Info
Developer | wpclever |
Plugin | WPC Smart Wishlist for WooCommerce |
Version | 4.2.2 |
Comparing to | |
See all releases |
Code changes from version 4.2.1 to 4.2.2
- assets/css/frontend.css +1 -4
- languages/woo-smart-wishlist.pot +2 -2
- readme.txt +4 -1
- wpc-smart-wishlist.php +5 -5
assets/css/frontend.css
CHANGED
@@ -61,10 +61,6 @@
|
|
61 |
margin: 0;
|
62 |
}
|
63 |
|
64 |
-
.woosw-popup .woosw-popup-content {
|
65 |
-
background-color: #ffffff;
|
66 |
-
}
|
67 |
-
|
68 |
.woosw-popup .woosw-popup-content-mid:before {
|
69 |
content: '';
|
70 |
width: 100%;
|
@@ -378,6 +374,7 @@ body.rtl .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-conte
|
|
378 |
position: relative;
|
379 |
color: #fff;
|
380 |
font-size: 14px;
|
|
|
381 |
text-transform: uppercase;
|
382 |
}
|
383 |
|
61 |
margin: 0;
|
62 |
}
|
63 |
|
|
|
|
|
|
|
|
|
64 |
.woosw-popup .woosw-popup-content-mid:before {
|
65 |
content: '';
|
66 |
width: 100%;
|
374 |
position: relative;
|
375 |
color: #fff;
|
376 |
font-size: 14px;
|
377 |
+
background-color: #ffffff;
|
378 |
text-transform: uppercase;
|
379 |
}
|
380 |
|
languages/woo-smart-wishlist.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the WPC Smart Wishlist for WooCommerce plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WPC Smart Wishlist for WooCommerce 4.2.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-smart-wishlist\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.5.0\n"
|
15 |
"X-Domain: woo-smart-wishlist\n"
|
2 |
# This file is distributed under the same license as the WPC Smart Wishlist for WooCommerce plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WPC Smart Wishlist for WooCommerce 4.2.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-smart-wishlist\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-07-13T06:43:42+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.5.0\n"
|
15 |
"X-Domain: woo-smart-wishlist\n"
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpclever.net
|
|
4 |
Tags: woocommerce, woo, wpc, smart, wishlist, wish list
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 4.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -106,6 +106,9 @@ Example:
|
|
106 |
|
107 |
== Changelog ==
|
108 |
|
|
|
|
|
|
|
109 |
= 4.2.1 =
|
110 |
* Fixed: Stock status of item product
|
111 |
* Added: Filter hook 'woosw_item_stock' & 'woosw_item_add_to_cart'
|
4 |
Tags: woocommerce, woo, wpc, smart, wishlist, wish list
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 4.2.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
106 |
|
107 |
== Changelog ==
|
108 |
|
109 |
+
= 4.2.2 =
|
110 |
+
* Fixed: Can't change button position
|
111 |
+
|
112 |
= 4.2.1 =
|
113 |
* Fixed: Stock status of item product
|
114 |
* Added: Filter hook 'woosw_item_stock' & 'woosw_item_add_to_cart'
|
wpc-smart-wishlist.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WPC Smart Wishlist for WooCommerce
|
4 |
Plugin URI: https://wpclever.net/
|
5 |
Description: WPC Smart Wishlist is a simple but powerful tool that can help your customer save products for buy later.
|
6 |
-
Version: 4.2.
|
7 |
Author: WPClever
|
8 |
Author URI: https://wpclever.net
|
9 |
Text Domain: woo-smart-wishlist
|
@@ -11,12 +11,12 @@ Domain Path: /languages/
|
|
11 |
Requires at least: 4.0
|
12 |
Tested up to: 6.0
|
13 |
WC requires at least: 3.0
|
14 |
-
WC tested up to: 6.
|
15 |
*/
|
16 |
|
17 |
defined( 'ABSPATH' ) || exit;
|
18 |
|
19 |
-
! defined( 'WOOSW_VERSION' ) && define( 'WOOSW_VERSION', '4.2.
|
20 |
! defined( 'WOOSW_FILE' ) && define( 'WOOSW_FILE', __FILE__ );
|
21 |
! defined( 'WOOSW_URI' ) && define( 'WOOSW_URI', plugin_dir_url( __FILE__ ) );
|
22 |
! defined( 'WOOSW_DIR' ) && define( 'WOOSW_DIR', plugin_dir_path( __FILE__ ) );
|
@@ -945,7 +945,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
|
|
945 |
}
|
946 |
|
947 |
foreach ( $positions_single as $k => $p ) {
|
948 |
-
echo '<option value="' . esc_attr( $k ) . '" ' . ( ( $k === $position_single ) || ( empty( $position_single ) && empty( $k ) ) ? 'selected' : '' ) . '>' . esc_html( $p ) . '</option>';
|
949 |
}
|
950 |
?>
|
951 |
</select>
|
@@ -1635,7 +1635,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
|
|
1635 |
foreach ( $products as $product_id => $product_data ) {
|
1636 |
$product = wc_get_product( $product_id );
|
1637 |
|
1638 |
-
if ( ! $product ) {
|
1639 |
continue;
|
1640 |
}
|
1641 |
|
3 |
Plugin Name: WPC Smart Wishlist for WooCommerce
|
4 |
Plugin URI: https://wpclever.net/
|
5 |
Description: WPC Smart Wishlist is a simple but powerful tool that can help your customer save products for buy later.
|
6 |
+
Version: 4.2.2
|
7 |
Author: WPClever
|
8 |
Author URI: https://wpclever.net
|
9 |
Text Domain: woo-smart-wishlist
|
11 |
Requires at least: 4.0
|
12 |
Tested up to: 6.0
|
13 |
WC requires at least: 3.0
|
14 |
+
WC tested up to: 6.7
|
15 |
*/
|
16 |
|
17 |
defined( 'ABSPATH' ) || exit;
|
18 |
|
19 |
+
! defined( 'WOOSW_VERSION' ) && define( 'WOOSW_VERSION', '4.2.2' );
|
20 |
! defined( 'WOOSW_FILE' ) && define( 'WOOSW_FILE', __FILE__ );
|
21 |
! defined( 'WOOSW_URI' ) && define( 'WOOSW_URI', plugin_dir_url( __FILE__ ) );
|
22 |
! defined( 'WOOSW_DIR' ) && define( 'WOOSW_DIR', plugin_dir_path( __FILE__ ) );
|
945 |
}
|
946 |
|
947 |
foreach ( $positions_single as $k => $p ) {
|
948 |
+
echo '<option value="' . esc_attr( $k ) . '" ' . ( ( strval( $k ) === strval( $position_single ) ) || ( $k === $position_single ) || ( empty( $position_single ) && empty( $k ) ) ? 'selected' : '' ) . '>' . esc_html( $p ) . '</option>';
|
949 |
}
|
950 |
?>
|
951 |
</select>
|
1635 |
foreach ( $products as $product_id => $product_data ) {
|
1636 |
$product = wc_get_product( $product_id );
|
1637 |
|
1638 |
+
if ( ! $product || $product->get_status() !== 'publish' ) {
|
1639 |
continue;
|
1640 |
}
|
1641 |
|