WooCommerce Subscriptions Enhancer Version 5.6.0 Changelog
* Dev – Code improvements on class-enr-compatible-wc-subscription-downloads.php.
* Dev – Code improvements on class-enr-compatible-wc-subscription-downloads.php.
* Dev – Add AI assistant documentation and configuration for Claude Code and Cursor.
* Dev – Add deploy workflow and release preparation via Woo Deploy.
* Dev – Fix npm dependency vulnerabilities via overrides for serialize-javascript, minimatch, axios, qs, and webpack.
* Update – Require WooCommerce 10.5+.
*Fixed issue where the subscription start date was not automatically set when adding products to the cart from shop (archive) or category pages.
*Added WPML compatibility.
* Fix – Snapshot the cart total at the moment the OTP is sent and store it in the session. At validation time, compare against the snapshot instead of the live cart total. If the cart has changed, require re-verification.
* Fix – Return the same generic response for existing-but-unverified and new-email paths so an attacker cannot distinguish between them. Only keep 'already_verified' as a distinct code since it is needed for UX.
* Fix – Add a nonce check at the top of the resend handler using the same nonce the verify handler uses. Return an error if the nonce fails.
* Fix – "Login Now" Button Not Redirecting to Login Page in CEV PRO Checkout Popup
* Fix – Disable WooCommerce Store API Checkout not blocking Block checkout
* Fix – Logged-in users with unverified emails can no longer bypass checkout email verification
* Improvement – Replace mt_rand() with random_int() in the PIN generation loop. random_int() uses a CSPRNG and is safe for security-sensitive token generation.
* Improvement – Add a per-email or per-session attempt counter. After 5 failed attempts, invalidate the current PIN and force the user to request a new one. Return an error telling the user their code has expired due to too many attempts.
* Dev – Tested with WooCommerce 10.6.1
* Dev – Tested with WordPress 6.9.4
* Fix – Minor fix in action scheduler for large datasets
* Dev – More robust handling of plugin settings and defaults
* Dev – Some minor css fixes and improvements
* New: Tested up to WordPress 6.9.4
* New: Tested up to WooCommerce 10.6.1
* Update: Replaced deprecated 'wc_enqueue_js()' usage for compatibility with WooCommerce 10.4
* Update: Translation
* Tweak – Improve support of S3 content disposition in pre signed URLs
* Tweak – Add a setting to control the default behavior of the plugin concerning the content disposition for S3 downloads
* Dev – Add a filter hook to allow customizing the content disposition of the pre-signed URLs generated by the plugin
* Fix – Subscriptions – Dropdown for editing subscription link on "Edit User Membership" page not working
* Misc – Update the SkyVerge Plugin Framework to v6.1.1
* Fix – Ensure extraction of metadata properly works with variations when not inheriting from the parent product
* Fix – Filter out First-Class Package International Service rates for packages exceeding USPS dimensional limits.
* Fix – Restrict international First-Class Mail letter and envelope rates to items with zero declared value.
* Tweak – Split international First-Class into separate Mail and Package services for accurate rate naming.
* Tweak – Show packing method label in rate metadata for all packing methods.
* Tweak – Add rate description and mail class to rate metadata.