Product Import Export for WooCommerce - Version 1.5.8

Version Description

  • Banner Update.
  • Content Update.
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Product Import Export for WooCommerce
Version 1.5.8
Comparing to
See all releases

Code changes from version 1.5.7 to 1.5.8

includes/importer/class-wf-prodimpexpcsv-product-import.php CHANGED
@@ -1422,7 +1422,7 @@ class WF_ProdImpExpCsv_Product_Import extends WP_Importer {
1422
) );
1423
1424
if ( is_wp_error( $response ) || wp_remote_retrieve_response_code( $response ) !== 200 )
1425
- return new WP_Error( 'import_file_error', $response->get_error_message());
1426
1427
// Ensure we have a file name and type
1428
if ( ! $wp_filetype['type'] ) {
1422
) );
1423
1424
if ( is_wp_error( $response ) || wp_remote_retrieve_response_code( $response ) !== 200 )
1425
+ return new WP_Error( 'import_file_error', 'Error getting remote image');
1426
1427
// Ensure we have a file name and type
1428
if ( ! $wp_filetype['type'] ) {
product-import-export-for-woo.php CHANGED
@@ -5,7 +5,7 @@
5
Description: Import and Export Products From and To your WooCommerce Store.
6
Author: WebToffee
7
Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
8
- Version: 1.5.7
9
WC tested up to: 3.5.7
10
License: GPLv3
11
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -18,7 +18,7 @@ if (!defined('ABSPATH') || !is_admin()) {
18
19
20
if (!defined('WF_PIPE_CURRENT_VERSION')) {
21
- define("WF_PIPE_CURRENT_VERSION", "1.5.7");
22
}
23
if (!defined('WF_PROD_IMP_EXP_ID')) {
24
define("WF_PROD_IMP_EXP_ID", "wf_prod_imp_exp");
@@ -64,10 +64,10 @@ if (!defined('WF_WOOCOMMERCE_CSV_IM_EX')) {
64
add_action('wp_ajax_pipe_wt_review_plugin', array($this, "review_plugin"));
65
66
67
- if (!get_option('webtoffee_storefrog_admin_notices_dismissed')) {
68
- add_action('admin_notices', array($this, 'webtoffee_storefrog_admin_notices'));
69
- add_action('wp_ajax_webtoffee_storefrog_notice_dismiss', array($this, 'webtoffee_storefrog_notice_dismiss'));
70
- }
71
72
include_once( 'includes/class-wf-prodimpexpcsv-system-status-tools.php' );
73
include_once( 'includes/class-wf-prodimpexpcsv-admin-screen.php' );
@@ -82,7 +82,7 @@ if (!defined('WF_WOOCOMMERCE_CSV_IM_EX')) {
82
$plugin_links = array(
83
'<a href="' . admin_url('admin.php?page=wf_woocommerce_csv_im_ex&tab=export') . '">' . __('Import Export', 'product-import-export-for-woo') . '</a>',
84
'<a target="_blank" href="https://www.webtoffee.com/product/product-import-export-woocommerce/" style="color:#3db634;"> ' . __('Premium Upgrade', 'product-import-export-for-woo') . '</a>',
85
- '<a target="_blank" href="https://www.webtoffee.com/support/">' . __('Support', 'product-import-export-for-woo') . '</a>',
86
'<a target="_blank" href="https://wordpress.org/support/plugin/product-import-export-for-woo/reviews/">' . __('Review', 'product-import-export-for-woo') . '</a>',
87
);
88
if (array_key_exists('deactivate', $links)) {
@@ -388,8 +388,7 @@ if (!defined('WF_WOOCOMMERCE_CSV_IM_EX')) {
388
'cookies' => array()
389
)
390
);
391
-
392
- wp_send_json_success();
393
}
394
395
function webtoffee_storefrog_admin_notices() {
5
Description: Import and Export Products From and To your WooCommerce Store.
6
Author: WebToffee
7
Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
8
+ Version: 1.5.8
9
WC tested up to: 3.5.7
10
License: GPLv3
11
License URI: https://www.gnu.org/licenses/gpl-3.0.html
18
19
20
if (!defined('WF_PIPE_CURRENT_VERSION')) {
21
+ define("WF_PIPE_CURRENT_VERSION", "1.5.8");
22
}
23
if (!defined('WF_PROD_IMP_EXP_ID')) {
24
define("WF_PROD_IMP_EXP_ID", "wf_prod_imp_exp");
64
add_action('wp_ajax_pipe_wt_review_plugin', array($this, "review_plugin"));
65
66
67
+ // if (!get_option('webtoffee_storefrog_admin_notices_dismissed')) {
68
+ // add_action('admin_notices', array($this, 'webtoffee_storefrog_admin_notices'));
69
+ // add_action('wp_ajax_webtoffee_storefrog_notice_dismiss', array($this, 'webtoffee_storefrog_notice_dismiss'));
70
+ // }
71
72
include_once( 'includes/class-wf-prodimpexpcsv-system-status-tools.php' );
73
include_once( 'includes/class-wf-prodimpexpcsv-admin-screen.php' );
82
$plugin_links = array(
83
'<a href="' . admin_url('admin.php?page=wf_woocommerce_csv_im_ex&tab=export') . '">' . __('Import Export', 'product-import-export-for-woo') . '</a>',
84
'<a target="_blank" href="https://www.webtoffee.com/product/product-import-export-woocommerce/" style="color:#3db634;"> ' . __('Premium Upgrade', 'product-import-export-for-woo') . '</a>',
85
+ '<a target="_blank" href="https://wordpress.org/support/plugin/product-import-export-for-woo/">' . __('Support', 'product-import-export-for-woo') . '</a>',
86
'<a target="_blank" href="https://wordpress.org/support/plugin/product-import-export-for-woo/reviews/">' . __('Review', 'product-import-export-for-woo') . '</a>',
87
);
88
if (array_key_exists('deactivate', $links)) {
388
'cookies' => array()
389
)
390
);
391
+ wp_send_json_success($resp);
392
}
393
394
function webtoffee_storefrog_admin_notices() {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.webtoffee.com/plugins/
4
Tags: woocommerce product import, woocommerce import products, woocommerce export products, export woocommerce products, import products into woocommerce
5
Requires at least: 3.0.1
6
Tested up to: 5.1.1
7
- Stable tag: 1.5.7
8
License: GPLv3 or later
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
@@ -148,6 +148,10 @@ LibreOffice.
148
3. Premium Export Settings Screen
149
150
== Changelog ==
151
= 1.5.7 =
152
* Updates: Tested OK with WC 3.5.7
153
* Bug Fix:- Image import.
@@ -296,7 +300,6 @@ LibreOffice.
296
297
== Upgrade Notice ==
298
299
- = 1.5.7 =
300
- * Updates: Tested OK with WC 3.5.7
301
- * Bug Fix:- Image import.
302
- * Support GlotPress(translate.wordpress.org).
4
Tags: woocommerce product import, woocommerce import products, woocommerce export products, export woocommerce products, import products into woocommerce
5
Requires at least: 3.0.1
6
Tested up to: 5.1.1
7
+ Stable tag: 1.5.8
8
License: GPLv3 or later
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
148
3. Premium Export Settings Screen
149
150
== Changelog ==
151
+ = 1.5.8 =
152
+ * Banner Update.
153
+ * Content Update.
154
+
155
= 1.5.7 =
156
* Updates: Tested OK with WC 3.5.7
157
* Bug Fix:- Image import.
300
301
== Upgrade Notice ==
302
303
+ = 1.5.8 =
304
+ * Banner Update.
305
+ * Content Update.