array(
+ 'class' => true,
+ 'data-*' => true,
+ 'aria-*' => true,
+ 'role' => true,
+ 'xmlns' => true,
+ 'width' => true,
+ 'height' => true,
+ 'viewbox' => true,
+ 'version' => true,
+ 'x' => true,
+ 'y' => true,
+ 'style' => true,
+ 'fill' => true,
+ 'stroke' => true,
+ 'stroke-width' => true,
+ ),
+ 'circle' => array(
+ 'class' => true,
+ 'cx' => true,
+ 'cy' => true,
+ 'r' => true,
+ ),
+ 'g' => array( 'fill' => true ),
+ 'polyline' => array(
+ 'class' => true,
+ 'points' => true,
+ ),
+ 'polygon' => array(
+ 'class' => true,
+ 'points' => true,
+ ),
+ 'line' => array(
+ 'class' => true,
+ 'x1' => true,
+ 'x2' => true,
+ 'y1' => true,
+ 'y2' => true,
+ ),
+ 'title' => array( 'title' => true ),
+ 'path' => array(
+ 'class' => true,
+ 'd' => true,
+ 'fill' => true,
+ 'stroke-linecap' => true,
+ 'stroke-linejoin' => true,
+ ),
+ 'rect' => array(
+ 'class' => true,
+ 'x' => true,
+ 'y' => true,
+ 'fill' => true,
+ 'width' => true,
+ 'height' => true,
+ ),
+ );
+ }
+}
diff --git a/plugin-options/settings-options.php b/plugin-options/settings-options.php
index 36013b9..bc0b3e0 100644
--- a/plugin-options/settings-options.php
+++ b/plugin-options/settings-options.php
@@ -12,7 +12,6 @@
} // Exit if accessed directly
$yith_wfbt_installed = ( defined( 'YITH_WFBT' ) && YITH_WFBT );
-$yith_wfbt_thickbox = YITH_WCWL_URL . 'assets/images/landing/yith-wfbt-slider.jpg';
/**
* APPLY_FILTERS: yith_wcwl_settings_options
@@ -58,8 +57,7 @@
'yith_wfbt_enable_integration' => array(
'name' => __( 'Enable slider in wishlist', 'yith-woocommerce-wishlist' ),
- // translators: 1. Example image of the integration.
- 'desc' => sprintf( __( 'Enable the slider with linked products on the Wishlist page (
Example ).', 'yith-woocommerce-wishlist' ), $yith_wfbt_thickbox ),
+ 'desc' => __( 'Enable the slider with linked products on the Wishlist page.', 'yith-woocommerce-wishlist' ),
'id' => 'yith_wfbt_enable_integration',
'default' => 'yes',
'type' => 'yith-field',
diff --git a/readme.md b/readme.md
index 29b33ff..074f9c9 100644
--- a/readme.md
+++ b/readme.md
@@ -151,12 +151,11 @@ Yes, of course you can. To avoid Wishlist page to show product prices, you can h
## Changelog
-### 3.18.0 - Released on 14 February 2023
+### 3.19.0 - Released on 14 March 2023
-* New: support for WooCommerce 7.4
+* New: support for WordPress 6.2
+* New: support for WooCommerce 7.5
* Update: YITH plugin framework
-* Fix: avoid deprecated notice on PHP 8.1
-* Fix: display of the "Add to wishlist" button after thumbnails in the product page
## Support
diff --git a/readme.txt b/readme.txt
index 4834031..790f223 100644
--- a/readme.txt
+++ b/readme.txt
@@ -2,14 +2,14 @@
Contributors: yithemes
Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
-Requires at least: 5.9
-Tested up to: 6.1
-Stable tag: 3.18.0
+Requires at least: 6.0
+Tested up to: 6.2
+Stable tag: 3.19.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
-WooCommerce 7.4.x compatible.
+WooCommerce 7.5.x compatible.
== Description ==
@@ -113,6 +113,12 @@ Yes, of course you can. To avoid Wishlist page to show product prices, you can h
== Changelog ==
+= 3.19.0 - Released on 14 March 2023 =
+
+* New: support for WordPress 6.2
+* New: support for WooCommerce 7.5
+* Update: YITH plugin framework
+
= 3.18.0 - Released on 14 February 2023 =
* New: support for WooCommerce 7.4
diff --git a/templates/wishlist-view-footer-mobile.php b/templates/wishlist-view-footer-mobile.php
index 47206bd..7fde9c0 100644
--- a/templates/wishlist-view-footer-mobile.php
+++ b/templates/wishlist-view-footer-mobile.php
@@ -59,7 +59,20 @@
current_user_can( 'remove_from_wishlist' ) ) : ?>
-
+
+
+
1 && $is_user_owner ) : ?>
diff --git a/templates/wishlist-view-footer.php b/templates/wishlist-view-footer.php
index f40fa7c..ace53aa 100644
--- a/templates/wishlist-view-footer.php
+++ b/templates/wishlist-view-footer.php
@@ -59,7 +59,20 @@
current_user_can( 'remove_from_wishlist' ) ) : ?>
-
+
+
+
1 && $is_user_owner ) : ?>
diff --git a/templates/wishlist-view.php b/templates/wishlist-view.php
index 12fbf6a..77db5b5 100644
--- a/templates/wishlist-view.php
+++ b/templates/wishlist-view.php
@@ -428,7 +428,20 @@ class="shop_table cart wishlist_table wishlist_view traditional responsive get_stock_status() ? '
' . esc_html( apply_filters( 'yith_wcwl_out_of_stock_label', __( 'Out of stock', 'yith-woocommerce-wishlist' ) ) ) . ' ' : '
' . esc_html( apply_filters( 'yith_wcwl_in_stock_label', __( 'In Stock', 'yith-woocommerce-wishlist' ) ) ) . ' ';
+ $stock_status_html = 'out-of-stock' === $item->get_stock_status() ? '
' . esc_html( apply_filters( 'yith_wcwl_out_of_stock_label', __( 'Out of stock', 'yith-woocommerce-wishlist' ) ) ) . ' ' : '
' . esc_html( apply_filters( 'yith_wcwl_in_stock_label', __( 'In Stock', 'yith-woocommerce-wishlist' ) ) ) . ' ';
+
+ /**
+ * APPLY_FILTERS: yith_wcwl_stock_status
+ *
+ * Filters the HTML for the stock status label.
+ *
+ * @param string $stock_status_html Stock status HTML.
+ * @param YITH_WCWL_Wishlist_Item $item Wishlist item object.
+ * @param YITH_WCWL_Wishlist $wishlist Wishlist object.
+ *
+ * @return string
+ */
+ echo apply_filters( 'yith_wcwl_stock_status', $stock_status_html, $item, $wishlist );
?>