Plugin Directory

Changeset 1691761


Ignore:
Timestamp:
07/06/2017 10:15:26 AM (9 years ago)
Author:
bseddon
Message:

Release 1.0.25 fixes a problem getting exchange rates from the ECB. The WP remote get function adds a user-agent header that includes a forward slash that the ECB web server does not like. The fix is to sent a custom user-agent header.

Location:
vat-moss/trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • vat-moss/trunk/includes/class-integrations.php

    r1310726 r1691761  
    482482        }
    483483
    484         $fetched = wp_remote_get("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml");
     484        // $fetched = wp_remote_get("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml");
     485        $fetched = wp_remote_get( "http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml", array( 'user-agent' => 'WordPress-' . $wp_version . '; ' . home_url() . ';' ) );
     486
    485487        if (is_wp_error($fetched) ||
    486488            empty($fetched['response']) ||
  • vat-moss/trunk/readme.txt

    r1512912 r1691761  
    55Tags: VAT, HMRC, MOSS, M1SS, tax, EU, UKdigital vat, Easy Digital Downloads, edd, edd tax, edd vat, eu tax, eu vat, eu vat compliance, european tax, european vat, iva, iva ue, Mehrwertsteuer, mwst, taux de TVA, tax, TVA, VAT, vat compliance, vat moss, vat rates, vatmoss, WooCommerce
    66Requires at least: 3.9.2
    7 Tested up to: 4.6.1
    8 Stable Tag: 1.0.24
     7Tested up to: 4.7.3
     8Stable Tag: 1.0.25
    99License: GNU Version 2 or Any Later Version
    1010
     
    178178Completed the ability for a user to select the rate type for EDD payments
    179179
     180= 1.0.25 =
     181
     182Fixed a problem that prevented the plugin accessing Euro exchange from the ECB web site.
     183
    180184== Upgrade Notice ==
    181185
  • vat-moss/trunk/vat-moss.php

    r1512912 r1691761  
    55Plugin URI: http://www.wproute.com/downloads/vat-moss/
    66Description: Management and submission of VAT sales to EU consumers.
    7 Version: 1.0.24
    8 Tested up to: 4.6.1
     7Version: 1.0.25
     8Tested up to: 4.7.3
    99Author: Lyquidity Solutions
    1010Author URI: http://www.wproute.com/
     
    431431
    432432        if ( ! defined( 'VAT_MOSS_VERSION' ) )
    433             define( 'VAT_MOSS_VERSION',                         '1.0.24' );
     433            define( 'VAT_MOSS_VERSION',                         '1.0.25' );
    434434
    435435        if ( ! defined( 'VAT_MOSS_WORDPRESS_COMPATIBILITY' ) )
    436             define( 'VAT_MOSS_WORDPRESS_COMPATIBILITY',         '4.6.1' );
     436            define( 'VAT_MOSS_WORDPRESS_COMPATIBILITY',         '4.7.3' );
    437437
    438438        if ( ! defined( 'VAT_MOSS_STORE_API_URL' ) )
Note: See TracChangeset for help on using the changeset viewer.