Version Description
- Fixed a few layout issues in three popular Wordpress themes: Responsive, Attitude, ResponsiveBoat.
- Added a fix for the bug in WordPress editor, which corrupts the schema.org-formatted HTML codes. This should prevent the editor from corrupting Ecwid single products widget codes and other HTML snippets containing schema.org / microdata formatting.
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 3.4.7 |
Comparing to | |
See all releases |
Code changes from version 3.4.6 to 3.4.7
css/themes/attitude.css
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
html#ecwid_html body#ecwid_body .ecwid-results-topPanel-sortByPanel select {
|
2 |
+
height: auto;
|
3 |
+
width: auto;
|
4 |
+
}
|
5 |
+
|
6 |
+
.ecwid-shopping-cart-categories #horizontal-menu .horizontal-menu-parent {
|
7 |
+
margin: 0;
|
8 |
+
}
|
css/themes/responsive-adjustments.css
CHANGED
@@ -106,8 +106,8 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-search
|
|
106 |
white-space: nowrap;
|
107 |
}
|
108 |
|
109 |
-
.ecwid-shopping-cart-search .ecwid-SearchPanel-button,
|
110 |
-
.ecwid-SearchPanel .ecwid-SearchPanel-button {
|
111 |
border: 0 none;
|
112 |
background: transparent;
|
113 |
line-height: normal;
|
106 |
white-space: nowrap;
|
107 |
}
|
108 |
|
109 |
+
html#ecwid_html body#ecwid_body .ecwid-shopping-cart-search .ecwid-SearchPanel .ecwid-SearchPanel-button,
|
110 |
+
html#ecwid_html body#ecwid_body .ecwid-SearchPanel .ecwid-SearchPanel-button {
|
111 |
border: 0 none;
|
112 |
background: transparent;
|
113 |
line-height: normal;
|
css/themes/responsiveboat.css
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productsList ul li .ecwid-productsList-name {
|
2 |
+
font-size: 16px;
|
3 |
+
}
|
4 |
+
|
5 |
+
html#ecwid_html body#ecwid_body .ecwid-productBrowser-details-rightPanel table {
|
6 |
+
line-height: initial;
|
7 |
+
}
|
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: 3.4.
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
@@ -55,6 +55,7 @@ if ( is_admin() ){
|
|
55 |
add_action('init', 'ecwid_apply_theme');
|
56 |
add_action('get_footer', 'ecwid_admin_get_footer');
|
57 |
add_action('admin_post_ecwid_connect', 'ecwid_admin_post_connect');
|
|
|
58 |
} else {
|
59 |
add_shortcode('ecwid_script', 'ecwid_script_shortcode');
|
60 |
add_shortcode('ecwid_minicart', 'ecwid_minicart_shortcode');
|
@@ -518,6 +519,18 @@ function ecwid_override_option($name, $new_value = null)
|
|
518 |
update_option($name, $overridden[$name]);
|
519 |
}
|
520 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
|
522 |
function ecwid_seo_ultimate_compatibility()
|
523 |
{
|
@@ -903,10 +916,10 @@ function ecwid_content_started($content)
|
|
903 |
|
904 |
function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
905 |
{
|
906 |
-
return "<!-- Ecwid shopping cart plugin v 3.4.
|
907 |
. ecwid_get_scriptjs_code(@$attrs['lang'])
|
908 |
. "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
|
909 |
-
. "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 3.4.
|
910 |
}
|
911 |
|
912 |
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: 3.4.7
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
55 |
add_action('init', 'ecwid_apply_theme');
|
56 |
add_action('get_footer', 'ecwid_admin_get_footer');
|
57 |
add_action('admin_post_ecwid_connect', 'ecwid_admin_post_connect');
|
58 |
+
add_filter('tiny_mce_before_init', 'ecwid_tinymce_init' );
|
59 |
} else {
|
60 |
add_shortcode('ecwid_script', 'ecwid_script_shortcode');
|
61 |
add_shortcode('ecwid_minicart', 'ecwid_minicart_shortcode');
|
519 |
update_option($name, $overridden[$name]);
|
520 |
}
|
521 |
}
|
522 |
+
function ecwid_tinymce_init($in)
|
523 |
+
{
|
524 |
+
if(!empty($in['extended_valid_elements'])) {
|
525 |
+
$in['extended_valid_elements'] .= ',';
|
526 |
+
} else {
|
527 |
+
$in['extended_valid_elements'] = '';
|
528 |
+
}
|
529 |
+
|
530 |
+
$in['extended_valid_elements'] .= '@[id|class|style|title|itemscope|itemtype|itemprop|customprop|datetime|rel],div,dl,ul,dt,dd,li,span,a|rev|charset|href|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur]';
|
531 |
+
|
532 |
+
return $in;
|
533 |
+
}
|
534 |
|
535 |
function ecwid_seo_ultimate_compatibility()
|
536 |
{
|
916 |
|
917 |
function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
918 |
{
|
919 |
+
return "<!-- Ecwid shopping cart plugin v 3.4.7 --><!-- noptimize -->"
|
920 |
. ecwid_get_scriptjs_code(@$attrs['lang'])
|
921 |
. "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
|
922 |
+
. "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 3.4.7 -->";
|
923 |
}
|
924 |
|
925 |
function ecwid_get_scriptjs_code($force_lang = null) {
|
includes/themes.php
CHANGED
@@ -47,15 +47,22 @@ function ecwid_apply_theme($theme_name = null)
|
|
47 |
'twentytwelve',
|
48 |
'genesis',
|
49 |
'twentysixteen',
|
50 |
-
'mantra'
|
|
|
|
|
51 |
);
|
52 |
|
|
|
53 |
if (empty($theme_name)) {
|
54 |
$theme_name = ecwid_get_theme_identification();
|
55 |
}
|
56 |
|
57 |
$theme_file = '';
|
58 |
|
|
|
|
|
|
|
|
|
59 |
if (in_array($theme_name, $themes)) {
|
60 |
|
61 |
$theme_file = ECWID_THEMES_DIR . '/class-ecwid-theme-' . $theme_name . '.php';
|
47 |
'twentytwelve',
|
48 |
'genesis',
|
49 |
'twentysixteen',
|
50 |
+
'mantra',
|
51 |
+
'attitude',
|
52 |
+
'responsiveboat'
|
53 |
);
|
54 |
|
55 |
+
|
56 |
if (empty($theme_name)) {
|
57 |
$theme_name = ecwid_get_theme_identification();
|
58 |
}
|
59 |
|
60 |
$theme_file = '';
|
61 |
|
62 |
+
if ($theme_name == 'zerif-lite' && function_exists('wp_get_theme') && wp_get_theme()->Name == 'ResponsiveBoat') {
|
63 |
+
$theme_name = 'responsiveboat';
|
64 |
+
}
|
65 |
+
|
66 |
if (in_array($theme_name, $themes)) {
|
67 |
|
68 |
$theme_file = ECWID_THEMES_DIR . '/class-ecwid-theme-' . $theme_name . '.php';
|
includes/themes/class-ecwid-theme-attitude.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
|
4 |
+
|
5 |
+
class Ecwid_Theme_Attitude extends Ecwid_Theme_Base
|
6 |
+
{
|
7 |
+
protected $name = 'Attitude';
|
8 |
+
|
9 |
+
public function __construct()
|
10 |
+
{
|
11 |
+
parent::__construct();
|
12 |
+
|
13 |
+
wp_enqueue_style( 'ecwid-theme-fixes' , plugins_url( 'ecwid-shopping-cart/css/themes/attitude.css' ), array(), get_option('ecwid_plugin_version'), 'all' );
|
14 |
+
}
|
15 |
+
}
|
16 |
+
|
17 |
+
$ecwid_current_theme = new Ecwid_Theme_Attitude();
|
includes/themes/class-ecwid-theme-responsiveboat.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
|
4 |
+
|
5 |
+
class Ecwid_Theme_ResonsiveBoat extends Ecwid_Theme_Base
|
6 |
+
{
|
7 |
+
protected $name = 'ResponsiveBoat';
|
8 |
+
|
9 |
+
public function __construct()
|
10 |
+
{
|
11 |
+
parent::__construct();
|
12 |
+
|
13 |
+
wp_enqueue_style( 'ecwid-theme-fixes' , plugins_url( 'ecwid-shopping-cart/css/themes/responsiveboat.css' ), array(), get_option('ecwid_plugin_version'), 'all' );
|
14 |
+
}
|
15 |
+
}
|
16 |
+
|
17 |
+
$ecwid_current_theme = new Ecwid_Theme_ResonsiveBoat();
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: ecwid
|
|
3 |
Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 4.4
|
6 |
-
Stable tag: 3.4.
|
7 |
|
8 |
Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
|
9 |
|
@@ -107,6 +107,10 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
|
|
107 |
* [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
|
108 |
|
109 |
== Changelog ==
|
|
|
|
|
|
|
|
|
110 |
= 3.4.6 =
|
111 |
- **Layout improvements for Mantra theme.** Mantra theme users might notice slight glitches in the recently viewed products and horizontal menu widgets. We fixed those.
|
112 |
- **Minor fixes for plugins settings page layout in Wordpress 4.4.** Feel free to update your Wordpress to the newest version 4.4 as soon as it's released, the Ecwid plugin will work fine with it.
|
3 |
Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 4.4
|
6 |
+
Stable tag: 3.4.7
|
7 |
|
8 |
Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
|
9 |
|
107 |
* [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
|
108 |
|
109 |
== Changelog ==
|
110 |
+
= 3.4.7 =
|
111 |
+
- Fixed a few layout issues in three popular Wordpress themes: Responsive, Attitude, ResponsiveBoat.
|
112 |
+
- Added a fix for the bug in WordPress editor, which corrupts the schema.org-formatted HTML codes. This should prevent the editor from corrupting Ecwid single products widget codes and other HTML snippets containing schema.org / microdata formatting.
|
113 |
+
|
114 |
= 3.4.6 =
|
115 |
- **Layout improvements for Mantra theme.** Mantra theme users might notice slight glitches in the recently viewed products and horizontal menu widgets. We fixed those.
|
116 |
- **Minor fixes for plugins settings page layout in Wordpress 4.4.** Feel free to update your Wordpress to the newest version 4.4 as soon as it's released, the Ecwid plugin will work fine with it.
|