Version Description
- Jun 10, 2021 =
- Improvements for compatibility of the Ecwid shopping cart with WPML plugin. Some ecommerce sites had an issue with installing when enabling the WPML plugin. We've fixed that.
- Minor fixes and improvements.
See full changelog
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 6.10.13 |
Comparing to | |
See all releases |
Code changes from version 6.10.12 to 6.10.13
ecwid-shopping-cart.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ecwid.com?partner=wporg
|
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Text Domain: ecwid-shopping-cart
|
7 |
Author: Ecwid Ecommerce
|
8 |
-
Version: 6.10.
|
9 |
Author URI: https://ecwid.to/ecwid-site
|
10 |
License: GPLv2 or later
|
11 |
*/
|
@@ -3091,4 +3091,4 @@ function ecwid_get_shortcode_regex() {
|
|
3091 |
. '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]]
|
3092 |
}
|
3093 |
|
3094 |
-
?>
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Text Domain: ecwid-shopping-cart
|
7 |
Author: Ecwid Ecommerce
|
8 |
+
Version: 6.10.13
|
9 |
Author URI: https://ecwid.to/ecwid-site
|
10 |
License: GPLv2 or later
|
11 |
*/
|
3091 |
. '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]]
|
3092 |
}
|
3093 |
|
3094 |
+
?>
|
includes/integrations/class-ecwid-integration-wpml.php
CHANGED
@@ -42,6 +42,10 @@ class Ecwid_Integration_WPML
|
|
42 |
public function mod_default_page_id( $page_id, $link ) {
|
43 |
global $sitepress;
|
44 |
|
|
|
|
|
|
|
|
|
45 |
$lang = $sitepress->get_default_language();
|
46 |
if( function_exists('icl_object_id') ) {
|
47 |
return apply_filters( 'wpml_object_id', $page_id, 'post', false, $lang );
|
@@ -105,6 +109,10 @@ class Ecwid_Integration_WPML
|
|
105 |
|
106 |
public function mod_relative_permalink( $default_link, $item_id ) {
|
107 |
global $sitepress;
|
|
|
|
|
|
|
|
|
108 |
|
109 |
if ( $sitepress->get_setting( 'language_negotiation_type' ) == WPML_LANGUAGE_NEGOTIATION_TYPE_DIRECTORY ) {
|
110 |
|
42 |
public function mod_default_page_id( $page_id, $link ) {
|
43 |
global $sitepress;
|
44 |
|
45 |
+
if( is_null($sitepress) ) {
|
46 |
+
return $page_id;
|
47 |
+
}
|
48 |
+
|
49 |
$lang = $sitepress->get_default_language();
|
50 |
if( function_exists('icl_object_id') ) {
|
51 |
return apply_filters( 'wpml_object_id', $page_id, 'post', false, $lang );
|
109 |
|
110 |
public function mod_relative_permalink( $default_link, $item_id ) {
|
111 |
global $sitepress;
|
112 |
+
|
113 |
+
if( is_null($sitepress) ) {
|
114 |
+
return $default_link;
|
115 |
+
}
|
116 |
|
117 |
if ( $sitepress->get_setting( 'language_negotiation_type' ) == WPML_LANGUAGE_NEGOTIATION_TYPE_DIRECTORY ) {
|
118 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Ecwid
|
|
3 |
Tags: ecommerce, e-commerce, storefront, online store, sell
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.7
|
6 |
-
Stable tag: 6.10.
|
7 |
|
8 |
Powerful, easy to use ecommerce shopping cart. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
|
9 |
|
@@ -111,7 +111,7 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
|
|
111 |
4.
|
112 |
5.
|
113 |
6.
|
114 |
-
7.
|
115 |
8.
|
116 |
|
117 |
== Frequently Asked Questions ==
|
@@ -157,9 +157,8 @@ You can use Ecwid’s built-in import tools to copy your store products from any
|
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
-
= 6.10.
|
161 |
-
- Improvements for compatibility of the shopping cart
|
162 |
-
- Improvements for the single product blocks added via the Ecwid shopping cart plugin. We enhanced the SEO structured product data for Gutenberg blocks to make them meet the latest Google recommendations.
|
163 |
- Minor fixes and improvements.
|
164 |
|
165 |
[See full changelog](https://raw.githubusercontent.com/Ecwid/ecwid-wordpress-plugin/master/CHANGELOG.txt)
|
3 |
Tags: ecommerce, e-commerce, storefront, online store, sell
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.7
|
6 |
+
Stable tag: 6.10.13
|
7 |
|
8 |
Powerful, easy to use ecommerce shopping cart. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
|
9 |
|
111 |
4.
|
112 |
5.
|
113 |
6.
|
114 |
+
7.
|
115 |
8.
|
116 |
|
117 |
== Frequently Asked Questions ==
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
+
= 6.10.13 - Jun 10, 2021 =
|
161 |
+
- Improvements for compatibility of the Ecwid shopping cart with WPML plugin. Some ecommerce sites had an issue with installing when enabling the WPML plugin. We've fixed that.
|
|
|
162 |
- Minor fixes and improvements.
|
163 |
|
164 |
[See full changelog](https://raw.githubusercontent.com/Ecwid/ecwid-wordpress-plugin/master/CHANGELOG.txt)
|