Skip to content

Commit

Permalink
Version numbers, changelog, build blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dparker1005 committed Jul 5, 2024
1 parent 1acaa7b commit 85e5b84
Show file tree
Hide file tree
Showing 40 changed files with 170 additions and 86 deletions.
42 changes: 42 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
== Changelog ==
= 3.1 RC1 - 2024-07-05 =
* FEATURE: Added a new "Design" tab to the Memberships > Settings page with multiple frontend style variations to choose from. #3003 (@kimcoleman)
* FEATURE: Added a new "Security" tab to the Memberships > Settings page. #2999 (@MaximilianoRicoTabo)
* ENHANCEMENT: Updated the styling of frontend pages. #3003 (@kimcoleman)
* ENHANCEMENT: Improved the logic around how "no access" messages are generated and added filters to customize these messages. #3003 (@kimcoleman)
* ENHANCEMENT: Standardized CSS selectors to make theming a PMPro site more straightforward. #3003 (@kimcoleman)
* ENHANCEMENT: Added an "Edit Customer in Stripe" button to the "View Subscription" page for Stripe subscriptions. #2987 (@dparker1005)
* ENHANCEMENT: Set Stripe Checkout to be the default Stripe payment flow on new websites. #3006 (@dparker1005)
* ENHANCEMENT: Updated the "Check out with PayPal" button so that it is more accessible and can be translated. #3026 (@kimcoleman)
* ENHANCEMENT: Updated the billing failure email to link directly to the "update billing information" page for the corresponding subscription. #3032 (@MaximilianoRicoTabo)
* ENHANCEMENT: Updated the term "Invoice" to "Order" in most places throughout the plugin. #2982 (@kimcoleman)
* ENHANCEMENT: Added filters for updating how the total, subtotal, and tax are displayed for an order. #3009 (@dparker1005)
* ENHANCEMENT: Added a new filter `pmpro_subscription_cost_text` for updating how the subscription cost is displayed. #3021 (@dparker1005)
* ENHANCEMENT: Added new filter `pmpro_dashboard_meta_boxes` to allow developers to hide dashboard widgets and add their very own widgets to the PMPro dashboard area. #3019 (@andrewlimaza)
* ENHANCEMENT: Now detecting Add Ons with incorrect folder names in site health. #2069 (@mircobabini)
* BUG FIX/ENHANCEMENT: Email headers and footers are now added after email body filters are run. #2000 (@mircobabini)
* BUG FIX/ENHANCEMENT: Added an error message on the Edit Member page when an order refund fails. #3015 (@dparker1005)
* BUG FIX/ENHANCEMENT: Moved the "Edit Customer in Stripe" button on the Edit Member page to the "User Info" tab. #2987 (@MaximilianoRicoTabo)
* BUG FIX/ENHANCEMENT: Added a fallback to get the site URL from the database should the SERVER_NAME parameter not be available in certain cases like using WP-CLI and some other instances. #2996 (@andrewlimaza)
* BUG FIX/ENHANCEMENT: Now including email template variables for the expired level ID and level name on the membership expired email template. #2954 (@MaximilianoRicoTabo)
* BUG FIX/ENHANCEMENT: When using PMPro Lifter Streamline mode, now making sure that Lifter does not reserve the `/membership/` slug. #2927 (@MaximilianoRicoTabo)
* BUG FIX/ENHANCEMENT: Enabled localization for certain strings throughout the plugin. #3005 (@DAnn2012)
* BUG FIX: Fixed an issue where the payment transaction ID would not be saved for an order while purchasing a subscription via Stripe Checkout. #3025 (@dparker1005)
* BUG FIX: Fixed an issue on some hosting setups where subscriptions would not be successfully inserted into the database. #3002 (@dparker1005)
* BUG FIX: Fixed an issue where the "Content Visibility" block editor settings could break some core WordPress blocks. #3014 (@MaximilianoRicoTabo)
* BUG FIX: Fixed an issue where a user's membership might not be removed when a PayPal Express subscription is suspended due to payment failure. #3016 (@dparker1005)
* BUG FIX: Fixed a broken link to the PMPro Approvals documentation page when creating a new membership level. #3001 (@dparker1005)
* BUG FIX: Fixed an issue where testing the "cancel on next payment date" email template might fail. #2984 (@MaximilianoRicoTabo)
* BUG FIX: Fixed an issue where a PHP warning might be shown when dynamically adding the membership level body CSS class. #3013 (@andrewlimaza)
* BUG FIX: Fixed an issue where the "View With" admin bar dropdown might not work correctly when using Firefox. #2953 (@MaximilianoRicoTabo)
* BUG FIX: Fixed an issue where there might not be a space between class names when creating a user field. #3046 (@kimcoleman)
* BUG FIX: Fixed over-escaped HTML in the admin activity email. #2985 (@MaximilianoRicoTabo)
* REFACTOR: Updated the checkout preheader to use the abstracted `pmpro_complete_checkout()` function. #2937 (@dparker1005)
* REFACTOR: Removed duplicate code from PayPal gateway classes. #2932 (@dparker1005)
* DEPRECATED: Removed the ability to customize no access messages for the RSS feed and the secondary option for logged out members. Filters should be used to customize these messages. #3003 (@kimcoleman)
* DEPRECATED: Removed the "Update Billing Flow" option from the Stripe gateway settings. Billing information will now be updated on-site if using the on-site payment flow and off-site if payments are taken via Stripe Checkout. #3006 (@dparker1005)
* DEPRECATED: Removed the `print.css` file from the plugin. These styles are now in `frontend.css`. #2940 (@dparker1005)
* DEPRECATED: Deprecated the `pmpro_longform_address` filter. Address fields will always be shown in longform format. #2990 (@kimcoleman)
* DEPRECATED: Removed setting and display of SSL Seal Code option from database and frontend pages. #2991 (@kimcoleman)
* DEPRECATED: No longer storing an option for accepted card types or allowing a card type select field in payment forms. #2989 (@kimcoleman)
* DEPRECATED: Deprecated the billable invoice, credit card expiring, checkout express, checkout trial, and checkout free trial email templates along with their admin counterparts. #3032 (@MaximilianoRicoTabo)

= 3.0.6 - 2024-07-01 =
* SECURITY: Fixed an authenticated SQL injection vulnerability in the Orders and Discount Codes list tables. (Thanks, Trương Hữu Phúc from Patchstack)
* BUG FIX: Fixed PHP errors when calling `pmpro_is_checkout()` too early in the page load. (@kimcoleman)
Expand Down
2 changes: 1 addition & 1 deletion adminpages/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* Filter the meta boxes to display on the Paid Memberships Pro dashboard.
*
* @since TBD
* @since 3.1
*
* @param array $pmpro_dashboard_meta_boxes Array of meta boxes to display on the dashboard. Hint: Use the associative array key as the meta box ID.
*/
Expand Down
2 changes: 1 addition & 1 deletion adminpages/emailtemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/**
* Filter to show the "default" email template in the dropdown.
*
* @since TBD
* @since 3.1
*
* @param bool $show_default_email_template Whether to show the default email template in the dropdown.
*/
Expand Down
2 changes: 1 addition & 1 deletion adminpages/securitysettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
/**
* Check if plugin is active, installed, or not installed.
*
* @since TBD
* @since 3.1
*
* @param $plugin_file The plugin file to check.
* @return string The status of the plugin (active, inactive, not installed).
Expand Down
2 changes: 1 addition & 1 deletion adminpages/templates/orders-print.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
/**
* Filter to add, edit, or remove information in the meta section of the single order frontend page.
*
* @since TBD
* @since 3.1
* @param array $pmpro_order_single_meta Array of meta information.
* @param object $order The PMPro Invoice/Order object.
* @return array $pmpro_order_single_meta Array of meta information.
Expand Down
6 changes: 3 additions & 3 deletions blocks/build/account-invoices-section/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "pmpro/account-invoices-section",
"title": "PMPro Page: Account Invoices",
"title": "PMPro Page: Account Orders",
"category": "pmpro-pages",
"description": "Dynamic page section that displays a list of the last 5 membership invoices for the active member.",
"description": "Dynamic page section that displays a list of the last 5 membership orders for the active member.",
"keywords": [ "account", "member", "order", "purchases", "receipt", "user", "paid memberships pro", "pmpro" ],
"attributes" : {
"title" : {
"type" : "string",
"default" : "Past Invoices"
"default" : "Past Orders"
}
},
"supports": {
Expand Down
2 changes: 1 addition & 1 deletion blocks/build/account-invoices-section/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => '25c7212afb1ce3342816');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => '3f13f48f1e73cdfa5c02');
2 changes: 1 addition & 1 deletion blocks/build/account-invoices-section/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blocks/build/account-invoices-section/render.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Render the Membership Account: Invoices block on the frontend.
* Render the Membership Account: Orders block on the frontend.
*/
$title = isset( $attributes['title'] ) ? $attributes['title'] : null;
$output = pmpro_shortcode_account( array( 'sections' => 'invoices', 'title' => $title ) );
Expand Down
2 changes: 1 addition & 1 deletion blocks/build/account-page/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "pmpro/account-page",
"title": "PMPro Page: Account (Full)",
"category": "pmpro-pages",
"description": "Dynamic page section to display the selected sections of the Membership Account page including Memberships, Profile, Invoices, and Member Links. These sections can also be added via separate blocks.",
"description": "Dynamic page section to display the selected sections of the Membership Account page including Memberships, Profile, Orders, and Member Links. These sections can also be added via separate blocks.",
"keywords": [ "account", "billing", "invoice", "links", "member", "order", "profile", "purchases", "quick link", "receipt", "user", "paid memberships pro", "pmpro" ],
"attributes": {
"membership": {
Expand Down
2 changes: 1 addition & 1 deletion blocks/build/account-page/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '73170a44cc5d2b528d16');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '54ca176cf34baa45eb96');
2 changes: 1 addition & 1 deletion blocks/build/account-page/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions blocks/build/invoice-page/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "pmpro/invoice-page",
"title": "PMPro Page: Invoice",
"title": "PMPro Page: Orders",
"category": "pmpro-pages",
"description": "Dynamic page section that displays a list of all invoices (purchase history) for the active member. Each invoice can be selected and viewed in full detail.",
"keywords": [ "history", "order", "purchases", "receipt", "paid memberships pro", "pmpro" ],
"description": "Dynamic page section that displays a list of all orders (purchase history) for the active member. Each order can be selected and viewed in full detail.",
"keywords": [ "history", "order", "invoice", "purchases", "receipt", "paid memberships pro", "pmpro" ],
"attributes" : {
},
"supports": {
Expand Down
2 changes: 1 addition & 1 deletion blocks/build/invoice-page/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => '39d2365afb87e37ad30b');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => '66caba5420e3a53d5abf');
2 changes: 1 addition & 1 deletion blocks/build/invoice-page/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blocks/build/invoice-page/render.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Render the Membership Invoice block on the frontend.
* Render the Membership Orders block on the frontend.
*/
$output = pmpro_loadTemplate( 'invoice', 'local', 'pages' );
?>
Expand Down
Loading

0 comments on commit 85e5b84

Please sign in to comment.