FIX Deprecated: Creation of dynamic property in PHP 8.3
TWEAK Add “Requires Plugins” header
DEV Plugin updater improvements
DEV Tested with WordPress 6.5-RC4-57894 and WooCommerce 8.8.0-beta.1
2.2 – 2024-02-09
NEW New approval rule by user role
NEW Order approval exception by user role
TWEAK Better explanation of the rules precedence
DEV Tested with WordPress 6.5-alpha-57571 and WooCommerce 8.6.0-rc.1
2.1 – 2024-01-29
NEW New approval rule by order subtotal (excluding taxes, fees and shipping)
FIX Plugin updater was running too late
TWEAK Better feedback when the license is expired
2.0 – 2024-01-10
WooCommerce Checkout Blocks compatibility
Only show licensing to WordPress administrators
Requires WordPress 5.8
Tested with WordPress 6.5-alpha-57258 and WooCommerce 8.5
1.5 – 2023-12-07
Fix emails not being sent when order is approved on newer WooCommerce versions
Update plugin translations online instead of shipping them with the main plugin
Improve plugin loading moment
Requires WordPress 5.4
Tested with WordPress 6.5-alpha-57159 and WooCommerce 8.4.0-rc.1
1.4 – 2023-09-21
Force “Processing” emails when manually changing status from “Needs approval” or “Approved”
Fix HTML output on the “Order received” page from WooCommerce 8.1 onwards
Tested with WordPress 6.4-alpha-56639 and WooCommerce 8.1.1
1.3 – 2023-05-12
Allow editing orders on backoffice when on “Needs approval” or “Approved” status
Fix the order manage link on the admin “Needs approval” email
Better updater information
1.2 – 2023-04-27
Add “Needs approval” product custom field to wpml-config.xml so it propagates to product translations correctly, and lock it on translations
Filter products needing approval on the products list in admin, show a column on the products list and allow to disable it via the swoa_admin_list_show_column filter
Changed setting product categories needing approval to the category edit instead of the settings screen
The swoa_needs_approval filter is now always used and has 2 new parameters to be more flexible
Abstract code around product categories so it’s easy to add other taxonomies in the future
1.1 – 2023-04-20
Bug fix: The order couldn’t be paid after approval if it changed back to the “Pending” status
Bug fix: The “order received” message was incorrectly shown after approval
Change the approved email payment link class to ID
Add swoa_needs_approval_checkout_message and swoa_needs_approval_order_received_message filters
Change the way we get the plugin version for updates checking