== Changelog ==
= 2.6.0 - Released on 22 June 2022 =
* New: support for WooCommerce 6.6
* Update: YITH plugin framework
* Update: language files
= 2.5.0 - Released on 17 May 2022 =
* New: support for WordPress 6.0
* New: support for WooCommerce 6.5
* Update: YITH plugin framework
* Update: language files
* Fix: badges hidden on my account page
* Fix: Fatal error "Call to a member function is_type() on string"
* Dev: new yith_wcbm_allow_badges_in_my_account_page filter to allow badge showing on my account page
= 2.4.0 - Released on 11 April 2022 =
* New: support for WooCommerce 6.4
* Update: YITH plugin framework
* Update: language files
* Fix: issue with badge rule when scheduling it if the language was different from English
= 2.3.0 - Released on 9 March 2022 =
* New: support for WooCommerce 6.3
* Update: YITH plugin framework
* Update: language files
* Fix: empty CSS properties in inline CSS code
* Fix: issue with creating badge rules associations table when switching from free to premium version
* Fix: issue with variation bulk editing of variable products
* Tweak: added help tab
* Tweak: product quick edit display and allow to remove the product badges
* Tweak: show badge on "recent products" according to product publishing date
* Dev: added 'yith_wcbm_product_badge_metabox' filter to customize Badge Options product metabox
= 2.2.0 - Released on 31 January 2022 =
* New: support for WordPress 5.9
* New: support for WooCommerce 6.2
* Update: YITH plugin framework
* Update: language files
* Fix: avoiding issues when wp_kses is called too early
* Fix: badges over the WooCommerce cart widget
* Tweak: update badge transient even when products are updated by external plugins
* Dev: added yith_wcbm_get_product_badges filter to manipulate the badges retrieved for the products
* Dev: added yith_wcbm_is_allowed_adding_badge_tags_in_wp_kses filter to choose when adding badge tags to wp_kses allowed HTML
= 2.1.0 - Released on 17 January 2022 =
* New: support for WooCommerce 6.1
* Update: YITH plugin framework
* Update: language files
* Fix: issue with showing and sanitizing badges with some elementor widgets
* Tweak: added a small style snippet to improve the compatibility with the blocksy theme
* Tweak: changed the fields position to exclude product in Badge Rules to improve the UX
* Dev: new yith_wcbm_add_badge_tags_in_wp_kses_allowed_html filter to avoid tags sanitization using wp_kses
* Dev: new yith_wcbm_get_badge_allowed_html filter to edit the allowed html in badges array
* Dev: new yith_wcbm_badge_rule_is_valid_for_product filter to handle the rule validation in a custom way
= 2.0.4 - Released on 29 December 2021 =
* Fix: checks on badge rules with recent and low-stock product conditions
= 2.0.3 - Released on 28 December 2021 =
* Fix: improved checks on badge rules for "recent products"
* Tweak: edit badge HTML content in CSS and text badge types using the text Editor tab
= 2.0.2 - Released on 24 December 2021 =
* Fix: print variation badges only when needed
* Fix: issue with max key length for badge rule associations table
* Fix: update product badge options before using them
* Tweak: performance improvements using transient while retrieving product badges
* Dev: new yith_wcbm_is_allowed_variation_badge_showing filter to handle the visibility of variation badges
= 2.0.1 - Released on 23 December 2021 =
* Fix: check unique titles just for badge and badge rules
* Fix: class property accessibility issue
= 2.0.0 - Released on 22 December 2021 =
* New: Badge editing panel style, with new UI/UX
* New: badge text-editor to enter text in badge text and css type
* New: badge margin option
* New: badge positioning fields and behaviours
* New: badge selector for image, css and advanced type
* New: ability to import badges from a YITH server
* New: badge rules to add in a massive way the badges to the products by product features, categories, tags and shipping-classes
* New: YITH Dynamic Pricing and Discount integration
* New: YITH Auction integration
* New: badge options on variation of variable products
* New: support for WooCommerce 6.0
* Tweak: badge settings in product editing page style improved
* Tweak: General Settings style and UX improved
* Update: YITH plugin framework
* Update: language files
* Dev: new object classes to handle badge and badge premium
* Dev: new object classes to handle badge rules (one class for each type of badge rule)
* Dev: new yith_wcbm_show_product_variation_badges_in_badge_column filter to hide/show badges assigned to the variation of a variable product in product list badge column
* Dev: new yith_wcbm_badge_text_editor_font_size_min filter to choose the minimum font size used in the badge editing text editor
* Dev: new yith_wcbm_badge_text_editor_font_size_max filter to choose the maximum font size used in the badge editing text editor
* Dev: new yith_wcbm_translate_badge_strings filter to choose if translating the strings inside the badges
* Dev: new yith_wcbm_badge_classes to edit badge classes array