Ecwid Ecommerce Shopping Cart - Version 4.2.1.1

Version Description

  • Fixes for a few warning messages appearing on some sites with the new version of the plugin.
Download this release

Release Info

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

Code changes from version 4.2.1 to 4.2.1.1

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.2.1
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -41,8 +41,6 @@ add_shortcode('ecwid', 'ecwid_shortcode');
41
  add_action( 'plugins_loaded', 'ecwid_init_integrations' );
42
  add_filter('plugins_loaded', 'ecwid_load_textdomain');
43
 
44
- add_filter('wp_get_nav_menu_items', 'ecwid_nav_menu_items');
45
-
46
  if ( is_admin() ){
47
  add_action('admin_init', 'ecwid_settings_api_init');
48
  add_action('admin_init', 'ecwid_check_version');
@@ -968,10 +966,10 @@ function ecwid_content_started($content)
968
 
969
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
970
  {
971
- return "<!-- Ecwid shopping cart plugin v 4.2.1 --><!-- noptimize -->"
972
  . ecwid_get_scriptjs_code(@$attrs['lang'])
973
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
974
- . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.2.1 -->";
975
  }
976
 
977
  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.2.1.1
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
41
  add_action( 'plugins_loaded', 'ecwid_init_integrations' );
42
  add_filter('plugins_loaded', 'ecwid_load_textdomain');
43
 
 
 
44
  if ( is_admin() ){
45
  add_action('admin_init', 'ecwid_settings_api_init');
46
  add_action('admin_init', 'ecwid_check_version');
966
 
967
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
968
  {
969
+ return "<!-- Ecwid shopping cart plugin v 4.2.1.1 --><!-- noptimize -->"
970
  . ecwid_get_scriptjs_code(@$attrs['lang'])
971
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
972
+ . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.2.1.1 -->";
973
  }
974
 
975
  function ecwid_get_scriptjs_code($force_lang = null) {
includes/class-ecwid-nav-menus.php CHANGED
@@ -93,7 +93,7 @@ class Ecwid_Nav_Menus {
93
 
94
  public function process_menu_items($items)
95
  {
96
- if (is_admin()) {
97
  return $items;
98
  }
99
 
93
 
94
  public function process_menu_items($items)
95
  {
96
+ if ( is_admin() || empty($items) ) {
97
  return $items;
98
  }
99
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ecwid
3
  Tags: ecwid, shopping cart, ecommerce, paypal, e-commerce, online store, store, shop, cart, digital goods, downloadable products, product catalog, facebook
4
  Requires at least: 3.5
5
  Tested up to: 4.5
6
- Stable tag: 4.2.1
7
 
8
  Powerful, easy to use shopping cart. Bank level PCI DSS Level 1 security. Sell on the go iPhone & Android app. Superb support. Free plan available.
9
 
@@ -104,6 +104,9 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
104
  * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
105
 
106
  == Changelog ==
 
 
 
107
  = 4.2.1 =
108
  - **New Help page in the plugin settings.** We have a lot helpful articles and ecommerce tips in the Ecwid Help center at help.ecwid.com. In this update, we made it closer to you – the Help page with FAQ and a simple search field is now available right in the plugin settings. Have a question about your online store? Refer to the new Ecwid->Help page in your Wordpress admin backend.
109
  - **Better compatibility with Accesspress Store and Sliding Door themes.** We adjusted Ecwid storefront look a bit to better match these Wordpress themes layout and fonts.
3
  Tags: ecwid, shopping cart, ecommerce, paypal, e-commerce, online store, store, shop, cart, digital goods, downloadable products, product catalog, facebook
4
  Requires at least: 3.5
5
  Tested up to: 4.5
6
+ Stable tag: 4.2.1.1
7
 
8
  Powerful, easy to use shopping cart. Bank level PCI DSS Level 1 security. Sell on the go iPhone & Android app. Superb support. Free plan available.
9
 
104
  * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
105
 
106
  == Changelog ==
107
+ = 4.2.1.1 =
108
+ - Fixes for a few warning messages appearing on some sites with the new version of the plugin.
109
+
110
  = 4.2.1 =
111
  - **New Help page in the plugin settings.** We have a lot helpful articles and ecommerce tips in the Ecwid Help center at help.ecwid.com. In this update, we made it closer to you – the Help page with FAQ and a simple search field is now available right in the plugin settings. Have a question about your online store? Refer to the new Ecwid->Help page in your Wordpress admin backend.
112
  - **Better compatibility with Accesspress Store and Sliding Door themes.** We adjusted Ecwid storefront look a bit to better match these Wordpress themes layout and fonts.