Ecwid Ecommerce Shopping Cart - Version 6.2.3

Version Description

  • Aug 15, 2018 =
  • Minor fixes and improvements.
Download this release

Release Info

Developer Ecwid
Plugin Icon 128x128 Ecwid Ecommerce Shopping Cart
Version 6.2.3
Comparing to
See all releases

Code changes from version 6.2.2 to 6.2.3

ecwid-shopping-cart.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ecwid.com?source=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 Team
8
- Version: 6.2.2
9
  Author URI: https://ecwid.to/ecwid-site
10
  */
11
 
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 Team
8
+ Version: 6.2.3
9
  Author URI: https://ecwid.to/ecwid-site
10
  */
11
 
includes/class-ecwid-html-meta.php CHANGED
@@ -37,6 +37,24 @@ abstract class Ecwid_HTML_Meta
37
 
38
  return $obj;
39
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
41
 
42
  abstract class Ecwid_HTML_Meta_Catalog_Entry extends Ecwid_HTML_Meta {
@@ -126,25 +144,6 @@ abstract class Ecwid_HTML_Meta_Catalog_Entry extends Ecwid_HTML_Meta {
126
  abstract protected function _get_url();
127
 
128
  abstract protected function _get_image_url();
129
-
130
- // static only while ecwid_trim_description exists and meta functionality is not moved into this class
131
- public static function process_raw_description( $description, $length = 0 ) {
132
- $description = strip_tags( $description );
133
- $description = html_entity_decode( $description, ENT_NOQUOTES, 'UTF-8' );
134
-
135
- $description = preg_replace( '![\p{Z}\s]{1,}!u', ' ', $description );
136
- $description = trim( $description, " \t\xA0\n\r" ); // Space, tab, non-breaking space, newline, carriage return
137
-
138
- if ( function_exists( 'mb_substr' ) ) {
139
- $description = mb_substr( $description, 0, $length ? $length : ECWID_TRIMMED_DESCRIPTION_LENGTH, 'UTF-8' );
140
- } else {
141
- $description = substr( $description, 0, $length ? $length : ECWID_TRIMMED_DESCRIPTION_LENGTH );
142
- }
143
- $description = htmlspecialchars( $description, ENT_COMPAT, 'UTF-8' );
144
-
145
- return $description;
146
- }
147
-
148
  }
149
 
150
  class Ecwid_HTML_Meta_Product extends Ecwid_HTML_Meta_Catalog_Entry {
@@ -215,4 +214,4 @@ class Ecwid_HTML_Meta_Noindex extends Ecwid_HTML_Meta {
215
  }
216
  }
217
 
218
- add_action( 'wp', array( 'Ecwid_HTML_Meta', 'maybe_create' ) );
37
 
38
  return $obj;
39
  }
40
+
41
+ // static only while ecwid_trim_description exists and meta functionality is not moved into this class
42
+ public static function process_raw_description( $description, $length = 0 ) {
43
+ $description = strip_tags( $description );
44
+ $description = html_entity_decode( $description, ENT_NOQUOTES, 'UTF-8' );
45
+
46
+ $description = preg_replace( '![\p{Z}\s]{1,}!u', ' ', $description );
47
+ $description = trim( $description, " \t\xA0\n\r" ); // Space, tab, non-breaking space, newline, carriage return
48
+
49
+ if ( function_exists( 'mb_substr' ) ) {
50
+ $description = mb_substr( $description, 0, $length ? $length : ECWID_TRIMMED_DESCRIPTION_LENGTH, 'UTF-8' );
51
+ } else {
52
+ $description = substr( $description, 0, $length ? $length : ECWID_TRIMMED_DESCRIPTION_LENGTH );
53
+ }
54
+ $description = htmlspecialchars( $description, ENT_COMPAT, 'UTF-8' );
55
+
56
+ return $description;
57
+ }
58
  }
59
 
60
  abstract class Ecwid_HTML_Meta_Catalog_Entry extends Ecwid_HTML_Meta {
144
  abstract protected function _get_url();
145
 
146
  abstract protected function _get_image_url();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  }
148
 
149
  class Ecwid_HTML_Meta_Product extends Ecwid_HTML_Meta_Catalog_Entry {
214
  }
215
  }
216
 
217
+ add_action( 'wp', array( 'Ecwid_HTML_Meta', 'maybe_create' ) );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Ecwid
3
  Tags: ecommerce, downloadable products, Facebook ecommerce, online store, paypal, product catalog, shop, shopping cart, store
4
  Requires at least: 3.5
5
  Tested up to: 4.9
6
- Stable tag: 6.2.2
7
 
8
  Powerful, easy to use ecommerce shopping cart. Bank level PCI DSS Level 1 security. iPhone & Android apps. Superb support. Free plan available.
9
 
@@ -151,7 +151,7 @@ You can use Ecwid’s built-in import tools to copy your store products from any
151
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
152
 
153
  == Changelog ==
154
- = 6.2.2 - Aug 15, 2018 =
155
  - Minor fixes and improvements.
156
 
157
  = 6.2.1 - Aug 8, 2018 =
3
  Tags: ecommerce, downloadable products, Facebook ecommerce, online store, paypal, product catalog, shop, shopping cart, store
4
  Requires at least: 3.5
5
  Tested up to: 4.9
6
+ Stable tag: 6.2.3
7
 
8
  Powerful, easy to use ecommerce shopping cart. Bank level PCI DSS Level 1 security. iPhone & Android apps. Superb support. Free plan available.
9
 
151
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
152
 
153
  == Changelog ==
154
+ = 6.2.3 - Aug 15, 2018 =
155
  - Minor fixes and improvements.
156
 
157
  = 6.2.1 - Aug 8, 2018 =