Notas da versão 3.1.2: 1 melhoria 14 correções 1 reforço de segurança
Melhoria
- Load the PDF export library only on the plugin's settings screen.
Correção
- Prevent Referral Discount and Friend Discount from stacking; the last eligible referral link determines the shopper's discount.
- Protect published commission rules after a missing-table recovery and require confirmation before replacing them.
- Create the commission rules table on database servers whose SQL mode includes IGNORE_SPACE.
- Show the database's own reason when an update fails, and retry it on each admin page load until it succeeds.
- Keep referral codes through WooCommerce's Shop redirect on stores using plain permalinks.
- Make the withdrawal email follow its Email Setting switch, and remove the dashboard's "Activate referral emails" box.
- Apply "Restrict own referral" to orders paid with the affiliate's own email address, including guest checkouts.
- Apply the Custom Css setting to the affiliate dashboard on both templates.
- Show the plugin's own warnings on its settings screen.
- Fit affiliate dashboard tables to their tab, folding columns that do not fit on phones.
- Show whole numbers on dashboard chart order axes, and keep monthly bars and month names readable on phones.
- Keep the Register button and the login prompt apart on registration forms on phones.
- Stop Template 1's font from changing the theme's header, footer and other pages.
- Keep the wallet passbook's Previous and Next buttons readable on hover with Storefront and similar themes.
Segurança
- Prevent commission credits and withdrawal requests for inactive affiliates while preserving existing balances and records.