Swift Currency – Multi-Currency Switcher for WooCommerce
Changelog
1.0.4
Compatibility: Declared compatibility with WordPress 6.7 and WooCommerce 7.0+ (up to 9.0).
Coding Standards: Fixed brace placement throughout — all classes now use WordPress K&R style (opening { on the same line as the declaration).
Coding Standards: Added required spaces inside parentheses for all control structures (if, foreach, switch) and function calls to comply with WPCS.
Coding Standards: Added complete docblocks (@since, @param, @return) to all previously undocumented private helper methods: sanitize_currency_code_array(), sanitize_rate_map(), and sanitize_interval_setting().
Coding Standards: Bumped @since 1.0.4 tag on the swiftcurrency_current_currency filter docblock to match the version it was refined.
Pro Add-on: Upgraded dependency notice from deprecated class=”error” to the correct WordPress class=”notice notice-error” markup.
Pro Add-on: Bumped version to 1.0.1; declared WC requires at least: 7.0 and WC tested up to: 9.0 in plugin header.
Pro Add-on: Added @since 1.0.0 docblock tags to all Pro class methods.
Pro Add-on: Refactored anonymous filter closures in init_components() to the multi-line WPCS-preferred style.
1.0.3
Fix: Cron auto-updates no longer silently skip when a Pro-tier rate provider (fixer, currencylayer, openexchangerates, exchangerate-api) is configured but the Pro add-on is not active. The scheduler now falls back to ECB automatically and logs a warning, so exchange rates are never left stale.
Security: Improved output escaping across admin and frontend templates — CSS class ternaries, aria attributes, number_format(), human_time_diff(), and translated strings now consistently use esc_attr()/esc_html().
Security: register_setting() now includes description and show_in_rest=false parameters.
1.0.2
Security: Added proper uninstall.php handler for WordPress.org compliance.
Security: Fixed database query escaping in installer for enhanced security.
Security: Added HTML escaping in admin JavaScript to prevent XSS vulnerabilities.
Enhancement: Improved translation compatibility with WordPress.org plugin repository expectations.
Compatibility: Ensured full WordPress.org Plugin Repository compliance.
1.0.1
Bug fixes and performance improvements.
1.0.0
Initial stable release.
Introduced three professional switcher styles: Fancy Dropdown, List, and Buttons.
Added support for local SVG flags.
Integrated real-time exchange rates via European Central Bank (ECB).