Version Description
(2020-11-05) = * Fix: Unslush link solved. * Fix: Removed whitespaces.
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 4.1.4 |
Comparing to | |
See all releases |
Code changes from version 4.1.3 to 4.1.4
README.txt
CHANGED
@@ -5,7 +5,7 @@ Tags:product feed,woocommerce product feed,google shopping feed,google shopping,
|
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 4.1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -308,6 +308,10 @@ Using pro version:
|
|
308 |
|
309 |
== Changelog ==
|
310 |
|
|
|
|
|
|
|
|
|
311 |
= 4.1.3 (2020-11-03) =
|
312 |
* Tweak: Google shopping action feed structure.
|
313 |
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 4.1.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
308 |
|
309 |
== Changelog ==
|
310 |
|
311 |
+
= 4.1.4 (2020-11-05) =
|
312 |
+
* Fix: Unslush link solved.
|
313 |
+
* Fix: Removed whitespaces.
|
314 |
+
|
315 |
= 4.1.3 (2020-11-03) =
|
316 |
* Tweak: Google shopping action feed structure.
|
317 |
|
includes/classes/class-woo-feed-products-v3.php
CHANGED
@@ -558,8 +558,8 @@ class Woo_Feed_Products_v3
|
|
558 |
}else {
|
559 |
$this->feedBody .= '<' . $getReplacedAttribute . '>' . "$attributeValue" . '</' . $getReplacedAttribute . '>';
|
560 |
}
|
561 |
-
}elseif( 'google_shopping_action' === $merchant ) {
|
562 |
-
if( 'description' === $merchant_attribute ) {
|
563 |
$this->feedBody .= '<g:description>' . "$attributeValue" . '</g:description>';
|
564 |
}else {
|
565 |
// Strip slash from output
|
558 |
}else {
|
559 |
$this->feedBody .= '<' . $getReplacedAttribute . '>' . "$attributeValue" . '</' . $getReplacedAttribute . '>';
|
560 |
}
|
561 |
+
}elseif ( 'google_shopping_action' === $merchant ) {
|
562 |
+
if ( 'description' === $merchant_attribute ) {
|
563 |
$this->feedBody .= '<g:description>' . "$attributeValue" . '</g:description>';
|
564 |
}else {
|
565 |
// Strip slash from output
|
includes/classes/class-woo-feed-webappick-api.php
CHANGED
@@ -404,7 +404,7 @@ if ( ! class_exists( 'WooFeedWebAppickAPI' ) ) {
|
|
404 |
$review_actions = [ 'later', 'never', 'given' ];
|
405 |
if ( isset( $_POST['notice'] ) && ! empty( $_POST['notice'] ) && in_array( $_POST['notice'], $review_actions ) ) {
|
406 |
$value = [
|
407 |
-
'review_notice' => sanitize_text_field( $_POST['notice'] ),
|
408 |
'updated_at' => time(),
|
409 |
];
|
410 |
update_option( 'woo_feed_review_notice', $value );
|
@@ -422,7 +422,7 @@ if ( ! class_exists( 'WooFeedWebAppickAPI' ) ) {
|
|
422 |
check_ajax_referer( 'woo_feed_pro_notice_nonce' );
|
423 |
$notices = [ 'rp-wcdpd', 'wpml', 'rating', 'product_limit' ];
|
424 |
if ( isset( $_REQUEST['which'] ) && ! empty( $_REQUEST['which'] ) && in_array( $_REQUEST['which'], $notices ) ) {
|
425 |
-
$which = sanitize_text_field( $_REQUEST['which'] );
|
426 |
update_option( sprintf( 'woo_feed_%s_notice_hidden', $which ), '1', false );
|
427 |
wp_send_json_success( esc_html__( 'Request Successful.', 'woo-feed' ) );
|
428 |
wp_die();
|
404 |
$review_actions = [ 'later', 'never', 'given' ];
|
405 |
if ( isset( $_POST['notice'] ) && ! empty( $_POST['notice'] ) && in_array( $_POST['notice'], $review_actions ) ) {
|
406 |
$value = [
|
407 |
+
'review_notice' => sanitize_text_field( $_POST['notice'] ), //phpcs:ignore
|
408 |
'updated_at' => time(),
|
409 |
];
|
410 |
update_option( 'woo_feed_review_notice', $value );
|
422 |
check_ajax_referer( 'woo_feed_pro_notice_nonce' );
|
423 |
$notices = [ 'rp-wcdpd', 'wpml', 'rating', 'product_limit' ];
|
424 |
if ( isset( $_REQUEST['which'] ) && ! empty( $_REQUEST['which'] ) && in_array( $_REQUEST['which'], $notices ) ) {
|
425 |
+
$which = sanitize_text_field( $_REQUEST['which'] ); //phpcs:ignore
|
426 |
update_option( sprintf( 'woo_feed_%s_notice_hidden', $which ), '1', false );
|
427 |
wp_send_json_success( esc_html__( 'Request Successful.', 'woo-feed' ) );
|
428 |
wp_die();
|
woo-feed.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: WooCommerce Product Feed
|
11 |
* Plugin URI: https://webappick.com/
|
12 |
* Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
|
13 |
-
* Version: 4.1.
|
14 |
* Author: WebAppick
|
15 |
* Author URI: https://webappick.com/
|
16 |
* License: GPL v2
|
@@ -38,7 +38,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
|
|
38 |
* @var string
|
39 |
* @since 3.1.6
|
40 |
*/
|
41 |
-
define( 'WOO_FEED_FREE_VERSION', '4.1.
|
42 |
}
|
43 |
|
44 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
10 |
* Plugin Name: WooCommerce Product Feed
|
11 |
* Plugin URI: https://webappick.com/
|
12 |
* Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
|
13 |
+
* Version: 4.1.4
|
14 |
* Author: WebAppick
|
15 |
* Author URI: https://webappick.com/
|
16 |
* License: GPL v2
|
38 |
* @var string
|
39 |
* @since 3.1.6
|
40 |
*/
|
41 |
+
define( 'WOO_FEED_FREE_VERSION', '4.1.4' );
|
42 |
}
|
43 |
|
44 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|