*** Teams for WooCommerce Memberships Changelog *** 2023.12.06 - version 1.7.1 * Fix - Fixed Fatal Error in PHP 8.0 and newer with LearnDash team members when viewing Teams in My Account 2023.07.12 - version 1.7.0 * Misc - Add compatibility for WooCommerce High Performance Order Storage (HPOS) 2022.09.12 - version 1.6.3 * Fix - Replace deprecated `is_ajax()` function calls with `wp_doing_ajax()` * Misc - Require WooCommerce 3.9.4 or newer 2021.11.30 - version 1.6.2 * Fix - Correctly render the my-team-no-members template when loading the Team Members table for a team with no members 2021.11.04 - version 1.6.1 * Fix - When a team owner is changed in the WordPress dashboard, update the team role user meta to reflect the new owner * Dev - Do not hardcode parameter types to hook callback methods to improve third-party compatibility 2021.09.06 - version 1.6.0 * Feature - Allow team owners & managers to view eLearning progress reports for team members enrolled in Sensei or LearnDash courses * Fix - Change team members' "Added On" time from UTC to the site's timezone * Fix - Address a conflict that occurs with Uncanny Groups for LearnDash by Uncanny Owl 2021.07.09 - version 1.5.5 * Fix - Ensure seats can be added to team again after a previously refunded team subscription is renewed * Fix - Display a more specific error message when a user visits the same invitation link after having already accepted the invitation 2021.06.10 - version 1.5.4 * Fix - Ensure that user-defined additional content may be passed to email templates 2021.03.16 - version 1.5.3 * Tweak - Add support for WooCommerce Navigation admin feature 2021.01.26 - version 1.5.2 * Fix - Ensure that guests invited as team managers have their designated role assigned when they register to the site while responding to the invitation * Fix - Display a Registration Link when adding members to teams that have unlimited seats * Fix - Improve compatibility with Twenty Twenty and Twenty Twenty-One WordPress themes 2020.12.14 - version 1.5.1 * Fix - Fix fatal error when adding members 2020.12.08 - version 1.5.0 * Misc - Add compatibility for WooCommerce 4.7 * Misc - Require PHP 7.0 or newer 2020.10.26 - version 1.4.4 * Tweak - Update team members template to display the member's last login relative date to team owners and managers * Tweak - Add setting in the "Team membership ending soon" email admin screen to set the number of days before team membership expiration to trigger the corresponding email * Fix - Do not show the registration link field on the add member template if there are no remaining seats left 2020.10.13 - version 1.4.3 * Fix - Prevent a fatal error when an older version of WooCommerce Memberships is active and trying to use profile fields 2020.10.06 - version 1.4.2 * Fix - If the current team member is the owner, do not display a 'Leave Team' button in front end when managing the team * Fix - When there is only a seat left in a team and viewing the Team Members front end page, ensure no PHP warning is issued and the remaining seats message is shown 2020.09.24 - version 1.4.1 * Feature - Add member profile fields support when joining by invitation or taking a seat while purchasing a team product * Misc - Remove the SkyVerge help menu item as part of the add on assets 2020.08.24 - version 1.4.0 * Misc - Add SkyVerge help menu for support on WooCommerce.com connected sites 2020.07.14 - version 1.3.2 * Fix - Do not show seat change notices when a team subscription is renewed 2020.06.10 - version 1.3.1 * Fix - Settings screen error on PHP 7.2 or older 2020.06.09 - version 1.3.0 * Feature - Offer the ability for shop administrators to rename what teams are called throughout the plugin's frontend 2020.05.04 - version 1.2.8 * Misc - Add support for WooCommerce 4.1 2020.04.24 - version 1.2.7 * Fix - Do not trigger a WordPress hook deprecation notice when visiting posts admin screens in WordPress 5.4 2020.04.07 - version 1.2.6 * Fix - Prevent fatal error triggered while processing a subscription renewal from the admin dashboard * Fix - Prevent number of seats to increase on teams with per-team pricing when a subscription renewal is processed * Fix - Fix a logic error that could cause renewal links for team memberships not to work 2020.03.26 - version 1.2.5 * Fix - Do not flush rewrite rules at every page load 2020.03.10 - version 1.2.4 * Misc - Add support for WooCommerce 4.0 2020.01.15 - version 1.2.3 * Misc - Add a documentation resource for teams with unlimited seats affected by the bug fixed in v1.2.1 2020.01.05 - version 1.2.2 * Misc - Add support for WooCommerce 3.9 2019.12.10 - version 1.2.1 * Fix - When renewing with per-team pricing and unlimited seats, quantity should be 1 2019.11.13 - version 1.2.0 * Fix - Address a potential PHP error when joining a team by accepting an invitation * Misc - Add support for WooCommerce 3.8 * Dev - Add action hook when a team member role is updated 2019.08.09 - version 1.1.6 * Misc - Add support for WooCommerce 3.7 * Misc - Require PHP 5.6+ * Dev - Add filter when getting the team seat details in teams area 2019.07.25 - version 1.1.5 * Fix - Ensure sign up fees are correctly applied when adding new seats to a subscription-based team * Fix - Do not enable seat changes from customer dashboard for subscription-tied teams if the pricing is per-team based and seats are unlimited * Fix - If team access is used with a variable subscription product, but switching is disabled, the switch button shouldn't appear to team members * Fix - Address a potential PHP error on user memberships when a team member could not be determined to gather team details 2019.05.15 - version 1.1.4 * Fix - When a team is linked to a subscription product with a limitation, override the limitation if the team owner wants to add a seat, without incurring into product purchase errors * Fix - Remove a pending invitation when a team owner sends email invitations to new users, once they register and accept the invitation to join * Fix - Ensure that the "Add Member" button in My Account dashboard template uses the same button styling as WooCommerce * Misc - Add support for WooCommerce 3.6 * Misc - Require PHP 5.4+ 2019.03.20 - version 1.1.3 * Fix - Only display the Teams menu item in My Account dashboard page if there is at least one Team the current user can manage * Fix - Allow removing a member from an existing team linked to an expired subscription to and adding them as members of another team with free seats and non expired status 2019.02.19 - version 1.1.2 * Tweak - Skip asking newly registered users who followed an invite link to join a team and add them to the team directly instead * Tweak - List team names in the user memberships admin edit screen and allow filtering by memberships without a team * Tweak - Add team data to user memberships CSV exports * Fix - When switching variations with different seat counts, adjust the number of seats input field in case the current value exceeds the minimum or maximum for the chosen variation * Fix - Ensure that the email object is passed in WooCommerce core email template action hooks * Fix - Address an issue where some teams were unable to add seats when they should have been able to * Dev - Allow skipping invitations with `wc_memberships_for_teams_skip_invitations` filter to let a team manager add members straight to a team if they're registered users * Misc - Update SkyVerge Plugin Framework to version 5.3 2019.01.24 - version 1.1.1 * Fix - Fix an error that caused some seat changes to be calculated incorrectly for teams at their minimum seat requirement 2019.01.15 - version 1.1.0 * Feature - Add the ability to change the number of seats on an existing team membership * Tweak - Add setting to allow customization of whether managers can manage other managers * Fix - Ensure team pricing fields are only shown once on Subscription products with any settings configuration * Fix - Fix an incorrect filter name for redirecting after joining a team - the correct filter is 'wc_memberships_for_teams_join_team_redirect_to' * Fix - Fix a few places where team names were not correctly stripping backslashes from names with escaped characters 2018.10.23 - version 1.0.6 * Fix - Upgrade Action Scheduler function names to stop deprecation notices being thrown on team events * Misc - Add support for WooCommerce 3.5 2018.09.06 - version 1.0.5 * Tweak - Display product variations that grant team access on the Plan screens * Tweak - Display a notice to users when a team owner switches their subscription * Fix - When teams are unlinked from a subscription, ensure the team's user memberships are unlinked as well 2018.07.03 - version 1.0.4 * Tweak - Allow searching teams by user membership, plan, customer, related order or linked subscription in the teams admin edit screen * Fix - When some WooCommerce settings or product types cause the General tab to disappear in the product panel, ensure it is persisted if the product is also a team membership product * Fix - If the team owner cancels a subscription linked to the team plan, and then resubscribes, make sure that every user membership within the team is reactivated * Fix - When a non-paying member is invited to a different team which grants access to the same membership plan, make sure they are not asked to cancel their existing subscription, if they don't own one and is not tied to their current membership * Dev - Add a filter to change the URL a user is redirected to when joining a team by invitation or registering via link 2018.05.23 - version 1.0.3 * Fix - Ensure endpoint settings display in WooCommerce 3.4 2018.05.23 - version 1.0.2 * Tweak - Add admin option to control whether team owners must take up a seat in their team or not * Tweak - Make it simpler for owners to join their team by adding a pre-purchase checkbox to become a member * Tweak - Provide an option for users to cancel their existing subscription for the team's plan when joining a team * Fix - Ensure product variations are included in product search results when linking a team to a product in admin * Fix - Ensure cart handler is loaded at all times, so plugins like One Page Checkout can be used to purchase teams * Fix - Prevent subscription renewals from creating duplicate teams * Fix - Ensure a consistent text domain for translatable texts is used throughout * Fix - Avoid fatal error and conflicts with certain extensions * Fix - Redeem existing invites if a member joins a team via the public link * Fix - Adjust the "view team" link in customer emails to link to the team area * Fix - Really direct team members to the account dashboard upon joining if there are no members area sections to display :) * Fix - Ensure registration or login errors while joining teams appear in all themes * Fix - Prevent a PHP warning when querying all team members with no paging * Fix - If the My Account page is set as the Home Page, ensure that visiting the Teams Area does not redirect users to the Blog page (WooCommerce 3.3+) * Dev - Ensure all falsy role values are replaced with the default role (member) when adding/inviting a member * Dev - Allow passing team details via add to cart URL * Misc - Add support for WooCommerce 3.4 2018.03.28 - version 1.0.1 * Tweak - Allow manually changing team owners * Fix - Direct team members to the account dashboard upon joining if there are no members area sections to display * Fix - Remove the Teams filter from non-membership post lists * Fix - Remove unsaved changes alert when updating a team * Dev - Ensure getting teams for a user accepts custom arguments, which were previously ignored 2018.03.13 - version 1.0.0 * Hello world! Initial Release :)