توضیحات
Add beautiful gift wrapping options to WooCommerce products with custom designs, pricing, and personal messages.
تغییرات این نسخه
2.1.4
Release Date: 29th May 2026
Fix – Corrected undefined variable $giftpack_image_alt causing PHP notices and missing alt attributes on gallery images.
Fix – Added missing ABSPATH guard to the admin class file.
Fix – Added nonce verification to the AJAX gift-wrap handler and sent nonce from all three JS AJAX call sites.
Fix – Replaced invalid esc_html_e('checked="checked"') with the proper WordPress checked() helper on all 9 admin checkboxes.
2.1.3
Release Date: 29th May 2026
Fix – Resolved PHP 8.2 deprecation notices for dynamic property creation on $current_language and $gpfw_options.
Fix – Replaced inline <style> output with wp_add_inline_style() to follow WordPress enqueue standards.
Fix – Added consistent nonce verification across all admin settings save paths (WPML and non-WPML).
Fix – Replaced json_encode() with wp_json_encode() for proper WordPress output escaping.
Fix – Replaced esc_html() with wp_kses_post() for WooCommerce price HTML output.
Fix – Corrected arbitrary POST value being used as an update_option() key in the admin display template.
Fix – Added isset() guards on all $_POST accesses in the non-WPML settings save path.
Fix – Removed an unintended non-plugin file (public/partials/Untitled) from the plugin package.
Improvement – Prefixed global function run_gift_pack_for_woocommerce to comply with WordPress naming standards.
Improvement – Added phpcs:ignore annotations for third-party WPML hook invocations across all files.
2.1.3
Release
Release Date: 29th May 2026
Fix – Corrected undefined variable $giftpack_image_alt causing PHP notices and missing alt attributes on gallery images.
Fix – Added missing ABSPATH guard to the admin class file.
Fix – Added nonce verification to the AJAX gift-wrap handler and sent nonce from all three JS AJAX call sites.
Fix – Replaced invalid esc_html_e('checked="checked"') with the proper WordPress checked() helper on all 9 admin checkboxes.
2.1.3
Release Date: 29th May 2026
Fix – Resolved PHP 8.2 deprecation notices for dynamic property creation on $current_language and $gpfw_options.
Fix – Replaced inline <style> output with wp_add_inline_style() to follow WordPress enqueue standards.
Fix – Added consistent nonce verification across all admin settings save paths (WPML and non-WPML).
Fix – Replaced json_encode() with wp_json_encode() for proper WordPress output escaping.
Fix – Replaced esc_html() with wp_kses_post() for WooCommerce price HTML output.
Fix – Corrected arbitrary POST value being used as an update_option() key in the admin display template.
Fix – Added isset() guards on all $_POST accesses in the non-WPML settings save path.
Fix – Removed an unintended non-plugin file (public/partials/Untitled) from the plugin package.
Improvement – Prefixed global function run_gift_pack_for_woocommerce to comply with WordPress naming standards.
Improvement – Added phpcs:ignore annotations for third-party WPML hook invocations across all files.
2.1.3
Release