Ecwid Ecommerce Shopping Cart - Version 4.6.2

Version Description

  • - Fix for the legacy search shortcode ([ecwid_searchbox]), which was broken in the recent 4.6 release.
Download this release

Release Info

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

Code changes from version 4.6.1 to 4.6.2

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: 4.6.1
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -1063,10 +1063,10 @@ function ecwid_content_started($content)
1063
 
1064
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
1065
  {
1066
- return "<!-- Ecwid shopping cart plugin v 4.6.1 --><!-- noptimize -->"
1067
  . ecwid_get_scriptjs_code(@$attrs['lang'])
1068
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
1069
- . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.6.1 -->";
1070
  }
1071
 
1072
  function ecwid_get_scriptjs_code($force_lang = null) {
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: 4.6.2
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
1063
 
1064
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
1065
  {
1066
+ return "<!-- Ecwid shopping cart plugin v 4.6.2 --><!-- noptimize -->"
1067
  . ecwid_get_scriptjs_code(@$attrs['lang'])
1068
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
1069
+ . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.6.2 -->";
1070
  }
1071
 
1072
  function ecwid_get_scriptjs_code($force_lang = null) {
includes/shortcodes/class-ecwid-shortcode-search.php CHANGED
@@ -16,7 +16,7 @@ class Ecwid_Shortcode_Search extends Ecwid_Shortcode_Base {
16
  if (get_option('ecwid_use_new_search', false)) {
17
  return 'xSearch';
18
  } else {
19
- return 'xSearchBox';
20
  }
21
  }
22
  }
16
  if (get_option('ecwid_use_new_search', false)) {
17
  return 'xSearch';
18
  } else {
19
+ return 'xSearchPanel';
20
  }
21
  }
22
  }
lib/ecwid_requests.php CHANGED
@@ -85,6 +85,7 @@ abstract class Ecwid_Http {
85
  }
86
 
87
  public static function create_get($name, $url, $params) {
 
88
  $transport_class = self::_get_transport($name, $url, $params);
89
 
90
  if (!$transport_class) {
@@ -283,7 +284,9 @@ abstract class Ecwid_HTTP_Get extends Ecwid_Http {
283
 
284
  $report = $this->create_error_report($this->message);
285
 
286
- $report->do_request();
 
 
287
  }
288
  }
289
 
85
  }
86
 
87
  public static function create_get($name, $url, $params) {
88
+
89
  $transport_class = self::_get_transport($name, $url, $params);
90
 
91
  if (!$transport_class) {
284
 
285
  $report = $this->create_error_report($this->message);
286
 
287
+ if (!is_null($report)) {
288
+ $report->do_request();
289
+ }
290
  }
291
  }
292
 
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.6
6
- Stable tag: 4.6.1
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
 
@@ -149,6 +149,9 @@ You can use Ecwid’s built-in import tools to copy your store products from any
149
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
150
 
151
  == Changelog ==
 
 
 
152
  = 4.6.1 =
153
  - The latest update (v 4.6) had a bug in the sidebar widgets (search box and recently viewed products). The widgets did not display and generated error/warning messages on the sites. We fixed that.
154
  - Another issue with the latest update is related to the legacy Ecwid shortcodes ([ecwid_script], [ecwid_productbrowser] etc). On the old installations (2 years old and more), the warning messages appeared – you might notice them on the store page. We now fixed this and everything should be fine, all Ecwid plugin installations work well.
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.6
6
+ Stable tag: 4.6.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
 
149
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
150
 
151
  == Changelog ==
152
+ = 4.6.2 =
153
+ - - Fix for the legacy search shortcode ([ecwid_searchbox]), which was broken in the recent 4.6 release.
154
+
155
  = 4.6.1 =
156
  - The latest update (v 4.6) had a bug in the sidebar widgets (search box and recently viewed products). The widgets did not display and generated error/warning messages on the sites. We fixed that.
157
  - Another issue with the latest update is related to the legacy Ecwid shortcodes ([ecwid_script], [ecwid_productbrowser] etc). On the old installations (2 years old and more), the warning messages appeared – you might notice them on the store page. We now fixed this and everything should be fine, all Ecwid plugin installations work well.