Skip to content

Release v1.3.0

Choose a tag to compare

@github-actions github-actions released this 02 Aug 22:17
· 120 commits to main since this release
291c5a8

Security

  • Secure Coupon Generation: Replaced wp_rand() with the more secure random_int() for generating coupon codes, ensuring cryptographic-level randomness and reducing the risk of predictable codes.
  • Streamlined Nonce Verification: Removed a redundant nonce check in admin_init to simplify the security workflow, as the primary verification is already handled in handle_coupon_generation.

Bug Fixes

  • Corrected Transient Removal: Fixed a bug in uninstall.php where an incorrect transient key was used, preventing cached product data from being properly deleted upon plugin uninstallation.

Refactoring

  • Code Cleanup: Removed the unused fgbcg_admin_menu() function to improve code clarity and maintainability.

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin
  4. Navigate to WooCommerce > Coupon Generator to start using the plugin

Requirements

  • WordPress 6.5 or higher
  • WooCommerce 5.0 or higher
  • PHP 7.4 or higher

Full Documentation