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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.