Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 03:25
· 34 commits to main since this release
3122a57

OwnPay Payment Gateway 1.2.0

  • Removed stale binary dashboard menu icon (196KB JPG) in favor of the existing SVG icon.
  • Added deactivation hook to clean up the runtime cache version option.
  • Fixed version constant mismatch: OPWC_VERSION now correctly reflects 1.2.0 instead of the stale 1.0.0 value.
  • Updated Plugin URI to point to the WordPress.org plugin directory listing instead of the GitHub repository.
  • Improved getallheaders() fallback to only iterate HTTP_* server variables along with CONTENT_TYPE and CONTENT_LENGTH, avoiding unnecessary iteration over all $_SERVER keys.
  • Removed redundant strval() wrappers around sanitize_text_field() calls where applicable.
  • Refactored self-hooking in class constructors: moved add_action/add_filter registrations from __construct() into dedicated init() methods called externally, following WordPress.org coding best practices. Affected classes: OPWC_Payment, OPWC_Hooks, OPWC_Menu_Settings, and OPWC_Admin.
  • Added index.php silence files to all subdirectories (admin/css/, admin/js/, admin/partials/, admin/partials/views/, admin/partials/views/payment-list/, assets/, assets/js/, assets/logo/, languages/) to prevent directory listing on servers.
  • Fixed fallback version string in OPWC class constructor to match the current release.
  • Expanded changelog entries for this release with specific technical details.