Skip to content

Releases: strangerstudios/pmpro-sponsored-members

0.10.2 - 2023-07-25

25 Jul 18:03
Compare
Choose a tag to compare
  • BUG FIX: Fixed issue where the seat cost would always show $0 at checkout.
  • ENHANCEMENT: Updated <h3> tags to <h2> tags for better accessibility.
  • REFACTOR: Now getting level information at checkout from pmpro_getLevelAtCheckout() instead of pulling from $_REQUEST

0.10.1 - 2023-05-11

11 May 16:16
Compare
Choose a tag to compare
  • ENHANCEMENT: Adding a confirmation check before a child user is removed (@JarrydLong)
  • BUG FIX/ENHANCEMENT: Now marking required child fields with asterisk at checkout (@kimwhite, @sensemonster)
  • BUG FIX/ENHANCEMENT: Now extending discount code expiration date when sponsor level is renewed (@JarrydLong)
  • BUG FIX/ENHANCEMENT: Now correctly handling plurals when localizing discount code uses text on the membership confirmation page (@JarrydLong)
  • BUG FIX/ENHANCEMENT: Marking plugin as incompatible with Multiple Memberships Per User for the PMPro v3.0 update (@dparker1005)
  • BUG FIX/ENHANCEMENT: Updating sample code to not have child level be the same as sponsoring level (@kimwhite)
  • BUG FIX: Preventing exploit where child accounts for a sponsoring member would stay active if sponsoring member changed to a non-sponsor level (@dparker1005)
  • BUG FIX: Fixing issue where child fields may not be hidden correctly at checkout (@JarrydLong, @dparker1005)
  • BUG FIX: Resolving issue where the query to find child accounts for a user may return incorrect results if the user does not have a sponsor code (@JarrydLong)
  • BUG FIX: Resolving PHP error on confirmation page when an existing sponsor checks out for a non-sponsoring level (@JarrydLong)
  • BUG FIX: Resolving PHP error when an existing sponsor renews their membership without deciding to keep any old child accounts active (@JarrydLong)
  • BUG FIX: Resolving issue where the pmprosm_sponsored_code_settings filter may sometimes be ignored (@dparker1005)
  • BUG FIX: Removed fixed class from list table to resolve UI issues in some themes (@kimwhite)
  • DEPRECATED: No longer documenting the children_hide_email setting as it hasn’t worked for the last few versions, but leaving the existing code in place in case a site is using it.

V0.10

04 Jan 14:02
Compare
Choose a tag to compare
  • FEATURE: Admins and users can now remove sponsored child accounts to free up the spot.
  • BUG FIX/ENHANCEMENT: We are not generating a username for child accounts at checkout if you use the children_hide_username option to hide the username field. Child accounts still need an email or name fields to generate a user account.
  • BUG FIX/ENHANCEMENT: Now allowing a min_seats value of 0.
  • BUG FIX/ENHANCEMENT: Now allowing seats set to a specific value, with max_seats and/or min_seats not defined.
  • BUG FIX: Fixed an issue where 'normal' discount codes wouldn't work on child levels at checkout.
  • Bug Fix: Fixed an issue where unlimited codes were not working as intended/hidden from the front-end.
  • BUG FIX: Fixed some warnings when finding a sponsor of a user with no level and in some other cases.

V0.9

15 Oct 14:16
Compare
Choose a tag to compare
  • BUG FIX: Fixed warning of undefined constant when creating child accounts at checkout.
  • BUG FIX: Fixed incorrect escaping of discount code text on account/confirmation page.
  • BUG FIX: Fixed issue of child start date being 1 January 1970 during account creation at checkout.
  • BUG FIX: Fixed a warning during child account creation at checkout of duplicate order codes for each child account.
  • BUG FIX: Updates the frontend list of a sponsor's child accounts to only show a link to edit user if they have that capability.
  • BUG FIX: Fixes improper use of a <th> where it should be a <td> in the discount code table inside the WordPress dashboard.

V0.8

01 Oct 06:35
Compare
Choose a tag to compare
  • BUG FIX: Fixed bug where PayPal Express wasn't saving the number of 'child' seats correctly.
  • BUG FIX: Fixed a PHP warning when editing non-members in the WordPress dashboard. Thanks @cipriantepes
  • BUG FIX: Fixed a warning when child level ID's was an array and tried to output a string value during checkout.
  • BUG FIX: Fixed child account heading (numbering) when creating child accounts during checkout. This was out by 1.
  • BUG FIX/ENHANCEMENT: Prevent sponsored members for signing up with their own discount codes.
  • ENHANCEMENT: New filter added to allow dynamic changes done to code created - 'pmprosm_sponsored_code_settings'
  • ENHANCEMENT: Localization and escaping of text on the front-end. Thanks @sebthesun