*** Groups WooCommerce *** 2024.03.26 - version 2.7.0 * Update - WordPress 6.5 compatible. * Update - WooCommerce 8.7 compatible. * Update - Revised the information on product group settings for improved clarity. * Dev - Updated to use the latest membership verification API in Groups. * Dev - Updated checks on several instances where a product object is retrieved and a possible value of false instead of an object was not taken into account. * Update - Updated the translation template. * Update - Updated the included translations. * Fix - Filtering orders by group with HPOS provided incorrect results. 2024.01.16 - version 2.6.0 * Update - WooCommerce 8.5 compatible. * Update - Requires at least WooCommerce 8.2. * Update - Requires at least PHP 7.4. * Add - Added compatibility plugin header fields. * Fix - Fixes a PHP Fatal error that could occur in certain processing flows when the get_current_screen() method was not yet available. * Update - Updated links to point to woo.com instead of woocommerce.com. 2023.12.19 - version 2.5.0 * Update - WooCommerce 8.4 compatible. * Fix - Fixes customer not removed from groups when order status is changed to "On hold", as outdated action was used. * Dev - Added handling of the "Draft" (checkout-draft) order status to remove customer from groups. 2023.11.02 - version 2.4.0 * Update - WordPress 6.4 compatible. * Update - WooCommerce 8.3 compatible. * Update - Requires at least WooCommerce 7.9. * Add - Added the groups_woocommerce_order_user_id filter. * Add - Added the groups_woocommerce_subscription_user_id filter. 2023.09.01 - version 2.3.0 * Update - WordPress 6.3 compatible. * Update - WordPress 6.4-alpha compatible. * Update - WooCommerce 8.1 compatible. * Update - Requires at least WooCommerce 7.8. * Update - Requires at least PHP 7.3. 2023.07.01 - version 2.2.1 * Update - WordPress 6.2 compatible. * Update - WooCommerce 7.9 compatible. * Fix - Fixed a Javascript error caused by an unescaped quote in translations when editing a product. * Update - Updated the translation template. * Update - Updated the included translations. * Fix - Fixed some incorrect translations. * Fix - Changelog format. 2023.06.24 - version 2.1.0 * Update - WordPress 6.2 compatible. * Update - WooCommerce 7.8 compatible. * Update - Further HPOS compatibililty: replaced the use of some generic WordPress metadata functions to handle order metadata with order-specific methods. * Dev - Revised several instances of code documentation formatting issues. * Dev - Revised order status action handler signatures to take two parameters provided by the actions. * Dev - Separated a non-status action handler. * Fix - Fixed a misleading log entry about a deleted membership when no membership was deleted. 2023.06.20 - version 2.0.0 * Update - WordPress 6.2 compatible. * Update - WordPress 6.3-alpha compatible (re-tested). * Update - WooCommerce 7.8 compatible. * Update - Requires at least WooCommerce 7.4. * Update - Requires at least PHP 7.2. * Update - WooCommerce HPOS compatible. * Add - HPOS compatibility; Orders screen allows to filter by group memberships, orders that contain products which add or remove specific group memberships, any group memberships or no group memberships. * Add - HPOS compatibility; Edit Order screen shows group membership information. 2023.05.22 - version 1.35.1 * Update - WordPress 6.2 compatible. * Update - WooCommerce 7.7 compatible. * Fix - Fixes the plugin dependency checks on multisites. 2023.05.19 - version 1.35.0 * Update - WordPress 6.2 compatible. * Update - WooCommerce 7.7 compatible. * Update - Revised the changelog for the version history parser. * Remove - Removed call to deprecated woothemes_queue_update(). * Remove - Removed the deprecated code in woo-includes. * Dev - Added a generic dependency checker class. * Update - Revised the dependency checks for Groups and WooCommerce to de done early. * Update - Updated the translation template. * Update - Updated the German translations for Austria, Germany and Switzerland. * Update - Updated the Spanish translation. * Update - Updated the French translation. 2023.04.18 - version 1.34.0 * Update - WordPress 6.2 compatible. * Update - WordPress 6.3-alpha compatible. * Update - Requires WordPress 6.0. * Update - WooCommerce 7.6 compatible. * Update - Requires WooCommerce 7.0. * Fix - Fixed a wrong file header. * Dev - Revised cron schedule output shown in extension settings section when GROUPS_WS_LOG is true. 2023.02.15 - version 1.33.0 * Update - WordPress 6.1 compatible. * Update - WooCommerce 7.4 compatible. * Update - WordPress 6.2-beta compatible. * Add - Adds group membership information to the order admin view. * Update - Updated the translation template. * Update - Updated the included translations. 2022.12.18 - version 1.32.0 * Update - WordPress 6.1 compatible. * Update - WooCommerce 7.2 compatible. * Add - Added a feature to the Orders admin section, allows to filter orders by groups membership: orders that contain products which add or remove specific group memberships, any group memberships or no group memberships. 2022.11.25 - version 1.31.0 * Update - WordPress 6.1 compatible. * Update - WooCommerce 7.1 compatible. 2022.09.17 - version 1.30.0 * Update - WordPress 6.0 compatible. * Update - WooCommerce 6.9 compatible. * Add - Added a feature to the Products admin section, which allows to filter the Products by group membership added or removed. * Update - Updated the translation template. * Update - Updated the German formal and informal translations for Germany, Switzerland, Austria. * Update - Updated the Spanish translation. * Update - Updated the French translation. 2022.07.14 - version 1.29.0 * Update - WordPress 6.0 compatible. * Update - WooCommerce 6.7 compatible. * Update - Requires at least WooCommerce 5.8. * Remove - Removed support for deprecated admin actions. * Fix - Fixed code formatting, quality and documentation issues. * Dev - Replaced use of deprecated order retrieval methods. 2022.02.04 - version 1.28.0 * Update - WordPress 5.9 compatible. * Update - WooCommerce 6.2 compatible. * Fix - Fixed a fatal error produced when WooCommerce is deactivated. * Update - Updated documentation URLs. * Add - Added plugin action links. * Update - Updated extensions section. * Add - Sorting products by group memberships added and removed, including from their variations (versus only by groups added). 2021.11.24 - version 1.27.0 * Update - WordPress 5.8 compatible. * Update - WooCommerce 5.9 compatible. * Update - Requires at least WooCommerce 5.5. * Update - Revised the Products section to also show groups assigned via variations on variable products. * Update - Revised administrative sections and styles. * Update - Moved inline styles to stylesheets and added minified versions. 2021.11.05 - version 1.26.0 * Update - WordPress 5.8 compatible. * Update - WooCommerce 5.8 compatible. * Update - Updated translations. 2021.06.23 - version 1.25.0 * Update - WordPress 5.8 compatible. * Update - WooCommerce 5.4 compatible. * Update - Requires at least WooCommerce 5.0. * Fix - Corrected a description related to when customers are removed from groups with subscriptions. * Update - Translations updated. * Add - Added output escaping where missing. * Fix - Fixed slashes displayed on quotes etc when displaying group names and as options. 2021.04.11 - version 1.24.0 * Update - WordPress 5.8 compatible. * Update - WooCommerce 5.2 compatible. * Update - Requires at least WordPress 5.5. * Update - Requires at least WooCommerce 4.9. 2021.03.09 - version 1.23.0 * Update - WordPress 5.7 compatible. * Update - WooCommerce 5.1 compatible. * Update - WooCommerce 5.0 copmatible. * Fix - Fixed a deprecated use of the PHP ternary operator, unparenthesized `a ? b : c ? d : e` is deprecated as of PHP 7.4.0. * Update - Updated woo-includes. 2021.01.12 - version 1.22.0 * Update - WordPress 5.6 compatible. * Update - WooCommerce 4.9 compatible. 2020.12.17 - version 1.21.0 * Update - WordPress 5.6 compatible. * Update - WooCommerce 4.8 compatible. 2020.11.10 - version 1.20.0 * Update - WordPress 5.5 compatible. * Update - WooCommerce 4.7 compatible. * Update - As of this release, at least WooCommerce 3.x is required and at least WooCommerce 4.x will be required for future updates. * Remove - Removed backwards-compatibility for use of get_product(). * Remove - Removed backwards-compatibility for use of woocommerce_get_formatted_variation(). * Dev - Minor improvement on the extension's settings for clarity. 2020.08.20 - version 1.19.0 * Update - WordPress 5.5 compatible. * Update - WooCommerce 4.4 compatible. * Fix - Fixed an incorrect variable reference when rendering subscription information for variable subscriptions. * Add - Added the groups_woocommerce_user_show_subscriptions_options filter. * Dev - Showing all columns for group subscriptions in user profile instead of limited set. * Fix - Fixed minor missing variable initializations (did not cause functional impact). * Fix - Fixed missing translations. * Update - Updated translations. 2020.03.20 - version 1.18.0 * Update - WordPress 5.3 compatible. * Update - WooCommerce 4.0 compatible. * Add - Enhanced the products screen column showing groups related to products, now sortable. 2019.09.15 - version 1.17.0 * Update - Updated for compatibility with changes in WooCommerce Subscriptions 2.6. * Add - Added a woocommerce_subscriptions_switch_completed handler. * Add - Added related extensions info. 2019.08.25 - version 1.16.0 * Update - WordPress 5.2 compatible. * Update - WooCommerce 3.7 compatible. 2019.04.18 - version 1.15.0 * Update - WooCommerce 3.6 compatible. * Add - Added a maintenance routine to clean up expired memberships which might not have been removed due to server issues. * Add - Added a check for data from older versions to obtain valid order IDs granting group memberships. 2019.02.26 - version 1.14.0 * Update - WordPress 5.1 compatibility tested. * Update - WooCommerce 3.5 compatibility tested. 2018.11.24 - version 1.13.0 * Update - Updated and tested for WordPress 5.0 compatibility. * Update - Updated and tested for WooCommerce 3.5 compatibility. * Add - Added the groups_woocommerce_exclude_registered_group filter. * Remove - Removed the Registered group as a choice unless the groups_woocommerce_exclude_registered_group filter returns false. 2018.05.28 - version 1.12.2 * Update - Updated compatibility with WooCommerce 3.4. * Add - Added the Woo plugin header tag. * Add - Added missing ABSPATH checks. * Add - Added incomplete API documentation. 2018.04.04 - version 1.12.1 * Add - Added the groups_woocommerce_handle_woocommerce_subscription_status_updated filter. 2018.03.06 - version 1.12.0 * Dev - Replaced use of language domain constant with string literal. * Update - Updated compatibility with WooCommerce 3.3. * Update - Updated compatibility with WordPress 4.9. * Update - Updated access to product, documentation and support resources. * Add - Added the readme.txt. * Fix - Fixed a rendering issue in the Groups product tab. * Dev - Showing the right icon in the product tab. * Update - Updated the translation template. * Update - Updated the German translation. * Update - Updated the Spanish translation. * Update - Updated the French translation. 2017.06.13 - version 1.11.3 * Add - Added support for subscriptions without parent order (WC >= 3.x only). 2017.05.04 - version 1.11.2 * Fix - Fixed a fatal error with WooCommerce < 3.x 2017.04.28 - version 1.11.1 * Fix - Fixed WSOD due to 'Call to a member function get_id() on boolean ...' when no subscription parent exists. * Fix - Fixed possible exception on invalid order. * Dev - Improved the subscriptions display so info is displayed also for subscriptions without an order. * Update - Updated usage of some methods and properties to avoid notices. 2017.04.10 - version 1.11.0 * Update - Updated the plugin for compatibility with WooCommerce 3.0.0. * Dev - Moved plugin boot process hooked on plugins_loaded to simplify version dependencies. * Dev - Replaced use of properties by new WC 3.x getters/setters. * Dev - Maintained backwards-compatibility within own library loaded version-specifically. * Update - Updated the product panel hook to use new action with backwards-compatibility. 2016.12.05 - version 1.10.0 * Dev - Improved the admin section for Groups using more appropriate headings. * Fix - Fixed error "Call to a member function exists() on boolean ..." from groups_ws_get_product() calls when no product is returned. 2016.06.23 - version 1.9.6 * Fix - Fixed a notice due to undefined variable. * Dev - Improved check for WCS < 2.x so actions are not added when WCS is not installed. 2016.03.18 - version 1.9.5 * Update - Updated to register WCS 2.x deprecated action only on WCS < 2.x * Add - Added new action handler for woocommerce_scheduled_subscription_end_of_prepaid_term. 2016.03.16 - version 1.9.4 * Fix - Fixed undefined value returned in unused method. * Fix - Fixed use of deprecated function woocommerce_get_formatted_variation(). * Fix - Fixed undefined variable used in hook when subscription is trashed. * Dev - Guarded against notice of undefined variable $subscription when using wcs_get_subscription_from_key() in Groups_WS_Handler::get_subscription_by_subscription_key(). 2015.12.21 - version 1.9.3 * Fix - Fixed PHP notices when no order is related to a subscription which is activated, suspended, etc. 2015.11.29 - version 1.9.2 * Add - Added a new handler for switched subscriptions to support changes in WC Subscriptions 2.x 2015.10.23 - version 1.9.1 * Fix - Fixed a fatal error which could occur in circumstances where an order can't be obtained while trying to render subscription information. 2015.10.11 - version 1.9.0 * Update - Compatible with WooCommerce Subscriptions 2.x 2015.08.12 - version 1.8.2 * Add - Added support for saving group assignments through the Save Changes button of the Variations tab for WC 2.4 2015.07.13 - version 1.8.1 * Add - Added Give Products compatibility. * Dev - Guarded GROUPS_WS_LOG so it can be defined in e.g. wp-config.php * Fix - Fixed the group assignment for orders that were processing and changed to completed adding users back to groups. * Dev - Minor admin UI improvements. 2015.07.07 - version 1.8.0 * Add - Added the Spanish translation. * Update - Updated the German translation. * Add - Added the French translation. 2015.04.01 - version 1.7.3 * Fix - Fixes an issue when WC_Cart::get_cart() is invoked through this plugin's option filters on woocommerce_enable_guest_checkout and woocommerce_enable_signup_and_login_from_checkout before the wp_loaded action was done. This could happen if a third-party plugin accesses those options before wp_loaded. 2015.03.10 - version 1.7.2 * Fix - Fixes an issue with switched subscriptions removing members from a group; although the subscription switched to grants access to group X, if the subscription switched from granted access to X, too, the user was removed. 2014.11.12 - version 1.7.1 * Add - Allows to edit time-limited memberships manually (in user profiles). * Fix - Fixed missing language domains on some strings. * Fix - Fixed own membership info is not shown when editing own user profile and the option is enabled. * Fix - Fixed duplicate membership lines shown in user profile on empty bucket after bucket with timestamp(s). * Fix - Fixed a bug in the membership termination algorithm (group comparison in the terminator). * Fix - Fixed the subscription switching handler to also react on completed orders. 2014.08.28 - version 1.7.0 * Add - Added changes for WooCommerce 2.2.0 compatibility 2014.05.02 - version 1.6.0 * Add - Added group assignments by product variation * Dev - Using selectize instead of checkboxes for product groups * Fix - Fixed missing plural forms in translation template * Update - German translation completed 2014.04.27 - version 1.5.4 * Add - Load translations from the languages folder. * Update - Plugin text domain from 'groups' to 'groups-woocommerce'. * Add - Translation template in the languages folder. * Add - Example translation de_DE (incomplete translation). 2013.12.27 - version 1.5.3 * Fix - Prematurely ended subscriptions when orders are processing and a subscription is cancelled. 2013.11.23 - version 1.5.2 * Dev - Dynamically change groups view for products based on product type. * Add - The [groups_woocommerce_memberships] can now be used to render info on time-limited memberships for the current user. * Fix - A fatal error would be caused when trying to render information on subscriptions using the [groups_woocommerce_subscriptions_table] shortcode while the WooCommerce Subscriptions plugin is not active. * Update - Allowing to execute the subscription expiration handling process also when the related order is processing (required to work with switched subscriptions when groups should be removed as the switched subscription is cancelled). * Update - Replaced uses of deprecated get_users_subscription method 2013.09.23 - version 1.5.1 * Fix - Fatal Error because of a missing class when WooCommerce Subscriptions is not installed and membership info should be shown in user profiles. 2013-08-20 - version 1.5.0 * Fix - membership removal is only effective if no other orders grant same * Add - Added additional fields with plugin version, start timestamp, duration and duration UOM to the product groups usermeta. * Fix - show_count and show_table options not used when rendering subscriptions table. * Add - Added exclude_cancelled_after_end_of_prepaid_term option to subscription table renderer; used to show valid group memberships for cancelled subscriptions in user profile * Fix - incorrect $$output variable reference in subscription table renderer * Fix - some non-existent indexes used in subscription table renderer * Remove - Removed the word 'Unlimited' from group membership description to avoid confusion * Fix - remove group membership when subscriptions are cancelled and order is cancelled or refunded * Add - Groups column in products admin view 2013-07-03 - version 1.4.1 * Fix - missing $accepted_args on subscription_end_of_prepaid_term hook * Add - options to show group membership info in user profiles / when editing 2013-04-30 - version 1.4.0 * Add - added feature: option to force registration on checkout when a Groups-related product is in the cart * Add - added feature: new shortcode [groups_woocommerce_subscriptions_table] that lists a user's subscriptions 2013-02-27 - version 1.3.4 * Fix - Using the subscription_end_of_prepaid_term action instead of cancelled_subscription action to end group memberships for cancelled subscriptions - this requires WooCommerce Subscriptions version 1.2.6 or higher as that action has been introduced as of then. * Add - added feature: subscriptions on hold will remove users from groups; when reactivated, users are added back to the groups (enabled by default) 2013-01-10 - version 1.3.3 * Update - visual changes in groups tab on products (needed for WooCommerce 2.0) 2012.12.13 - version 1.3.2 * Update - 1.2.1 - 1.3.1 sync 2012.12.11 - version 1.3.1 * Update - WP 3.5 compatibility 2012.12.05 - version 1.3.0 * Add - added feature: group memberships based on normal products can have a limited duration 2012.10.07 - version 1.2.1 * Update - New updater 2012.10.07 - version 1.2.0 * Add - added feature: choose when users are added to groups (processing or completed) * Add - added feature: remove from group when product is purchased 2012.06.21 - version 1.0.0 * Dev - First release