Version Description
(2020-09-14) = * Tweak: Feed last updated time will show wordpress local time.
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 3.7.17 |
Comparing to | |
See all releases |
Code changes from version 3.7.16 to 3.7.17
- README.txt +4 -1
- includes/classes/class-woo-feed-products-v3.php +1 -1
- includes/feeds/class-woo-feed-custom.php +1 -1
- includes/helper.php +2 -2
- woo-feed.php +3 -3
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: 3.7.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -308,6 +308,9 @@ Using pro version:
|
|
308 |
|
309 |
== Changelog ==
|
310 |
|
|
|
|
|
|
|
311 |
= 3.7.16 (2020-09-13) =
|
312 |
* Added: Custom fields for unique identifier (GTIN,MPN,EAN) added to product edit page.
|
313 |
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 3.7.17
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
308 |
|
309 |
== Changelog ==
|
310 |
|
311 |
+
= 3.7.17 (2020-09-14) =
|
312 |
+
* Tweak: Feed last updated time will show wordpress local time.
|
313 |
+
|
314 |
= 3.7.16 (2020-09-13) =
|
315 |
* Added: Custom fields for unique identifier (GTIN,MPN,EAN) added to product edit page.
|
316 |
|
includes/classes/class-woo-feed-products-v3.php
CHANGED
@@ -1095,7 +1095,7 @@ class Woo_Feed_Products_v3
|
|
1095 |
}
|
1096 |
|
1097 |
// replace template variables.
|
1098 |
-
$datetime_now =
|
1099 |
$blog_name = get_bloginfo('name'); // {BlogName}
|
1100 |
$blog_url = get_bloginfo('url'); // {BlogURL}
|
1101 |
$blog_desc = get_bloginfo('description'); // {BlogDescription}
|
1095 |
}
|
1096 |
|
1097 |
// replace template variables.
|
1098 |
+
$datetime_now = date('Y-m-d H:i:s', strtotime( current_time( 'mysql' ) ) ); // {DateTimeNow}
|
1099 |
$blog_name = get_bloginfo('name'); // {BlogName}
|
1100 |
$blog_url = get_bloginfo('url'); // {BlogURL}
|
1101 |
$blog_desc = get_bloginfo('description'); // {BlogDescription}
|
includes/feeds/class-woo-feed-custom.php
CHANGED
@@ -149,7 +149,7 @@ class Woo_Feed_Custom {
|
|
149 |
}
|
150 |
|
151 |
public function get_header( $engine ) {
|
152 |
-
$datetime_now =
|
153 |
if ( 'fruugo.au' == $this->rules['provider'] ) {
|
154 |
$fruugo_au = "<products version=\"1.0\" standalone=\"yes\">
|
155 |
<datetime>$datetime_now</datetime>
|
149 |
}
|
150 |
|
151 |
public function get_header( $engine ) {
|
152 |
+
$datetime_now = date('Y-m-d H:i:s', strtotime( current_time( 'mysql' ) ) );
|
153 |
if ( 'fruugo.au' == $this->rules['provider'] ) {
|
154 |
$fruugo_au = "<products version=\"1.0\" standalone=\"yes\">
|
155 |
<datetime>$datetime_now</datetime>
|
includes/helper.php
CHANGED
@@ -1140,7 +1140,7 @@ if ( ! function_exists( 'woo_feed_save_feed_config_data' ) ) {
|
|
1140 |
$feed_data = array(
|
1141 |
'feedrules' => $data,
|
1142 |
'url' => woo_feed_get_file_url( $feed_option_name, $data['provider'], $data['feedType'] ),
|
1143 |
-
'last_updated' =>
|
1144 |
'status' => isset( $old_feed['status'] ) && 1 == $old_feed['status'] ? 1 : 0,
|
1145 |
// set old status or disable auto update.
|
1146 |
);
|
@@ -1757,7 +1757,7 @@ if ( ! function_exists( 'woo_feed_generate_feed' ) ) {
|
|
1757 |
$feedInfo = array(
|
1758 |
'feedrules' => $info,
|
1759 |
'url' => $feed_URL,
|
1760 |
-
'last_updated' =>
|
1761 |
'status' => 1,
|
1762 |
);
|
1763 |
update_option( 'wf_feed_' . $feed_option_name, serialize( $feedInfo ), false ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
|
1140 |
$feed_data = array(
|
1141 |
'feedrules' => $data,
|
1142 |
'url' => woo_feed_get_file_url( $feed_option_name, $data['provider'], $data['feedType'] ),
|
1143 |
+
'last_updated' => date('Y-m-d H:i:s', strtotime( current_time( 'mysql' ) ) ),
|
1144 |
'status' => isset( $old_feed['status'] ) && 1 == $old_feed['status'] ? 1 : 0,
|
1145 |
// set old status or disable auto update.
|
1146 |
);
|
1757 |
$feedInfo = array(
|
1758 |
'feedrules' => $info,
|
1759 |
'url' => $feed_URL,
|
1760 |
+
'last_updated' => date('Y-m-d H:i:s', strtotime( current_time( 'mysql' ) ) ),
|
1761 |
'status' => 1,
|
1762 |
);
|
1763 |
update_option( 'wf_feed_' . $feed_option_name, serialize( $feedInfo ), false ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize
|
woo-feed.php
CHANGED
@@ -11,7 +11,7 @@
|
|
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 |
*
|
14 |
-
* Version: 3.7.
|
15 |
* Author: WebAppick
|
16 |
* Author URI: https://webappick.com/
|
17 |
* License: GPL v2
|
@@ -39,7 +39,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
|
|
39 |
* @var string
|
40 |
* @since 3.1.6
|
41 |
*/
|
42 |
-
define( 'WOO_FEED_FREE_VERSION', '3.7.
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
@@ -457,7 +457,7 @@ if ( ! function_exists( 'woo_feed_save_feed_file' ) ) {
|
|
457 |
$feedInfo = array(
|
458 |
'feedrules' => $info,
|
459 |
'url' => $feed_URL,
|
460 |
-
'last_updated' =>
|
461 |
);
|
462 |
$feedOldInfo = maybe_unserialize( get_option( 'wf_feed_' . $feedName ) );
|
463 |
if ( isset( $feedOldInfo['status'] ) ) {
|
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 |
*
|
14 |
+
* Version: 3.7.17
|
15 |
* Author: WebAppick
|
16 |
* Author URI: https://webappick.com/
|
17 |
* License: GPL v2
|
39 |
* @var string
|
40 |
* @since 3.1.6
|
41 |
*/
|
42 |
+
define( 'WOO_FEED_FREE_VERSION', '3.7.17' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
457 |
$feedInfo = array(
|
458 |
'feedrules' => $info,
|
459 |
'url' => $feed_URL,
|
460 |
+
'last_updated' => date('Y-m-d H:i:s', strtotime( current_time( 'mysql' ) ) ),
|
461 |
);
|
462 |
$feedOldInfo = maybe_unserialize( get_option( 'wf_feed_' . $feedName ) );
|
463 |
if ( isset( $feedOldInfo['status'] ) ) {
|