Version Description
- Tested OK with WC 5.2.0.
Download this release
Release Info
Developer | webtoffee |
Plugin | Import Export WordPress Users and WooCommerce Customers |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.0 to 2.1.1
- admin/modules/export/export.php +4 -4
- admin/modules/export/views/_export_method_export_page.php +1 -1
- admin/modules/history/history.php +2 -2
- admin/modules/import/classes/class-import-ajax.php +1 -0
- admin/modules/import/views/_import_method_import_page.php +1 -1
- admin/modules/user/user.php +1 -1
- admin/views/market.php +1 -1
- includes/class-wt-import-export-for-woo.php +1 -1
- readme.txt +7 -4
- users-customers-import-export-for-wp-woocommerce.php +16 -18
admin/modules/export/export.php
CHANGED
@@ -60,7 +60,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
|
|
60 |
),
|
61 |
'mapping'=>array(
|
62 |
'title'=>__('Map and reorder export columns'),
|
63 |
-
'description'=>__('The default export column names can be
|
64 |
),
|
65 |
'advanced'=>array(
|
66 |
'title'=>__('Advanced options/Batch export'),
|
@@ -80,9 +80,9 @@ class Wt_Import_Export_For_Woo_Basic_Export
|
|
80 |
|
81 |
|
82 |
$this->export_methods=array(
|
83 |
-
'quick'=>array('title'=>__('Quick export'), 'description'=> __('
|
84 |
-
'template'=>array('title'=>__('Pre-saved template'), 'description'=> __('
|
85 |
-
'new'=>array('title'=>__('Advanced export'), 'description'=> __('
|
86 |
);
|
87 |
|
88 |
/* advanced plugin settings */
|
60 |
),
|
61 |
'mapping'=>array(
|
62 |
'title'=>__('Map and reorder export columns'),
|
63 |
+
'description'=>__('The default export column names can be edited from the screen below, if required. If you have chosen a pre-saved template you can see the preferred names and choices that were last saved. You may also drag the columns accordingly to reorder them within the output file.'),
|
64 |
),
|
65 |
'advanced'=>array(
|
66 |
'title'=>__('Advanced options/Batch export'),
|
80 |
|
81 |
|
82 |
$this->export_methods=array(
|
83 |
+
'quick'=>array('title'=>__('Quick export'), 'description'=> __('Exports all the basic fields.')),
|
84 |
+
'template'=>array('title'=>__('Pre-saved template'), 'description'=> __('Exports data as per the specifications(filters,selective column,mapping etc) from the previously saved file.')),
|
85 |
+
'new'=>array('title'=>__('Advanced export'), 'description'=> __('Exports data after a detailed process of data filtering/column selection/advanced options that may be required for your export. You can also save this file for future use.')),
|
86 |
);
|
87 |
|
88 |
/* advanced plugin settings */
|
admin/modules/export/views/_export_method_export_page.php
CHANGED
@@ -4,7 +4,7 @@ if (!defined('ABSPATH')) {
|
|
4 |
}
|
5 |
?>
|
6 |
<div class="wt_iew_export_main">
|
7 |
-
<p><?php echo $step_info['description']; ?></p>
|
8 |
|
9 |
<div class="wt_iew_warn wt_iew_method_export_wrn" style="display:none;">
|
10 |
<?php _e('Please select an export method');?>
|
4 |
}
|
5 |
?>
|
6 |
<div class="wt_iew_export_main">
|
7 |
+
<p><?php //echo $step_info['description']; ?></p>
|
8 |
|
9 |
<div class="wt_iew_warn wt_iew_method_export_wrn" style="display:none;">
|
10 |
<?php _e('Please select an export method');?>
|
admin/modules/history/history.php
CHANGED
@@ -198,7 +198,7 @@ class Wt_Import_Export_For_Woo_Basic_History
|
|
198 |
public function advanced_setting_fields($fields)
|
199 |
{
|
200 |
$fields['enable_history_auto_delete']=array(
|
201 |
-
'label'=>__("
|
202 |
'type'=>'radio',
|
203 |
'radio_fields'=>array(
|
204 |
1=>__('Yes'),
|
@@ -222,7 +222,7 @@ class Wt_Import_Export_For_Woo_Basic_History
|
|
222 |
'style'=>'width:30%;',
|
223 |
),
|
224 |
'field_name'=>'auto_delete_history_count',
|
225 |
-
'help_text'=>__('Indicates the maximum records to retain in history. Limit the number of records with status ‘Finished’. E.g
|
226 |
'validation_rule'=>array('type'=>'absint'),
|
227 |
'form_toggler'=>array(
|
228 |
'type'=>'child',
|
198 |
public function advanced_setting_fields($fields)
|
199 |
{
|
200 |
$fields['enable_history_auto_delete']=array(
|
201 |
+
'label'=>__("Auto delete history"),
|
202 |
'type'=>'radio',
|
203 |
'radio_fields'=>array(
|
204 |
1=>__('Yes'),
|
222 |
'style'=>'width:30%;',
|
223 |
),
|
224 |
'field_name'=>'auto_delete_history_count',
|
225 |
+
'help_text'=>__('Indicates the maximum records to retain in history. Limit the number of records with status ‘Finished’. E.g On giving an input of 50, the system will retain(not delete) the latest 50 records with status ‘Finished’. Any other record with a different status will not be retained.'),
|
226 |
'validation_rule'=>array('type'=>'absint'),
|
227 |
'form_toggler'=>array(
|
228 |
'type'=>'child',
|
admin/modules/import/classes/class-import-ajax.php
CHANGED
@@ -139,6 +139,7 @@ class Wt_Import_Export_For_Woo_Basic_Import_Ajax
|
|
139 |
{
|
140 |
$file_name='local_file_'.time().'_'.sanitize_file_name($_FILES['wt_iew_import_file']['name']); //sanitize the file name, add a timestamp prefix to avoid conflict
|
141 |
$file_path=$this->import_obj->get_file_path($file_name);
|
|
|
142 |
if(@move_uploaded_file($_FILES['wt_iew_import_file']['tmp_name'], $file_path))
|
143 |
{
|
144 |
$out['msg']='';
|
139 |
{
|
140 |
$file_name='local_file_'.time().'_'.sanitize_file_name($_FILES['wt_iew_import_file']['name']); //sanitize the file name, add a timestamp prefix to avoid conflict
|
141 |
$file_path=$this->import_obj->get_file_path($file_name);
|
142 |
+
// phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
|
143 |
if(@move_uploaded_file($_FILES['wt_iew_import_file']['tmp_name'], $file_path))
|
144 |
{
|
145 |
$out['msg']='';
|
admin/modules/import/views/_import_method_import_page.php
CHANGED
@@ -4,7 +4,7 @@ if (!defined('ABSPATH')) {
|
|
4 |
}
|
5 |
?>
|
6 |
<div class="wt_iew_import_main">
|
7 |
-
<p><?php echo $this->step_description;?></p>
|
8 |
<div class="wt_iew_warn wt_iew_method_import_wrn" style="display:none;">
|
9 |
<?php _e('Please select an import template.');?>
|
10 |
</div>
|
4 |
}
|
5 |
?>
|
6 |
<div class="wt_iew_import_main">
|
7 |
+
<p><?php //echo $this->step_description;?></p>
|
8 |
<div class="wt_iew_warn wt_iew_method_import_wrn" style="display:none;">
|
9 |
<?php _e('Please select an import template.');?>
|
10 |
</div>
|
admin/modules/user/user.php
CHANGED
@@ -482,7 +482,7 @@ class Wt_Import_Export_For_Woo_basic_User {
|
|
482 |
|
483 |
|
484 |
$out['found_action_merge'] = array(
|
485 |
-
'label' => __("
|
486 |
'type' => 'radio',
|
487 |
'radio_fields' => array(
|
488 |
'skip' => __('Skip'),
|
482 |
|
483 |
|
484 |
$out['found_action_merge'] = array(
|
485 |
+
'label' => __("Existing user"),
|
486 |
'type' => 'radio',
|
487 |
'radio_fields' => array(
|
488 |
'skip' => __('Skip'),
|
admin/views/market.php
CHANGED
@@ -97,7 +97,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
97 |
<li style="text-align: center;"><?php echo __('30 Day Money Back Guarantee','users-customers-import-export-for-wp-woocommerce'); ?></li>
|
98 |
<li style="text-align: center;"><?php echo __('Fast and Superior Support','users-customers-import-export-for-wp-woocommerce'); ?></li>
|
99 |
<li style="text-align: center;">
|
100 |
-
<a href="https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/?utm_source=free_plugin_sidebar&utm_medium=user_imp_exp_basic&utm_campaign=User_Import_Export&utm_content=2.1.
|
101 |
</li>
|
102 |
</ul>
|
103 |
<span>
|
97 |
<li style="text-align: center;"><?php echo __('30 Day Money Back Guarantee','users-customers-import-export-for-wp-woocommerce'); ?></li>
|
98 |
<li style="text-align: center;"><?php echo __('Fast and Superior Support','users-customers-import-export-for-wp-woocommerce'); ?></li>
|
99 |
<li style="text-align: center;">
|
100 |
+
<a href="https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/?utm_source=free_plugin_sidebar&utm_medium=user_imp_exp_basic&utm_campaign=User_Import_Export&utm_content=2.1.1" target="_blank" class="button button-primary button-go-pro"><?php _e('Upgrade to Premium', 'users-customers-import-export-for-wp-woocommerce'); ?></a>
|
101 |
</li>
|
102 |
</ul>
|
103 |
<span>
|
includes/class-wt-import-export-for-woo.php
CHANGED
@@ -80,7 +80,7 @@ class Wt_Import_Export_For_Woo_Basic {
|
|
80 |
if ( defined( 'WT_U_IEW_VERSION' ) ) {
|
81 |
$this->version = WT_U_IEW_VERSION;
|
82 |
} else {
|
83 |
-
$this->version = '2.1.
|
84 |
}
|
85 |
$this->plugin_name = 'wt-import-export-for-woo-basic';
|
86 |
|
80 |
if ( defined( 'WT_U_IEW_VERSION' ) ) {
|
81 |
$this->version = WT_U_IEW_VERSION;
|
82 |
} else {
|
83 |
+
$this->version = '2.1.1';
|
84 |
}
|
85 |
$this->plugin_name = 'wt-import-export-for-woo-basic';
|
86 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: user import, user export, csv, woocommerce, customers, import, export, exp
|
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.1.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -29,7 +29,7 @@ WordPress User Import Export plugin allows you to import and export WordPress us
|
|
29 |
🔸 Map and Transform fields while importing customers/users
|
30 |
🔸 Change values (bulk modify) while importing customers/users using Evaluation Fields
|
31 |
🔸 Tested OK with WordPress 5.7
|
32 |
-
🔸 Tested OK with WooCommerce 5.
|
33 |
🔸 Tested OK with PHP 7.3.5
|
34 |
|
35 |
Highlights: WordPress Users Export, WordPress Users CSV Import Suite, Export WordPress Users to CSV. Pro Version supports export and import of all additional user meta like WooCommerce details.
|
@@ -218,6 +218,9 @@ Yes, you can update the user data with the help of this plugin. The users will b
|
|
218 |
12. WordPress user import export log
|
219 |
|
220 |
== Changelog ==
|
|
|
|
|
|
|
221 |
= 2.1.0 =
|
222 |
* Improvements.
|
223 |
= 2.0.9 =
|
@@ -376,5 +379,5 @@ Yes, you can update the user data with the help of this plugin. The users will b
|
|
376 |
|
377 |
== Upgrade Notice ==
|
378 |
|
379 |
-
= 2.1.
|
380 |
-
*
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.1.1
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
29 |
🔸 Map and Transform fields while importing customers/users
|
30 |
🔸 Change values (bulk modify) while importing customers/users using Evaluation Fields
|
31 |
🔸 Tested OK with WordPress 5.7
|
32 |
+
🔸 Tested OK with WooCommerce 5.2.0
|
33 |
🔸 Tested OK with PHP 7.3.5
|
34 |
|
35 |
Highlights: WordPress Users Export, WordPress Users CSV Import Suite, Export WordPress Users to CSV. Pro Version supports export and import of all additional user meta like WooCommerce details.
|
218 |
12. WordPress user import export log
|
219 |
|
220 |
== Changelog ==
|
221 |
+
|
222 |
+
= 2.1.1 =
|
223 |
+
* Tested OK with WC 5.2.0.
|
224 |
= 2.1.0 =
|
225 |
* Improvements.
|
226 |
= 2.0.9 =
|
379 |
|
380 |
== Upgrade Notice ==
|
381 |
|
382 |
+
= 2.1.1 =
|
383 |
+
* Tested OK with WC 5.2.0.
|
users-customers-import-export-for-wp-woocommerce.php
CHANGED
@@ -6,8 +6,8 @@
|
|
6 |
Description: Export and Import User/Customers details From and To your WordPress/WooCommerce.
|
7 |
Author: WebToffee
|
8 |
Author URI: https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/
|
9 |
-
Version: 2.1.
|
10 |
-
WC tested up to: 5.
|
11 |
Text Domain: users-customers-import-export-for-wp-woocommerce
|
12 |
License: GPLv3
|
13 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
@@ -43,7 +43,7 @@ if ( ! defined( 'WT_IEW_DEBUG_BASIC' ) ) {
|
|
43 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
44 |
* Rename this for your plugin and update it as you release new versions.
|
45 |
*/
|
46 |
-
define( 'WT_U_IEW_VERSION', '2.1.
|
47 |
|
48 |
/**
|
49 |
* The code that runs during plugin activation.
|
@@ -112,22 +112,21 @@ if(get_option('wt_u_iew_is_active'))
|
|
112 |
}
|
113 |
|
114 |
/* Plugin page links */
|
115 |
-
add_filter('plugin_action_links_'.plugin_basename(__FILE__), 'wt_uiew_plugin_action_links_basic_user');
|
116 |
|
117 |
-
function wt_uiew_plugin_action_links_basic_user($links)
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
|
|
|
|
123 |
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
$links['deactivate'] = str_replace('<a', '<a class="userimport-deactivate-link"', $links['deactivate']);
|
129 |
-
}
|
130 |
-
return $links;
|
131 |
}
|
132 |
|
133 |
/*
|
@@ -189,4 +188,3 @@ include_once plugin_dir_path( __FILE__ ) . 'includes/class-wt-non-apache-info.ph
|
|
189 |
$inform_server_secure = new wt_inform_server_secure('user');
|
190 |
$inform_server_secure->plugin_title = "User Import Export";
|
191 |
$inform_server_secure->banner_message = sprintf(__("The <b>%s</b> plugin uploads the imported file into <b>wp-content/webtoffee_import</b> folder. Please ensure that public access restrictions are set in your server for this folder."), $inform_server_secure->plugin_title);
|
192 |
-
|
6 |
Description: Export and Import User/Customers details From and To your WordPress/WooCommerce.
|
7 |
Author: WebToffee
|
8 |
Author URI: https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/
|
9 |
+
Version: 2.1.1
|
10 |
+
WC tested up to: 5.2.0
|
11 |
Text Domain: users-customers-import-export-for-wp-woocommerce
|
12 |
License: GPLv3
|
13 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
43 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
44 |
* Rename this for your plugin and update it as you release new versions.
|
45 |
*/
|
46 |
+
define( 'WT_U_IEW_VERSION', '2.1.1' );
|
47 |
|
48 |
/**
|
49 |
* The code that runs during plugin activation.
|
112 |
}
|
113 |
|
114 |
/* Plugin page links */
|
115 |
+
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'wt_uiew_plugin_action_links_basic_user' );
|
116 |
|
117 |
+
function wt_uiew_plugin_action_links_basic_user( $links ) {
|
118 |
+
|
119 |
+
$plugin_links = array(
|
120 |
+
'<a href="' . admin_url( 'admin.php?page=wt_import_export_for_woo_basic' ) . '">' . __( 'Settings' ) . '</a>',
|
121 |
+
'<a href="https://www.webtoffee.com/user-import-export-plugin-wordpress-user-guide/" target="_blank">' . __( 'Documentation' ) . '</a>',
|
122 |
+
'<a target="_blank" href="https://wordpress.org/support/plugin/users-customers-import-export-for-wp-woocommerce/">' . __( 'Support' ) . '</a>',
|
123 |
+
'<a target="_blank" href="https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/?utm_source=free_plugin_listing&utm_medium=user_imp_exp_basic&utm_campaign=User_Import_Export&utm_content=' . WT_U_IEW_VERSION . '" style="color:#3db634;">' . __( 'Premium Upgrade' ) . '</a>'
|
124 |
+
);
|
125 |
|
126 |
+
if ( array_key_exists( 'deactivate', $links ) ) {
|
127 |
+
$links[ 'deactivate' ] = str_replace( '<a', '<a class="userimport-deactivate-link"', $links[ 'deactivate' ] );
|
128 |
+
}
|
129 |
+
return array_merge( $plugin_links, $links );
|
|
|
|
|
|
|
130 |
}
|
131 |
|
132 |
/*
|
188 |
$inform_server_secure = new wt_inform_server_secure('user');
|
189 |
$inform_server_secure->plugin_title = "User Import Export";
|
190 |
$inform_server_secure->banner_message = sprintf(__("The <b>%s</b> plugin uploads the imported file into <b>wp-content/webtoffee_import</b> folder. Please ensure that public access restrictions are set in your server for this folder."), $inform_server_secure->plugin_title);
|
|