*** WooCommerce URL Coupons Changelog *** 2024.02.08 - version 2.16.0 * Feature - Add support for the cart and checkout blocks 2023.11.17 - version 2.15.1 * Misc - Add admin notices to help merchants reverting to the cart or checkout shortcodes if the corresponding blocks are used instead 2023.05.10 - version 2.15.0 * Misc - Add compatibility for WooCommerce High Performance Order Storage (HPOS) * Misc - Replace `FILTER_SANITIZE_STRING` deprecated in PHP 8.1 in favor of `FILTER_SANITIZE_FULL_SPECIAL_CHARS` when saving coupon options in admin 2022.12.01 - version 2.14.0 * Misc - Require PHP 7.4 and WordPress 5.6 2022.11.04 - version 2.13.2 * Tweak - Clarify messaging for defer apply coupon notices 2022.02.07 - version 2.13.1 * Fix - Replace deprecated `is_ajax()` usages with `wp_doing_ajax()` * Misc - Require WooCommerce 3.9.4 or above 2021.08.09 - version 2.13.0 * Tweak - Tweak the admin UI 2020.12.07 - version 2.12.0 * Misc - Add compatibility for WooCommerce 4.7 * Misc - Require PHP 7.0 or newer 2020.10.23 - version 2.11.0 * Feature - Add an optional URL prefix setting for coupon URLs to help tackling caching issues with some host providers and grouping coupons under a common base route * Tweak - Prevent variable products to be associated with a coupon as products to be added to cart * Fix - Ensure that upgrade methods in the plugin lifecycle handler do not trigger a PHP error when updating from very old versions * Localization - Update Italian translation 2020.09.30 - version 2.10.1 * Misc - Remove the SkyVerge help menu item as part of the plugin assets 2020.08.17 - version 2.10.0 * Misc - Add SkyVerge help menu for support on WooCommerce.com connected sites 2020.05.29 - version 2.9.4 * Fix - Introduce a sanity check to avoid a WordPress error in front end while handling the coupon field at cart or checkout 2020.05.04 - version 2.9.3 * Misc - Add support for WooCommerce 4.1 2020.03.05 - version 2.9.2 * Misc - Add support for WooCommerce 4.0 2020.01.02 - version 2.9.1 * Misc - Add support for WooCommerce 3.9 2019.11.07 - version 2.9.0 * Misc - Add support for WooCommerce 3.8 2019.08.12 - version 2.8.0 * Misc - Add support for WooCommerce 3.7 * Misc - Remove support for WooCommerce 2.6 * Misc - Require PHP 5.6+ 2019.05.22 - version 2.7.5 * Fix - Save the coupon URL when the coupon status is draft or pending review, or the coupon is scheduled for future publication 2019.04.24 - version 2.7.4 * Misc - Add support for WooCommerce 3.6 * Misc - Require PHP 5.4+ 2018.12.19 - version 2.7.3 * Tweak - Add support for creating URL Coupons via the WooCommerce REST API 2018.10.31 - version 2.7.2 * Fix - Address a fatal error which occurs when using with an outdated SkyVerge plugin 2018.10.24 - version 2.7.1 * Misc - Add support for WooCommerce 3.5 2018.07.31 - version 2.7.0 * Misc - Dropped support for PHP 5.2: PHP 5.3 is now the minimum required version 2018.05.29 - version 2.6.3 * Fix - Move the coupon display options to the General settings tab in WooCommerce 3.4 2018.05.23 - version 2.6.2 * Misc - Add support for WooCommerce 3.4 2018.03.07 - version 2.6.1 * Tweak - Add a filter to allow controlling whether the current URL matches a coupon or not * Fix - Check if necessary server variables are set before trying to match coupon URL 2018.01.26 - version 2.6.0 * Misc - Add support for WooCommerce 3.3 * Misc - Remove support for WooCommerce 2.5 2017.11.07 - version 2.5.3 * Fix - Ensure coupon code isn't filtered when applied via URL to avoid issues with special characters in coupons * Misc - Render an admin notice when a site uses outdated versions of PHP * Dev - Filter query args for coupon redirect to allow URL params to be added programmatically 2017.08.08 - version 2.5.2 * Fix - Ensure deferred coupons are applied during AJAX requests 2017.04.26 - version 2.5.1 * Tweak - If a coupon adds products, always add these to the cart, even if previously applied * Tweak - Improve performance on sites with thousands of coupon codes * Fix - Redirect page not being recognized in WooCommerce 3.0+ * Fix - Workaround for plugins and themes that incorrectly filter home_url 2017.03.28 - version 2.5.0 * Misc - Added support for WooCommerce 3.0 * Misc - Removed support for WooCommerce 2.4 2016.10.25 - version 2.4.1 * Fix - Individual blog posts were not available as a redirect page 2016.10.13 - version 2.4.0 * Feature - Added Customer/Order/Coupon CSV Import Suite 3.1.0+ compatibility * Localization - Added Italian translation 2016.08.10 - version 2.3.1 * Fix - When coupons are hidden on the cart and / or checkout, and a coupon is removed, it's not being removed from the cart 2016.06.02 - version 2.3.0 * Misc - Added support for WooCommerce 2.6 * Misc - Removed support for WooCommerce 2.3 2016.05.11 - version 2.2.1 * Fix - Prevent adding a product multiple times to cart when the coupon has defer apply, a required product and a different product that is set to be added to cart * Misc - Added filters to set default values when creating a new URL Coupon in admin edit screen 2016.01.14 - version 2.2.0 * Fix - Improved add to cart validation handling: products that require user input will not be added to cart via URL Coupon * Misc - Added support for WooCommerce 2.5 * Misc - Removed support for WooCommerce 2.2 2015.12.18 - version 2.1.7 * Fix - URL Coupon redirects did not work properly 2015.12.17 - version 2.1.6 * Fix - Dropdown to choose a page to redirect to did not return results 2015.12.11 - version 2.1.5 * Tweak - Use ajax search in dropdown to choose a redirect page (WooCommerce 2.3+) * Fix - When coupon url is the same as the slug of the page that triggers the coupon, an extra notice might be shown 2015.11.19 - version 2.1.4 * Fix - Fix the URL Coupons settings display in WC 2.4+ 2015.11.18 - version 2.1.3 * Tweak - Limit the number of taxonomy terms displayed in the Page Redirect select * Fix - Prevent delayed notices after a deferred coupon has been applied 2015.09.25 - version 2.1.2 * Fix - Fix adding deferred coupons to the cart when the coupon code field is hidden 2015.09.15 - version 2.1.1 * Fix - Ensure the Redirect meta does not get cleared when updating a coupon 2015.07.28 - version 2.1.0 * Fix - Page Redirect select value displaying the wrong page in the admin * Misc - WooCommerce 2.4 Compatibility 2015.07.20 - version 2.0.1 * Fix - Fix a rare redirect issue * Fix - Fix the coupon code field displaying on the cart page even when you've opted to hide it 2015.05.21 - version 2.0.0 * Feature - Added an option to defer applying the URL coupons until the customer's cart meets the coupon's requirements * Feature - No more page redirect limits! You can select a post category/tag, or product category/tag to redirect to. * Feature - When viewing the Coupon list in the admin, you can now see the unique URL slug for each coupon * Tweak - Improved redirects to product pages * Fix - Fixed issue where coupons couldn't be automatically removed when invalid if the coupon field was hidden on the cart page * Fix - Escape all instances of add_query_arg and remove_query_arg to avoid a potential XSS attack * Fix - Attach Chosen.js to form fields only if Select2 is not available 2015.04.21 - version 1.3.2 * Fix - Potential XSS with add_query_arg 2015.03.20 - version 1.3.1 * Fix - Corrects validation of URL coupons that have a minimum amount set 2015.02.09 - version 1.3.0 * Misc - WooCommerce 2.3 Compatibility 2014.01.20 - version 1.2.3 * Fix - Fix situations where URL coupons couldn't be applied if the visitor had not added an item to the cart first 2014.09.07 - version 1.2.2 * Misc - WooCommerce 2.2 Compatibility 2014.08.19 - version 1.2.1 * Fix - Don't apply the coupon if it has already been applied 2014.05.28 - version 1.2 * Feature - Added an option to force coupons to be applied when visiting the unique URL * Feature - You can now hide the coupon code field from the cart or checkout page * Feature - URL Coupon column headers are now included in the Smart Coupon CSV export 2014.01.20 - version 1.1 * Misc - WooCommerce 2.1 compatibility * Misc - Uses SkyVerge Plugin Framework * Localization - Text domain changed from `wc-url-coupons` to `woocommerce-url-coupons` 2013.11.09 - version 1.0.4 * Tweak - URLs are lower-cased before comparison * Fix - Fixed notices when loading active URLs 2013.08.23 - version 1.0.3 * Tweak - Prevent possible errors when including a product to be added to the cart when a coupon is applied 2013.07.26 - version 1.0.2 * Feature - You can now choose the homepage or product pages to redirect to! * Fix - Deactivate unique URLs when their parent coupon is trashed or deleted 2013.06.28 - version 1.0.1 * Fix - Compatibility with sites hosted in a sub-directory 2013.03.14 - version 1.0 * Initial Release