Skip to content

Release v1.4.0

Choose a tag to compare

@github-actions github-actions released this 02 Aug 22:47
· 119 commits to main since this release
0045943

Breaking Changes

  • Text Domain Standardization: Changed text domain from WC-Free-Gift-Coupons-Bulk-Coupons-Generator to wc-free-gift-coupons-bulk-coupons-generator to comply with WordPress standards that require only lowercase letters, numbers, and hyphens.

Security

  • Nonce Verification Fix: Added proper nonce verification in the admin_init method to prevent unauthorized form processing and address WordPress.Security.NonceVerification.Missing warning.

Improvements

  • Deprecated Function Removal: Removed the deprecated load_plugin_textdomain() call as WordPress automatically handles plugin translations for plugins hosted on WordPress.org since version 4.6.
  • Repository Links Update: Updated all GitHub repository links to use lowercase format to match the renamed repository.
  • Testing Support: Added wc_free_gift_bulk_coupons_is_loaded() helper function to improve compatibility with testing frameworks and replace the removed test function.

Development

  • Package References: Updated all @package references to use the new lowercase text domain format.

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