Skip to content

Releases: unfulvio/wp-currencies

1.4.6

29 Jun 18:53
Compare
Choose a tag to compare

There was an issue in how wp_schedule_event() was implemented which resulted in a naming collision with another action hook. While solving issues with wp cron handling, a new wp_currencies_update() function has been introduced - you normally won't need to use this function as it's handled internally by wp cron at your set interval. When called directly or by wp cron, it will reschedule the cron job and trigger an update.

1.4.4

26 Jun 16:41
Compare
Choose a tag to compare

Removed some Advanced Custom Fields deprecated code from ACF 5.x support class

1.4.3

26 Jun 13:13
Compare
Choose a tag to compare

It seems that the bug fixed in 1.4.1 required one more wrapper check to make sure updates were run when DOING_CRON is true. Also there are new hooks available (check documentation wiki).

1.4.1

24 Jun 16:54
Compare
Choose a tag to compare

There was a bug in 1.4.0 that fired too many API requests. It was meant to reschedule the cron job on every change in WP Currency settings. But instead fired on every load, rescheduling the currency update constantly. This release fixes that.

1.4.0

19 Jun 01:48
Compare
Choose a tag to compare
  • Better OOP rewrite of the whole plugin
  • PHP 5.4 is the minimum requirement now
  • Improved security and performance
  • Introduced new hooks (see documentation)
  • Moved the documentation on wiki pages

1.3.0

19 Jun 00:18
Compare
Choose a tag to compare

In 1.3.0 support for WCML is removed.

The reason is that WCML used to store currency rates by having admins manually inserting exchange rates into WCML settings. These were then saved into database as a WordPress option. The only way to dynamically adjust the rates was to overwrite the entire WCML option group at periodical intervals. Which is what WP Currencies did so far. However, it seems that WCML in newer versions changed the structure of their settings, WP Currencies couldn't find the same array key and failed to update the currencies, and breaking WCML on top of that.

This was already pointed out by some users. And I was aware that it wasn't really a good idea from the beginning, but to accomplish what I wanted there was no other alternative offered by WCML.

I've made a quick search and now they seem finally to offer some hooks: https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/ (look at the bottom of the document) - with these hooks it should be easy to take the values from WP Currencies and filter the rates of WCML, without the need of a specific support of WP Currencies for WCML. Or perhaps I will reintegrate that in a next version.

1.2.4

25 Feb 19:09
Compare
Choose a tag to compare

Improved the activation hook - also fixes a bug where if the currencies table was already in database and the plugin was deactivated and then reactivated it would throw a "plugin generated x characters of unexpected output" error.

1.2.0

15 Jan 06:04
Compare
Choose a tag to compare

If you have WooCommerce, WPML and WooCommerce Multilingual installed, this plugin will dynamically update your WCML currencies too, improving the multicurrencies support. In this version the plugins settings are saved slightly differently and you should re-enter your API key. See the changelog for more updates.

1.1.3

14 Jul 02:04
Compare
Choose a tag to compare
tag bump after release on WordPress.org