The plugin to add a price in the second currency automatically.
|Author:||Akky AKIMOTO (profile at wordpress.org)|
|WordPress version required:||3.3.0|
|WordPress version tested:||4.8.3|
|Added to WordPress repository:||15-05-2013|
|Total downloads:||2 615|
Click to start download
Some numbers are not detected. What are limitations?
- number in text are not detected. For example,
- twenty dollars
- few thousand dollars
- a couple of dollars
- numbers bigger than billion are not handled
- billion/trillion are in US style, not UK style (because it can not be supported both notations simultaneously)
What if I do not want to display auto-converted prices in a specific post?
You may suppress the conversion by giving “acc_disable” tag on the post.
How are Japanese zenkaku(full-width) digits handled?
All Japanese zenkaku digits are converted, then checked and filtered. Because of that, all digits in the text, even though they are not money related, will be converted with regular ASCII digits.
- fixed translation code not use constant, to enable user translation
- fixed a bug that $2000 was recognized as $200 and 0, when 4 digits written after dollar/yen mark.
- changed to call fixer.io API, as Yahoo finance API had stopped around November 1st
- added translation text-domain info in plugin header
- remove php-intl polyfil, which supports better localized currency notations even without php_intl extension. As the polyfil library is too large to deliver and useless if the user set up php_intl extension correctly.
- tested with the latest WordPress version 4.8.3
- fixed warning “A non-numeric value encountered” with PHP7.1 or later
- tested with the latest WordPress version 4.8.2
- tested with the latest WordPress version 4.6.1
- emphasize caution to user who runs her PHP without php-intl extension. enabling php-intl will make the pluging much much faster
- when the converted dollar is less than $1, it now displays like ‘$0.xx’ instead of ‘$0’.
- added missing Japanese translations.
- 1.1.0 missed libraries for specific env.
- removed php_intl extension check
- even if php_intl extension is off, it works with the symfony/intl compatible library. Performance-wise, php_intl is better to be turned on. And it only supports English locale.
- added a feature to disable conversion on specific post with ‘acc_disable’ tag
- fixed a new bug at 1.0.7
- checked with the latest WordPress 4.4.2
- checked with the latest WordPress 4.4.1
- updated Composer autoloader to avoid collision with other plugins using later version of Composer
- make it work even allow_url_fopen is off.
- fixed – not caching the rates when data-fetching failed.
- stop trying to convert money in title. only money in body are processed.
- make the default cache period to one month, to avoid too much updates on feed
- changed to skip gracefully in case exchange rate are unavailable
- initial release