Import Export WordPress Users and WooCommerce Customers - Version 2.1.4

Version Description

  • Menu access capability update
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Import Export WordPress Users and WooCommerce Customers
Version 2.1.4
Comparing to
See all releases

Code changes from version 2.1.3 to 2.1.4

admin/class-wt-import-export-for-woo-admin.php CHANGED
@@ -147,7 +147,7 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
147
  'menu',
148
  __('General Settings'),
149
  __('General Settings'),
150
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
151
  WT_IEW_PLUGIN_ID_BASIC,
152
  array($this,'admin_settings_page'),
153
  'dashicons-controls-repeat',
@@ -169,7 +169,7 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
169
  $parent_menu_key,
170
  __('General Settings'),
171
  __('General Settings'),
172
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
173
  WT_IEW_PLUGIN_ID_BASIC,
174
  array($this, 'admin_settings_page')
175
  );
147
  'menu',
148
  __('General Settings'),
149
  __('General Settings'),
150
+ apply_filters('wt_import_export_allowed_capability', 'import'),
151
  WT_IEW_PLUGIN_ID_BASIC,
152
  array($this,'admin_settings_page'),
153
  'dashicons-controls-repeat',
169
  $parent_menu_key,
170
  __('General Settings'),
171
  __('General Settings'),
172
+ apply_filters('wt_import_export_allowed_capability', 'import'),
173
  WT_IEW_PLUGIN_ID_BASIC,
174
  array($this, 'admin_settings_page')
175
  );
admin/modules/export/export.php CHANGED
@@ -144,7 +144,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
144
  'menu',
145
  __('Export'),
146
  __('WebToffee Import Export (Basic)'),
147
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
148
  $this->module_id,
149
  array($this,'admin_settings_page'),
150
  'dashicons-controls-repeat',
@@ -155,7 +155,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
155
  $this->module_id,
156
  __('Export'),
157
  __('Export'),
158
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
159
  $this->module_id,
160
  array($this, 'admin_settings_page')
161
  ),
144
  'menu',
145
  __('Export'),
146
  __('WebToffee Import Export (Basic)'),
147
+ apply_filters('wt_import_export_allowed_capability', 'import'),
148
  $this->module_id,
149
  array($this,'admin_settings_page'),
150
  'dashicons-controls-repeat',
155
  $this->module_id,
156
  __('Export'),
157
  __('Export'),
158
+ apply_filters('wt_import_export_allowed_capability', 'import'),
159
  $this->module_id,
160
  array($this, 'admin_settings_page')
161
  ),
admin/modules/export/views/_export_post_type_page.php CHANGED
@@ -10,7 +10,7 @@ if (!defined('ABSPATH')) {
10
  </div>
11
  <table class="form-table wt-iew-form-table">
12
  <tr>
13
- <th><label><?php _e('What do you want to export ?'); ?></label></th>
14
  <td>
15
  <select name="wt_iew_export_post_type">
16
  <option value="">-- <?php _e('Select post type'); ?> --</option>
10
  </div>
11
  <table class="form-table wt-iew-form-table">
12
  <tr>
13
+ <th><label><?php _e('Select a post type to export'); ?></label></th>
14
  <td>
15
  <select name="wt_iew_export_post_type">
16
  <option value="">-- <?php _e('Select post type'); ?> --</option>
admin/modules/history/history.php CHANGED
@@ -70,7 +70,7 @@ class Wt_Import_Export_For_Woo_Basic_History
70
  WT_IEW_PLUGIN_ID_BASIC,
71
  __('History'),
72
  __('History'),
73
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
74
  $this->module_id,
75
  array($this, 'admin_settings_page')
76
  );
@@ -79,7 +79,7 @@ class Wt_Import_Export_For_Woo_Basic_History
79
  WT_IEW_PLUGIN_ID_BASIC,
80
  __('Logs'),
81
  __('Logs'),
82
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
83
  $this->module_id.'_log',
84
  array($this, 'admin_log_page')
85
  );
70
  WT_IEW_PLUGIN_ID_BASIC,
71
  __('History'),
72
  __('History'),
73
+ apply_filters('wt_import_export_allowed_capability', 'import'),
74
  $this->module_id,
75
  array($this, 'admin_settings_page')
76
  );
79
  WT_IEW_PLUGIN_ID_BASIC,
80
  __('Logs'),
81
  __('Logs'),
82
+ apply_filters('wt_import_export_allowed_capability', 'import'),
83
  $this->module_id.'_log',
84
  array($this, 'admin_log_page')
85
  );
admin/modules/import/import.php CHANGED
@@ -56,7 +56,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
56
  /* default step list */
57
  $this->steps=array(
58
  'post_type'=>array(
59
- 'title'=>__('Select post type'),
60
  'description'=>__('Import the respective post type from a CSV. As a first step you need to choose the post type to start the import.'),
61
  ),
62
  'method_import'=>array(
@@ -258,7 +258,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
258
  WT_IEW_PLUGIN_ID_BASIC,
259
  __('Import'),
260
  __('Import'),
261
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
262
  $this->module_id,
263
  array($this, 'admin_settings_page')
264
  )
56
  /* default step list */
57
  $this->steps=array(
58
  'post_type'=>array(
59
+ 'title'=>__('Select a post type'),
60
  'description'=>__('Import the respective post type from a CSV. As a first step you need to choose the post type to start the import.'),
61
  ),
62
  'method_import'=>array(
258
  WT_IEW_PLUGIN_ID_BASIC,
259
  __('Import'),
260
  __('Import'),
261
+ apply_filters('wt_import_export_allowed_capability', 'import'),
262
  $this->module_id,
263
  array($this, 'admin_settings_page')
264
  )
admin/modules/import/views/_import_post_type_page.php CHANGED
@@ -10,7 +10,7 @@ if (!defined('ABSPATH')) {
10
  </div>
11
  <table class="form-table wt-iew-form-table">
12
  <tr>
13
- <th><label><?php _e('What do you want to import'); ?></label></th>
14
  <td>
15
  <select name="wt_iew_import_post_type">
16
  <option value="">-- <?php _e('Select post type'); ?> --</option>
10
  </div>
11
  <table class="form-table wt-iew-form-table">
12
  <tr>
13
+ <th><label><?php _e('Select a post type to import'); ?></label></th>
14
  <td>
15
  <select name="wt_iew_import_post_type">
16
  <option value="">-- <?php _e('Select post type'); ?> --</option>
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.3';
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.4';
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.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -219,6 +219,8 @@ Yes, you can update the user data with the help of this plugin. The users will b
219
 
220
  == Changelog ==
221
 
 
 
222
  = 2.1.3 =
223
  * Tested OK with PHP 8.0
224
  = 2.1.2 =
@@ -383,5 +385,5 @@ Yes, you can update the user data with the help of this plugin. The users will b
383
 
384
  == Upgrade Notice ==
385
 
386
- = 2.1.3 =
387
- * Tested OK with PHP 8.0
5
  Requires at least: 3.0.1
6
  Tested up to: 5.7
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.4
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
219
 
220
  == Changelog ==
221
 
222
+ = 2.1.4 =
223
+ * Menu access capability update
224
  = 2.1.3 =
225
  * Tested OK with PHP 8.0
226
  = 2.1.2 =
385
 
386
  == Upgrade Notice ==
387
 
388
+ = 2.1.4 =
389
+ * Menu access capability update
users-customers-import-export-for-wp-woocommerce.php CHANGED
@@ -6,7 +6,7 @@
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.3
10
  WC tested up to: 5.3.0
11
  Text Domain: users-customers-import-export-for-wp-woocommerce
12
  License: GPLv3
@@ -46,7 +46,7 @@ if ( !defined( 'WT_IEW_DEBUG_BASIC_TROUBLESHOOT' ) ) {
46
  * Start at version 1.0.0 and use SemVer - https://semver.org
47
  * Rename this for your plugin and update it as you release new versions.
48
  */
49
- define( 'WT_U_IEW_VERSION', '2.1.3' );
50
 
51
  /**
52
  * The code that runs during plugin activation.
@@ -180,7 +180,7 @@ $user_egecy_menu->plugin_title = "User Import Export";
180
  $user_egecy_menu->old_menu = "Users > User Import Export";
181
  $user_egecy_menu->banner_message = sprintf(__("We have introduced a new main menu %sWebToffee Import Export(basic)%s for the %s plugin. Click the button below or dismiss this banner to remove the old menu from %s."),'<b>','</b>', $user_egecy_menu->plugin_title, $user_egecy_menu->old_menu);
182
  $user_egecy_menu->old_menu_params = array(array('parent_slug'=>'users.php', 'menu_title'=>'User Import Export', 'capability'=>'list_users'),
183
- array('parent_slug'=>'woocommerce', 'menu_title'=>'Customer Import Export', 'capability'=>'manage_woocommerce')
184
  );
185
 
186
  include_once 'user_import_export_review_request.php';
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.4
10
  WC tested up to: 5.3.0
11
  Text Domain: users-customers-import-export-for-wp-woocommerce
12
  License: GPLv3
46
  * Start at version 1.0.0 and use SemVer - https://semver.org
47
  * Rename this for your plugin and update it as you release new versions.
48
  */
49
+ define( 'WT_U_IEW_VERSION', '2.1.4' );
50
 
51
  /**
52
  * The code that runs during plugin activation.
180
  $user_egecy_menu->old_menu = "Users > User Import Export";
181
  $user_egecy_menu->banner_message = sprintf(__("We have introduced a new main menu %sWebToffee Import Export(basic)%s for the %s plugin. Click the button below or dismiss this banner to remove the old menu from %s."),'<b>','</b>', $user_egecy_menu->plugin_title, $user_egecy_menu->old_menu);
182
  $user_egecy_menu->old_menu_params = array(array('parent_slug'=>'users.php', 'menu_title'=>'User Import Export', 'capability'=>'list_users'),
183
+ array('parent_slug'=>'woocommerce', 'menu_title'=>'Customer Import Export', 'capability'=>'import')
184
  );
185
 
186
  include_once 'user_import_export_review_request.php';