Changeset 1904673
- Timestamp:
- 07/05/2018 05:32:59 PM (8 years ago)
- Location:
- vat-ecsl/trunk
- Files:
-
- 3 edited
-
includes/class-integrations.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
vat-ecsl.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vat-ecsl/trunk/includes/class-integrations.php
r1310739 r1904673 410 410 } 411 411 412 $fetched = wp_remote_get("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml"); 412 global $wp_version; 413 $fetched = wp_remote_get("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml", array( 'user-agent' => 'WordPress-' . $wp_version . '; ' . home_url() . ';' ) ); 413 414 if (is_wp_error($fetched) || 414 415 empty($fetched['response']) || -
vat-ecsl/trunk/readme.txt
r1761161 r1904673 6 6 Requires at least: 3.9.2 7 7 Tested up to: 4.9 8 Stable Tag: 1.0.1 78 Stable Tag: 1.0.18 9 9 License: GNU Version 2 or Any Later Version 10 10 … … 144 144 Update WordPress supported version 145 145 146 = 1.0.18 = 147 148 Update WordPress supported version and changes the user agent on the WordPress remote request to get rates from the ECB because the ECB reject the default user agent string. 149 146 150 == Upgrade Notice == 147 151 -
vat-ecsl/trunk/vat-ecsl.php
r1511005 r1904673 5 5 Plugin URI: http://www.wproute.com/downloads/vat-ecsl/ 6 6 Description: Management and submission of VAT sales with VAT numbers. 7 Version: 1.0.1 78 Tested up to: 4. 6.17 Version: 1.0.18 8 Tested up to: 4.9.6 9 9 Author: Lyquidity Solutions 10 10 Author URI: http://www.wproute.com/ … … 409 409 410 410 if ( ! defined( 'VAT_ECSL_VERSION' ) ) 411 define( 'VAT_ECSL_VERSION', '1.0.1 7' );411 define( 'VAT_ECSL_VERSION', '1.0.18' ); 412 412 413 413 if ( ! defined( 'VAT_ECSL_WORDPRESS_COMPATIBILITY' ) ) 414 define( 'VAT_ECSL_WORDPRESS_COMPATIBILITY', '4. 6.1' );414 define( 'VAT_ECSL_WORDPRESS_COMPATIBILITY', '4.9.6' ); 415 415 416 416 if ( ! defined( 'VAT_ECSL_STORE_API_URL' ) ) … … 502 502 require_once VAT_ECSL_INCLUDES_DIR . 'class-settings.php'; 503 503 require_once VAT_ECSL_INCLUDES_DIR . 'class-integrations.php'; 504 require_once VAT_ECSL_INCLUDES_DIR . 'settings.php';505 504 require_once(VAT_ECSL_INCLUDES_DIR . 'vatidvalidator.php'); 506 505 require_once(VAT_ECSL_INCLUDES_DIR . 'class-html-elements.php');
Note: See TracChangeset
for help on using the changeset viewer.