Novidade
- Added compliance wizard country/state recommendations with auto-selection logic: supported selections include EU, US, UK, India, and California (US state flow); recommended legal pages are auto-highlighted and pre-selected based on region.
- Added Cookie Consent + Policy Sync feature end-to-end.
- Added frontend cookie consent banner with Accept/Reject actions and policy link.
- Added consent logging via AJAX (legalprov_cookie_consent_log) with capped storage in option legalprov_cookie_consent_logs.
- Added new public assets for cookie consent: public/css/legalprov-cookie-consent.css; public/js/legalprov-cookie-consent.js
- Added cookie consent settings in admin Settings tab: enable/disable banner; auto sync cookies policy content; banner text and button labels; custom cookies policy URL
- Added automatic Cookies Policy page content sync on general settings save.
- Added new admin tab Cookie Consent Logs to display stored consent logs.
- Added clear logs action (legalprov_clear_cookie_consent_logs) with AJAX button support.
- Added uninstall cleanup for cookie consent logs option.
Melhoria
- Removed consent logs block from Settings tab and moved it to dedicated logs tab.
- Improved Spin Content behavior when OpenAI API key is missing: returns proper JSON error response; fixed frontend toast key handling (review instead of empty message); added better error handling for empty selection and request failures
Correção
- Fixed template meta persistence by setting sanitized template key in page publish/update flow.
Segurança
- Added AJAX security hardening across admin actions using nonce verification and capability checks.