You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Changed
11
+
-**Plugin Rename**: Renamed plugin from "WC Free Gift Coupons Bulk Coupon Generator" to "Free Gift Coupons Bulk Coupon Generator" to remove WC prefix while maintaining clarity as a companion to the Free Gift Coupons for WooCommerce plugin.
12
+
- Updated text domain from `wc-free-gift-coupons-bulk-coupons-generator` to `free-gift-coupons-bulk-coupons-generator`
13
+
- Renamed main class from `WooCommerceFreeGiftBulkCoupons` to `FreeGiftCouponsBulkGenerator`
14
+
- Updated all plugin constants: `SCG_*` → `FGCBG_*` (Free Gift Coupons Bulk Generator)
15
+
- Updated all function names and hooks to use `fgcbg_` prefix instead of `scg_`
16
+
- Updated all coupon metadata keys from `_scg_*` to `_fgcbg_*`
17
+
- Updated helper functions and initialization callbacks
18
+
- Updated PHPCS and composer configuration
19
+
20
+
**Migration Notes**: External code depending on the old hooks, filters, constants, or function names will need updating. This is considered a major version change due to the breaking API changes.
21
+
10
22
### Fixed
11
23
-**CSRF in admin_init**: Restored nonce verification in `admin_init()` before processing form data to prevent CSRF. The v1.5.1 removal was incorrect — without it, `$_POST` is accessed before any security check.
12
24
-**XSS in Success Notice**: Wrapped `sprintf()` output in `esc_html()` (using `__()` instead of `esc_html__()` for the format string) to properly escape the final rendered output.
# Free Gift Coupons Bulk Coupon Generator - WordPress Plugin
2
2
3
3
## Project Overview
4
4
5
5
This is a WordPress plugin that generates bulk free gift coupon codes for WooCommerce stores. It integrates with the "Free Gift Coupons for WooCommerce" plugin to create coupons with the proper data structure for free gift functionality. Designed for store administrators who need to generate large quantities of gift coupons efficiently.
6
6
7
7
## Plugin Details
8
8
9
-
-**Name:**WC Free Gift Coupons Bulk Coupon Generator
9
+
-**Name:** Free Gift Coupons Bulk Coupon Generator
0 commit comments