Version Description
Solved an UTF8-encoding issue that broke XML feeds
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 11.2.5 |
Comparing to | |
See all releases |
Code changes from version 11.2.3 to 11.2.5
- classes/class-get-products.php +5 -3
- js/woosea_key.js +1 -1
- readme.txt +13 -1
- woocommerce-sea.php +2 -2
classes/class-get-products.php
CHANGED
@@ -47,7 +47,8 @@ class WooSEA_Get_Products {
|
|
47 |
$string = str_replace("\r", '', $string); // --- replace with empty space
|
48 |
$string = str_replace("\n", ' ', $string); // --- replace with space
|
49 |
$string = str_replace("\t", ' ', $string); // --- replace with space
|
50 |
-
|
|
|
51 |
// ----- remove multiple spaces -----
|
52 |
$string = trim(preg_replace('/ {2,}/', ' ', $string));
|
53 |
|
@@ -1325,6 +1326,7 @@ class WooSEA_Get_Products {
|
|
1325 |
$installment_amount = $installment->addChild('g:amount', $installment_split[1], $namespace['g']);
|
1326 |
}
|
1327 |
} elseif ($k == "g:color" || $k == "g:size" || $k == "g:material"){
|
|
|
1328 |
if(!empty($v)){
|
1329 |
$attr_split = explode(",", $v);
|
1330 |
$nr_attr = count($attr_split)-1;
|
@@ -1334,10 +1336,10 @@ class WooSEA_Get_Products {
|
|
1334 |
$attr_value .= trim($attr_split[$x])."/";
|
1335 |
}
|
1336 |
$attr_value = rtrim($attr_value,"/");
|
1337 |
-
$product->$k = $attr_value;
|
1338 |
}
|
1339 |
} else {
|
1340 |
-
$product->$k = $v;
|
1341 |
}
|
1342 |
}
|
1343 |
}
|
47 |
$string = str_replace("\r", '', $string); // --- replace with empty space
|
48 |
$string = str_replace("\n", ' ', $string); // --- replace with space
|
49 |
$string = str_replace("\t", ' ', $string); // --- replace with space
|
50 |
+
$string = str_replace("%", ' ', $string); // --- replace with space
|
51 |
+
|
52 |
// ----- remove multiple spaces -----
|
53 |
$string = trim(preg_replace('/ {2,}/', ' ', $string));
|
54 |
|
1326 |
$installment_amount = $installment->addChild('g:amount', $installment_split[1], $namespace['g']);
|
1327 |
}
|
1328 |
} elseif ($k == "g:color" || $k == "g:size" || $k == "g:material"){
|
1329 |
+
|
1330 |
if(!empty($v)){
|
1331 |
$attr_split = explode(",", $v);
|
1332 |
$nr_attr = count($attr_split)-1;
|
1336 |
$attr_value .= trim($attr_split[$x])."/";
|
1337 |
}
|
1338 |
$attr_value = rtrim($attr_value,"/");
|
1339 |
+
$product->$k = rawurldecode($attr_value);
|
1340 |
}
|
1341 |
} else {
|
1342 |
+
$product->$k = rawurldecode($v);
|
1343 |
}
|
1344 |
}
|
1345 |
}
|
js/woosea_key.js
CHANGED
@@ -26,7 +26,7 @@ jQuery(document).ready(function($) {
|
|
26 |
var license_key = $('#license-key').val();
|
27 |
|
28 |
jQuery.ajax({
|
29 |
-
url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.2.
|
30 |
jsonp: 'callback',
|
31 |
dataType: 'jsonp',
|
32 |
type: 'GET',
|
26 |
var license_key = $('#license-key').val();
|
27 |
|
28 |
jQuery.ajax({
|
29 |
+
url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.2.5',
|
30 |
jsonp: 'callback',
|
31 |
dataType: 'jsonp',
|
32 |
type: 'GET',
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
5 |
Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.9
|
8 |
-
Stable tag: 11.2.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -337,6 +337,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
337 |
|
338 |
=== Changelog ===
|
339 |
|
|
|
|
|
|
|
|
|
|
|
|
|
340 |
= 11.2.3 (2022-02-01) =
|
341 |
* Fixed a XSS vulnerability issue
|
342 |
|
@@ -3587,6 +3593,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
3587 |
|
3588 |
== Upgrade Notice ==
|
3589 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3590 |
= 11.2.3 =
|
3591 |
Fixed a XSS vulnerability issue
|
3592 |
|
5 |
Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.9
|
8 |
+
Stable tag: 11.2.5
|
9 |
|
10 |
== Description ==
|
11 |
|
337 |
|
338 |
=== Changelog ===
|
339 |
|
340 |
+
= 11.2.5 (2022-02-07) =
|
341 |
+
* Solved an UTF8-encoding issue that broke XML feeds
|
342 |
+
|
343 |
+
= 11.2.4 (2022-02-02) =
|
344 |
+
* Added rawurldecode for some fields
|
345 |
+
|
346 |
= 11.2.3 (2022-02-01) =
|
347 |
* Fixed a XSS vulnerability issue
|
348 |
|
3593 |
|
3594 |
== Upgrade Notice ==
|
3595 |
|
3596 |
+
= 11.2.5 =
|
3597 |
+
Solved an UTF8-encoding issue that broke XML feeds
|
3598 |
+
|
3599 |
+
= 11.2.4 =
|
3600 |
+
Added rawurldecode for some fields
|
3601 |
+
|
3602 |
= 11.2.3 =
|
3603 |
Fixed a XSS vulnerability issue
|
3604 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 11.2.
|
5 |
* Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
|
6 |
* Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
|
7 |
* Author: AdTribes.io
|
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
|
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
-
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.2.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 11.2.5
|
5 |
* Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
|
6 |
* Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
|
7 |
* Author: AdTribes.io
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
+
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.2.5' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|