Version Description
Solved a Undefined array key HTTP_HOST PHP warning
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 11.6.2 |
Comparing to | |
See all releases |
Code changes from version 11.6.1 to 11.6.2
- classes/class-get-products.php +4 -0
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +7 -3
classes/class-get-products.php
CHANGED
@@ -4139,6 +4139,8 @@ class WooSEA_Get_Products {
|
|
4139 |
if(!array_key_exists($custom_kk_m, $product_data)){
|
4140 |
$custom_value_m = get_post_meta( $product_data['item_group_id'], $custom_kk_m, true );
|
4141 |
$new_key_m ="custom_attributes_" . $custom_kk_m;
|
|
|
|
|
4142 |
|
4143 |
if(!is_array($custom_value_m)){
|
4144 |
// In order to make the mapping work again, replace var by product
|
@@ -4147,6 +4149,7 @@ class WooSEA_Get_Products {
|
|
4147 |
if(is_array($custom_value_m)){
|
4148 |
// determine what to do with this later
|
4149 |
} else {
|
|
|
4150 |
$product_data[$new_key_m] = $custom_value_m;
|
4151 |
}
|
4152 |
}
|
@@ -4160,6 +4163,7 @@ class WooSEA_Get_Products {
|
|
4160 |
}
|
4161 |
}
|
4162 |
}
|
|
|
4163 |
$arr_value = rtrim($arr_value, ",");
|
4164 |
$product_data[$new_key_m] = $arr_value;
|
4165 |
}
|
4139 |
if(!array_key_exists($custom_kk_m, $product_data)){
|
4140 |
$custom_value_m = get_post_meta( $product_data['item_group_id'], $custom_kk_m, true );
|
4141 |
$new_key_m ="custom_attributes_" . $custom_kk_m;
|
4142 |
+
|
4143 |
+
error_log($custom_kk_m);
|
4144 |
|
4145 |
if(!is_array($custom_value_m)){
|
4146 |
// In order to make the mapping work again, replace var by product
|
4149 |
if(is_array($custom_value_m)){
|
4150 |
// determine what to do with this later
|
4151 |
} else {
|
4152 |
+
error_log("1111" . $custom_value_m);
|
4153 |
$product_data[$new_key_m] = $custom_value_m;
|
4154 |
}
|
4155 |
}
|
4163 |
}
|
4164 |
}
|
4165 |
}
|
4166 |
+
error_log(print_r($arr_value, TRUE));
|
4167 |
$arr_value = rtrim($arr_value, ",");
|
4168 |
$product_data[$new_key_m] = $arr_value;
|
4169 |
}
|
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.6.
|
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.6.2',
|
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, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 6.0
|
8 |
-
Stable tag: 11.6.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -345,6 +345,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
345 |
|
346 |
=== Changelog ===
|
347 |
|
|
|
|
|
|
|
348 |
= 11.6.1 (2022-06-01) =
|
349 |
* Added some more sanitisation and escaping
|
350 |
|
@@ -3716,6 +3719,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
3716 |
|
3717 |
== Upgrade Notice ==
|
3718 |
|
|
|
|
|
|
|
3719 |
= 11.6.1 =
|
3720 |
Added some more sanitisation and escaping
|
3721 |
|
5 |
Tags: Google Shopping Feed, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 6.0
|
8 |
+
Stable tag: 11.6.2
|
9 |
|
10 |
== Description ==
|
11 |
|
345 |
|
346 |
=== Changelog ===
|
347 |
|
348 |
+
= 11.6.2 (2022-06-06) =
|
349 |
+
* Solved a Undefined array key HTTP_HOST PHP warning
|
350 |
+
|
351 |
= 11.6.1 (2022-06-01) =
|
352 |
* Added some more sanitisation and escaping
|
353 |
|
3719 |
|
3720 |
== Upgrade Notice ==
|
3721 |
|
3722 |
+
= 11.6.2 =
|
3723 |
+
Solved a Undefined array key HTTP_HOST PHP warning
|
3724 |
+
|
3725 |
= 11.6.1 =
|
3726 |
Added some more sanitisation and escaping
|
3727 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 11.6.
|
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, Catalog managers, 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.6.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -167,7 +167,11 @@ function woosea_plugin_action_links($links, $file) {
|
|
167 |
|
168 |
// check to make sure we are on the correct plugin
|
169 |
if ($file == $this_plugin) {
|
170 |
-
|
|
|
|
|
|
|
|
|
171 |
$host = sanitize_text_field($_SERVER['HTTP_HOST']);
|
172 |
$plugin_links[] = '<a href="https://adtribes.io/support/?utm_source='.$host.'&utm_medium=pluginpage&utm_campaign=support" target="_blank">Support</a>';
|
173 |
$plugin_links[] = '<a href="https://adtribes.io/tutorials/?utm_source='.$host.'&utm_medium=pluginpage&utm_campaign=tutorials" target="_blank">Tutorials</a>';
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 11.6.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, Catalog managers, 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.6.2' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
167 |
|
168 |
// check to make sure we are on the correct plugin
|
169 |
if ($file == $this_plugin) {
|
170 |
+
$host = '';
|
171 |
+
if (!empty($_SERVER['HTTP_HOST'])) {
|
172 |
+
$host = $_SERVER['HTTP_HOST'];
|
173 |
+
}
|
174 |
+
|
175 |
$host = sanitize_text_field($_SERVER['HTTP_HOST']);
|
176 |
$plugin_links[] = '<a href="https://adtribes.io/support/?utm_source='.$host.'&utm_medium=pluginpage&utm_campaign=support" target="_blank">Support</a>';
|
177 |
$plugin_links[] = '<a href="https://adtribes.io/tutorials/?utm_source='.$host.'&utm_medium=pluginpage&utm_campaign=tutorials" target="_blank">Tutorials</a>';
|