= 3.0.4 - 2024-05-08 =
* ENHANCEMENT: Now detecting whether a webhook is set up in Stripe and, if not, showing a button to set one up. Webhooks are also automatically set up after the Stripe Connect flow is created.
* ENHANCEMENT: Added a `group` attribute to the `[pmpro_member]` shortcode to show specific member information in the context of a level group.
* ENHANCEMENT: Added a new "gateway" column to the Orders tab of the Edit Member page.
* ENHANCEMENT: Added a new "gateway" column to the Subscriptions tab of the Edit Member page.
* ENHANCEMENT: Adjusted the hierarchy and names for PMPro pages generated as part of the initial plugin setup.
* ENHANCEMENT: Added the ID for each group to the `Memberships > Settings > Levels` settings page.
* BUG FIX/ENHANCEMENT: Updated the `+ New > Member` admin bar menu item to be visible to any user with the `edit_users` capability.
* BUG FIX: Fixed an issue where the login redirect may incorrectly redirect back to the login page.
* BUG FIX: Fixed an issue where purchasing a recurring membership with PayPal Express for a level that the user already had would immediately cancel the new payment subscription.
* BUG FIX: Fixed PHP deprecation warnings on the User Fields settings page for some versions of PHP.
* DEPRECATED: No longer showing the "Register a webhook" popup after connecting to Stripe since this process is now automated.
* ENHANCEMENT: Added settings to disable custom page templates when they are out of date
* ENHANCEMENT: Now defaulting the "View: My Access" setting to "View with my access".
* ENHANCEMENT: Added a new filter `pmpro_show_setup_wizard_link` to adjust whether the link to the setup wizard should show.
* ENHANCEMENT: Added level group information to site health.
* ENHANCEMENT: Improved how custom page templates are displayed in site health.
* BUG FIX/ENHANCEMENT: Added a nonce when updating the order of level groups.
* BUG FIX/ENHANCEMENT: No longer removing quotes from discount code error messages at checkout.
* BUG FIX/ENHANCEMENT: Now supporting users without a role on the Edit Member page.
* BUG FIX/ENHANCEMENT: Updated some JS code used while processing PMPro form submissions to only run for PMPro forms.
* BUG FIX/ENHANCEMENT: Made the "discount code applied to your order" strings consistent for localization.
* BUG FIX/ENHANCEMENT: Now including email template variables for the level ID and level name on the billable invoice email template.
* BUG FIX/ENHANCEMENT: Now only showing log-in errors if the user was not successfully logged in.
* BUG FIX: Fixed a fatal error when editing a level group on some versions of PHP.
* BUG FIX: Fixed an issue where subscription creation would fail when using PayPal Express in Sandbox mode.
* BUG FIX: Fixed an issue where discount codes with unsupported billing details would not be highlighted on the Discount Codes list.
* BUG FIX: Fixed an issue where using the MemberOrder::get_orders() method may incorrectly return an empty array when filtering by `discount_code_id`.
* BUG FIX: Fixed an issue where a month would always be considered 30 days when renewing a level with an expiration date.
* BUG FIX: Adding back the `pmpro_deactivate_old_levels` filter that was removed in 3.0.
* BUG FIX: Fixed an issue where the Members List CSV Export could generate incorrect data when it was not ordered by user ID.
* BUG FIX: Fixed a PHP warning when passing null to strtolower().
* BUG FIX: Fixed a PHP warning when passing null to esc_url().
* BUG FIX: Fixed PHP deprecation warnings by declaring properties in the PMPro_Discount_Code class.
* BUG FIX: Fixed PHP deprecation warnings by declaring properties in the PMProEmail class.
* BUG FIX: Fixed some HTML tags that were being incorrectly escaped in the Admin Activity email.
* REFACTOR: Fixed some typos throughout the codebase.