Version Description
- Minor improvements and fixes.
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 4.4.4 |
Comparing to | |
See all releases |
Code changes from version 4.4.3 to 4.4.4
- css/products-list.css +7 -3
- ecwid-shopping-cart.php +5 -3
- includes/class-ecwid-kissmetrics.php +1 -1
- includes/class-ecwid-oauth.php +2 -2
- readme.txt +5 -2
- templates/advanced-settings.php +5 -2
css/products-list.css
CHANGED
@@ -60,13 +60,17 @@ html#ecwid_html body#ecwid_body .ecwid-productsList .ecwid-productsList-image .e
|
|
60 |
|
61 |
.ecwid-productsList ul li .ecwid-productsList-name,
|
62 |
.ecwid-productsList ul li .ecwid-productsList-price,
|
63 |
-
.ecwid-productsList ul li .ecwid-productsList-image
|
64 |
-
.ecwid-productsList ul li .ecwid-productsList-image img
|
65 |
-
{
|
66 |
width: 100%;
|
67 |
text-align: center;
|
68 |
}
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-name
|
71 |
{
|
72 |
white-space: nowrap;
|
60 |
|
61 |
.ecwid-productsList ul li .ecwid-productsList-name,
|
62 |
.ecwid-productsList ul li .ecwid-productsList-price,
|
63 |
+
.ecwid-productsList ul li .ecwid-productsList-image {
|
|
|
|
|
64 |
width: 100%;
|
65 |
text-align: center;
|
66 |
}
|
67 |
|
68 |
+
.ecwid-productsList.width-m li .ecwid-productsList-image img {
|
69 |
+
text-align: center;
|
70 |
+
max-width:100%;
|
71 |
+
max-height: 300px;
|
72 |
+
}
|
73 |
+
|
74 |
html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-name
|
75 |
{
|
76 |
white-space: nowrap;
|
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.4.
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
@@ -1019,10 +1019,10 @@ function ecwid_content_started($content)
|
|
1019 |
|
1020 |
function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
1021 |
{
|
1022 |
-
return "<!-- Ecwid shopping cart plugin v 4.4.
|
1023 |
. ecwid_get_scriptjs_code(@$attrs['lang'])
|
1024 |
. "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
|
1025 |
-
. "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.4.
|
1026 |
}
|
1027 |
|
1028 |
function ecwid_get_scriptjs_code($force_lang = null) {
|
@@ -1630,6 +1630,8 @@ function ecwid_uninstall() {
|
|
1630 |
|
1631 |
delete_option("ecwid_plugin_version");
|
1632 |
delete_option("ecwid_use_chameleon");
|
|
|
|
|
1633 |
}
|
1634 |
|
1635 |
function ecwid_abs_intval($value) {
|
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.4.4
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
1019 |
|
1020 |
function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
1021 |
{
|
1022 |
+
return "<!-- Ecwid shopping cart plugin v 4.4.4 --><!-- noptimize -->"
|
1023 |
. ecwid_get_scriptjs_code(@$attrs['lang'])
|
1024 |
. "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
|
1025 |
+
. "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.4.4 -->";
|
1026 |
}
|
1027 |
|
1028 |
function ecwid_get_scriptjs_code($force_lang = null) {
|
1630 |
|
1631 |
delete_option("ecwid_plugin_version");
|
1632 |
delete_option("ecwid_use_chameleon");
|
1633 |
+
|
1634 |
+
Ecwid_Kissmetrics::record('wpPluginUninstalled');
|
1635 |
}
|
1636 |
|
1637 |
function ecwid_abs_intval($value) {
|
includes/class-ecwid-kissmetrics.php
CHANGED
@@ -13,7 +13,7 @@ class Ecwid_Kissmetrics {
|
|
13 |
}
|
14 |
|
15 |
public static function record( $event ) {
|
16 |
-
$fire_in_background = array( 'wpPluginDeactivated' );
|
17 |
$raw_names = array( 'Signed Up' );
|
18 |
|
19 |
$name = in_array( $event, $raw_names ) ? $event : self::EVENT_PREFIX . $event;
|
13 |
}
|
14 |
|
15 |
public static function record( $event ) {
|
16 |
+
$fire_in_background = array( 'wpPluginDeactivated', 'wpPluginUninstalled' );
|
17 |
$raw_names = array( 'Signed Up' );
|
18 |
|
19 |
$name = in_array( $event, $raw_names ) ? $event : self::EVENT_PREFIX . $event;
|
includes/class-ecwid-oauth.php
CHANGED
@@ -237,7 +237,7 @@ class Ecwid_OAuth {
|
|
237 |
|
238 |
protected function _load_state() {
|
239 |
if (isset($_COOKIE['ecwid_oauth_state'])) {
|
240 |
-
$this->state = @
|
241 |
|
242 |
}
|
243 |
|
@@ -264,7 +264,7 @@ class Ecwid_OAuth {
|
|
264 |
}
|
265 |
|
266 |
protected function _save_state() {
|
267 |
-
setcookie('ecwid_oauth_state',
|
268 |
}
|
269 |
|
270 |
public function get_reconnect_error() {
|
237 |
|
238 |
protected function _load_state() {
|
239 |
if (isset($_COOKIE['ecwid_oauth_state'])) {
|
240 |
+
$this->state = @json_decode( $_COOKIE['ecwid_oauth_state'] );
|
241 |
|
242 |
}
|
243 |
|
264 |
}
|
265 |
|
266 |
protected function _save_state() {
|
267 |
+
setcookie('ecwid_oauth_state', json_encode($this->state), strtotime('+1 day'), ADMIN_COOKIE_PATH, COOKIE_DOMAIN);
|
268 |
}
|
269 |
|
270 |
public function get_reconnect_error() {
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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 |
-
Stable tag: 4.4.
|
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.4.3 =
|
153 |
- **Minor fixes and improvements.**
|
154 |
|
2 |
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.4.4
|
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.4.4 =
|
153 |
+
- **Minor improvements and fixes.**
|
154 |
+
|
155 |
= 4.4.3 =
|
156 |
- **Minor fixes and improvements.**
|
157 |
|
templates/advanced-settings.php
CHANGED
@@ -84,9 +84,12 @@
|
|
84 |
</div>
|
85 |
</div>
|
86 |
|
87 |
-
<hr <?php echo ecwid_migrations_is_original_plugin_version_older_than('3.3') ? '' : ' hidden'; ?> />
|
88 |
|
89 |
-
|
|
|
|
|
|
|
|
|
90 |
<div class="label">
|
91 |
<label for="ecwid_use_new_horizontal_categories">
|
92 |
|
84 |
</div>
|
85 |
</div>
|
86 |
|
|
|
87 |
|
88 |
+
<?php $show_categories = ecwid_migrations_is_original_plugin_version_older_than('3.3') || get_option('ecwid_use_new_horizontal_categories') != 'Y'; ?>
|
89 |
+
|
90 |
+
<hr <?php echo $show_categories ? '' : ' hidden'; ?> />
|
91 |
+
|
92 |
+
<div class="pure-control-group checkbox<?php echo $show_categories ? '' : ' hidden'; ?>">
|
93 |
<div class="label">
|
94 |
<label for="ecwid_use_new_horizontal_categories">
|
95 |
|