Notas da versão 1.2.4: 1 melhoria 2 correções 1 reforço de segurança
Melhoria
- Latest WordPress 7.1 compatibility check
Correção
- Bonus product quantity on the cart page could be changed away from 1 (e.g. via the quantity field and "Update cart"), giving multiple free units; quantity is now locked to 1 both in the cart display and when totals are calculated
- Renamed internal helper functions to use the plugin's function prefix, avoiding possible naming collisions with other plugins
Segurança
- The "Add Bonus Product" AJAX handler now verifies the requested product is actually configured as an eligible bonus for the item in the cart, instead of trusting the submitted product ID