New: Added a new “Export Affiliate Users” button to the “Affiliate Users” admin page, to export a CSV file with all affiliate users and their details.
New: Added a bulk action on the “Affiliate Orders (Referrals)” admin page, to bulk “Update Unpaid Commission” for all selected orders. This will trigger the granting of unpaid commission for completed orders that have not already been granted commission.
Improvement: On the floating affiliate widget, if statistics need to be refreshed for the affiliate coupon, it will show a message and button for this.
Improvement: When adding a new affiliate, either by approving an application, or adding an affiliate manually, it will no longer show the “calculating stats” loading bar the first time the dashboard is loaded for that affiliate coupon.
Tweak: Implemented some image file size limits for the creatives to prevent performance issues with large images.
Tweak: The floating affiliate widget is now hidden from the affiliate portal pages if the “hide on affiliate pages” option is enabled.
Fix: Fixed an issue with the search on the “Coupons” admin page.
Fix: Fixed an issue with the message displayed after submitting the affiliate registration form in some cases being showed in the wrong place.
Fix: Fixed an issue with the affiliate portal registration form sometimes generating 2 coupons for the affiliate if auto accept was enabled.
Fix: Added a nonce check for bulk actions on the “Affiliate Orders (Referrals)” admin page as a security precaution.
Fix: Added a nonce check for the wcusage_update_all_stats_data endpoint to prevent unauthorized access.