Version Description
(2020-06-02) = * Fixed: Yoast SEO Title issue fixed.
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 3.6.3 |
Comparing to | |
See all releases |
Code changes from version 3.6.2 to 3.6.3
- README.txt +5 -2
- includes/classes/class-woo-feed-products-v3.php +29 -6
- woo-feed.php +2 -2
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.4
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 3.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -305,8 +305,11 @@ Using pro version:
|
|
305 |
|
306 |
== Changelog ==
|
307 |
|
|
|
|
|
|
|
308 |
= 3.6.2 (2020-06-02) =
|
309 |
-
* Fixed: DB query timeout issue fixed
|
310 |
|
311 |
= 3.6.1 (2020-05-28) =
|
312 |
* Fixed: Feed file rename issue fixed.
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 3.6.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
305 |
|
306 |
== Changelog ==
|
307 |
|
308 |
+
= 3.6.3 (2020-06-02) =
|
309 |
+
* Fixed: Yoast SEO Title issue fixed.
|
310 |
+
|
311 |
= 3.6.2 (2020-06-02) =
|
312 |
+
* Fixed: DB query timeout issue fixed.
|
313 |
|
314 |
= 3.6.1 (2020-05-28) =
|
315 |
* Fixed: Feed file rename issue fixed.
|
includes/classes/class-woo-feed-products-v3.php
CHANGED
@@ -1144,14 +1144,37 @@ class Woo_Feed_Products_v3 {
|
|
1144 |
*
|
1145 |
*/
|
1146 |
protected function yoast_wpseo_title( $product ) {
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1153 |
}
|
1154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1155 |
return $this->title( $product );
|
1156 |
}
|
1157 |
|
1144 |
*
|
1145 |
*/
|
1146 |
protected function yoast_wpseo_title( $product ) {
|
1147 |
+
|
1148 |
+
$yoast_title = get_post_meta($product->get_id(), '_yoast_wpseo_title', true);
|
1149 |
+
$title = strstr($yoast_title, '%%', true);
|
1150 |
+
if (empty($title)) {
|
1151 |
+
$title = get_the_title($product->get_id());
|
1152 |
+
}
|
1153 |
+
$wpseo_titles = get_option('wpseo_titles');
|
1154 |
+
|
1155 |
+
$sep_options = WPSEO_Option_Titles::get_instance()->get_separator_options();
|
1156 |
+
if (isset($wpseo_titles['separator']) && isset($sep_options[$wpseo_titles['separator']])) {
|
1157 |
+
$sep = $sep_options[$wpseo_titles['separator']];
|
1158 |
+
} else {
|
1159 |
+
$sep = '-'; //setting default separator if Admin didn't set it from backed
|
1160 |
+
}
|
1161 |
+
|
1162 |
+
$site_title = get_bloginfo('name');
|
1163 |
+
|
1164 |
+
$meta_title = $title . ' ' . $sep . ' ' . $site_title;
|
1165 |
+
|
1166 |
+
if ( ! empty( $meta_title ) ) {
|
1167 |
+
return $meta_title;
|
1168 |
}
|
1169 |
|
1170 |
+
// $title = '';
|
1171 |
+
// if ( class_exists( 'WPSEO_Frontend' ) ) {
|
1172 |
+
// $title = WPSEO_Frontend::get_instance()->get_seo_title( get_post( $product->get_id() ) );
|
1173 |
+
// }
|
1174 |
+
// if ( ! empty( $title ) ) {
|
1175 |
+
// return $title;
|
1176 |
+
// }
|
1177 |
+
|
1178 |
return $this->title( $product );
|
1179 |
}
|
1180 |
|
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.6.
|
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.6.
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
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.6.3
|
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.6.3' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|