Version Description
[+] Backward compatibility with old Inline SEO Catalog links.
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- ecwid-shopping-cart.php +18 -1
- readme.txt +8 -2
ecwid-shopping-cart.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Ecwid Shopping Cart
|
|
4 |
Plugin URI: http://www.ecwid.com/
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integreted with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Author: Ecwid Team
|
7 |
-
Version: 1.
|
8 |
Author URI: http://www.ecwid.com/
|
9 |
*/
|
10 |
|
@@ -27,6 +27,7 @@ if ( is_admin() ){
|
|
27 |
add_shortcode('ecwid_searchbox', 'ecwid_searchbox_shortcode');
|
28 |
add_shortcode('ecwid_categories', 'ecwid_categories_shortcode');
|
29 |
add_shortcode('ecwid_productbrowser', 'ecwid_productbrowser_shortcode');
|
|
|
30 |
add_filter('wp_title', 'ecwid_seo_title', 0);
|
31 |
add_action('wp_head', 'ecwid_ajax_crawling_fragment');
|
32 |
add_action('wp_head', 'ecwid_meta');
|
@@ -34,6 +35,22 @@ if ( is_admin() ){
|
|
34 |
}
|
35 |
add_action('admin_bar_menu', 'add_ecwid_admin_bar_node', 1000);
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
function add_ecwid_admin_bar_node() {
|
39 |
global $wp_admin_bar;
|
4 |
Plugin URI: http://www.ecwid.com/
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integreted with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Author: Ecwid Team
|
7 |
+
Version: 1. 3
|
8 |
Author URI: http://www.ecwid.com/
|
9 |
*/
|
10 |
|
27 |
add_shortcode('ecwid_searchbox', 'ecwid_searchbox_shortcode');
|
28 |
add_shortcode('ecwid_categories', 'ecwid_categories_shortcode');
|
29 |
add_shortcode('ecwid_productbrowser', 'ecwid_productbrowser_shortcode');
|
30 |
+
add_action('init', 'ecwid_backward_compatibility');
|
31 |
add_filter('wp_title', 'ecwid_seo_title', 0);
|
32 |
add_action('wp_head', 'ecwid_ajax_crawling_fragment');
|
33 |
add_action('wp_head', 'ecwid_meta');
|
35 |
}
|
36 |
add_action('admin_bar_menu', 'add_ecwid_admin_bar_node', 1000);
|
37 |
|
38 |
+
function ecwid_backward_compatibility() {
|
39 |
+
|
40 |
+
// Backward compatibility with 1.1.2 and earlier
|
41 |
+
if (isset($_GET['ecwid_product_id']) || isset($_GET['ecwid_category_id'])) {
|
42 |
+
$ecwid_page = get_option("ecwid_store_page_id");
|
43 |
+
$ecwid_page = get_page_link($ecwid_page);
|
44 |
+
$ecwid_page .= '#!/~/';
|
45 |
+
|
46 |
+
if (isset($_GET['ecwid_product_id']))
|
47 |
+
$redirect = $ecwid_page . 'product/id=' . $_GET['ecwid_product_id'];
|
48 |
+
elseif (isset($_GET['ecwid_category_id']))
|
49 |
+
$redirect = $ecwid_page . 'category/id=' . $_GET['ecwid_category_id'];
|
50 |
+
|
51 |
+
wp_redirect($redirect, 301);
|
52 |
+
}
|
53 |
+
}
|
54 |
|
55 |
function add_ecwid_admin_bar_node() {
|
56 |
global $wp_admin_bar;
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Ecwid Team
|
|
3 |
Tags: shopping cart, ecommerce, e-commerce, paypal, google checkout, 2checkout, store, shop, product catalog, inventory
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.4
|
6 |
-
Stable tag: 1.
|
7 |
|
8 |
Ecwid is a free full-featured shopping cart that can easily be added to any blog
|
9 |
and takes less than 5 minutes to set up.
|
@@ -77,18 +77,24 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
|
|
77 |
- Knowledge Base: [http://kb.ecwid.com](http://kb.ecwid.com)
|
78 |
|
79 |
== Changelog ==
|
|
|
|
|
80 |
= 1.2 =
|
81 |
- [+] A lot of changes in Ecwid shopping cart: http://www.ecwid.com/blog/new-releases/
|
82 |
- [+] Support of the Google’s “AJAX Crawling” API for native indexing of AJAX applications has been added. This will significantly improve the indexation of Ecwid stores and is a successor of the Inline SEO Catalog feature. More details at https://developers.google.com/webmasters/ajax-crawling/ (This feature requires a paid Ecwid subscription)
|
83 |
-
- [+] Auto-generated
|
84 |
- [+] Support of microformats to get rich snippets in search engine results pages.
|
85 |
- [+] New Ecwid section has been added to the admin menu.
|
|
|
86 |
= 1.1.2 =
|
87 |
- [!] Issue with the way how widgets are embedded into the page for the free users was fixed.
|
|
|
88 |
= 1.1.1 =
|
89 |
- [!] Issue with the way how inline SEO catalog is embedded into the page was fixed.
|
|
|
90 |
= 1.1 =
|
91 |
- [+] Improved the compatibility with AJAX-based themes for WP and some web search engines out there.
|
|
|
92 |
= 1.0 =
|
93 |
- [!] The "Single Sign-on" feature didn't work properly in some cases. Fixed.
|
94 |
|
3 |
Tags: shopping cart, ecommerce, e-commerce, paypal, google checkout, 2checkout, store, shop, product catalog, inventory
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.4
|
6 |
+
Stable tag: 1.3
|
7 |
|
8 |
Ecwid is a free full-featured shopping cart that can easily be added to any blog
|
9 |
and takes less than 5 minutes to set up.
|
77 |
- Knowledge Base: [http://kb.ecwid.com](http://kb.ecwid.com)
|
78 |
|
79 |
== Changelog ==
|
80 |
+
= 1.3 =
|
81 |
+
[+] Backward compatibility with old Inline SEO Catalog links.
|
82 |
= 1.2 =
|
83 |
- [+] A lot of changes in Ecwid shopping cart: http://www.ecwid.com/blog/new-releases/
|
84 |
- [+] Support of the Google’s “AJAX Crawling” API for native indexing of AJAX applications has been added. This will significantly improve the indexation of Ecwid stores and is a successor of the Inline SEO Catalog feature. More details at https://developers.google.com/webmasters/ajax-crawling/ (This feature requires a paid Ecwid subscription)
|
85 |
+
- [+] Auto-generated titles for product pages.
|
86 |
- [+] Support of microformats to get rich snippets in search engine results pages.
|
87 |
- [+] New Ecwid section has been added to the admin menu.
|
88 |
+
|
89 |
= 1.1.2 =
|
90 |
- [!] Issue with the way how widgets are embedded into the page for the free users was fixed.
|
91 |
+
|
92 |
= 1.1.1 =
|
93 |
- [!] Issue with the way how inline SEO catalog is embedded into the page was fixed.
|
94 |
+
|
95 |
= 1.1 =
|
96 |
- [+] Improved the compatibility with AJAX-based themes for WP and some web search engines out there.
|
97 |
+
|
98 |
= 1.0 =
|
99 |
- [!] The "Single Sign-on" feature didn't work properly in some cases. Fixed.
|
100 |
|