WooCommerce Gift Cards icon

Release v2.7.6

WooCommerce Gift Cards v2.7.6

What's new in v2.7.6

WooCommerce Gift Cards v2.7.6 was released on . There’s a reason why the most successful online stores are offering digital gift cards: E-gift cards increase customer loyalty, drive more revenue, and introduce new customers to your store. See the full changelog below and compare with the complete version history.

Release details

Released
515.9 KB
File available

Changelog

Fixed
  • Applied the Shop Manager gift card code masking policy to refund reversal errors.
  • Applied the Shop Manager gift card code masking policy to analytics reports and exports.
  • Disabled forgeable legacy gift card email links while preserving modern links.
  • Fixed a fatal error when applying a gift card from an email link while the WooCommerce Store API session handler is active.
  • Fixed a fatal error when sending a test of the Gift card received email, or when the gift card is not linked to an order item.
  • Restricted subscription gift card balance changes to the subscription owner or shop managers.
  • Analytics reports failed to render at all, instead of showing an error message, when their data could not be loaded.
  • Prevented Gift Card imports from deleting Shop Manager-selected server files.
Other
  • Dev - Restored TLS certificate verification and fail-closed error handling in the release deployment script.
  • Dev - Pinned and checksum-verified the WP-CLI executable used in release builds.
  • Dev - Added the plain lint:phpcs script and updated PHP_CodeSniffer to 3.13.6 (security release).
  • Dev - Added Markdown, dependency license, and WordPress.org Plugin Check gates to the pull request CI.
  • Dev - Updated the npm build toolchain to resolve all remaining Dependabot security alerts.
  • Dev - Standardized the package license identifier on GPL-3.0-or-later.
  • Dev - Exposed the shared `.ai/commands` to agent tooling and documented the isolated worktree setup.
  • Dev - Isolated pull request tests from release credentials.
  • Dev - Enabled CSS linting in CI and fixed source style violations.
  • Dev - Enabled JavaScript linting in CI and fixed source violations.
  • Dev - Migrated the ESLint configuration to the flat config format required by ESLint 10, aligning the lint and formatting toolchain with WooCommerce core.
  • Dev - Update wp-coding-standards/wpcs to 3.4.1 (security release) in the phpcs lint tooling.
  • Dev - Update development Composer dependencies (PHPUnit, Guzzle PSR-7, PsySH, Symfony YAML) to resolve security advisories in the PHP test toolchain.
  • Dev - Update development npm dependencies to resolve security advisories in the build toolchain.
  • Dev - Hardened the QIT test workflow: pinned the QIT CLI version and stopped workflow inputs from being interpolated into shell source.
  • Dev - Prevented gift card debits from committing the unit test suite's transaction while preserving atomic production debits.
  • Dev - Updated usage tracking to recalculate the first published gift card product date whenever tracking data is invalidated.

Compatibility

Requires WordPress
6.8
Tested up to
7.0
Requires PHP
7.4

Verified safe

WooCommerce Gift Cards v2.7.6 scanned clean with no security threats detected.

View full scan report