Order Export & Order Import for WooCommerce - Version 2.0.3

Version Description

  • Menu access capability update
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Order Export & Order Import for WooCommerce
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

admin/class-wt-import-export-for-woo-admin.php CHANGED
@@ -140,7 +140,7 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
140
  'menu',
141
  __('General Settings'),
142
  __('General Settings'),
143
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
144
  WT_IEW_PLUGIN_ID_BASIC,
145
  array($this,'admin_settings_page'),
146
  'dashicons-controls-repeat',
@@ -163,7 +163,7 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
163
  $parent_menu_key,
164
  __('General Settings'),
165
  __('General Settings'),
166
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
167
  WT_IEW_PLUGIN_ID_BASIC,
168
  array($this, 'admin_settings_page')
169
  );
140
  'menu',
141
  __('General Settings'),
142
  __('General Settings'),
143
+ apply_filters('wt_import_export_allowed_capability', 'import'),
144
  WT_IEW_PLUGIN_ID_BASIC,
145
  array($this,'admin_settings_page'),
146
  'dashicons-controls-repeat',
163
  $parent_menu_key,
164
  __('General Settings'),
165
  __('General Settings'),
166
+ apply_filters('wt_import_export_allowed_capability', 'import'),
167
  WT_IEW_PLUGIN_ID_BASIC,
168
  array($this, 'admin_settings_page')
169
  );
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
@@ -54,7 +54,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
54
  /* default step list */
55
  $this->steps=array(
56
  'post_type'=>array(
57
- 'title'=>__('Select post type'),
58
  'description'=>__('Import the respective post type from a CSV. As a first step you need to choose the post type to start the import.'),
59
  ),
60
  'method_import'=>array(
@@ -253,7 +253,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
253
  WT_IEW_PLUGIN_ID_BASIC,
254
  __('Import'),
255
  __('Import'),
256
- apply_filters('wt_import_export_allowed_capability', 'manage_woocommerce'),
257
  $this->module_id,
258
  array($this, 'admin_settings_page')
259
  )
54
  /* default step list */
55
  $this->steps=array(
56
  'post_type'=>array(
57
+ 'title'=>__('Select a post type'),
58
  'description'=>__('Import the respective post type from a CSV. As a first step you need to choose the post type to start the import.'),
59
  ),
60
  'method_import'=>array(
253
  WT_IEW_PLUGIN_ID_BASIC,
254
  __('Import'),
255
  __('Import'),
256
+ apply_filters('wt_import_export_allowed_capability', 'import'),
257
  $this->module_id,
258
  array($this, 'admin_settings_page')
259
  )
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_O_IEW_VERSION' ) ) {
81
  $this->version = WT_O_IEW_VERSION;
82
  } else {
83
- $this->version = '2.0.2';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
80
  if ( defined( 'WT_O_IEW_VERSION' ) ) {
81
  $this->version = WT_O_IEW_VERSION;
82
  } else {
83
+ $this->version = '2.0.3';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
order-import-export-for-woocommerce.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: https://wordpress.org/plugins/order-import-export-for-woocommerce/
6
  Description: Export and Import Order detail including line items, From and To your WooCommerce Store.
7
  Author: WebToffee
8
  Author URI: https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/
9
- Version: 2.0.2
10
  Text Domain: order-import-export-for-woocommerce
11
  WC tested up to: 5.3.0
12
  License: GPLv3
@@ -45,7 +45,7 @@ if ( !defined( 'WT_IEW_DEBUG_BASIC_TROUBLESHOOT' ) ) {
45
  * Start at version 1.0.0 and use SemVer - https://semver.org
46
  * Rename this for your plugin and update it as you release new versions.
47
  */
48
- define( 'WT_O_IEW_VERSION', '2.0.2' );
49
 
50
  /**
51
  * The code that runs during plugin activation.
@@ -209,7 +209,7 @@ $order_legacy_menu->plugin_title = "Order Import Export";
209
  $order_legacy_menu->old_menu = "WooCommerce > Order Im-EX";
210
  $order_legacy_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>', $order_legacy_menu->plugin_title, $order_legacy_menu->old_menu );
211
  $order_legacy_menu->old_menu_params = array(
212
- array( 'parent_slug' => 'woocommerce', 'menu_title' => 'Order Im-EX', 'capability' => 'manage_woocommerce' )
213
  );
214
 
215
 
6
  Description: Export and Import Order detail including line items, From and To your WooCommerce Store.
7
  Author: WebToffee
8
  Author URI: https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/
9
+ Version: 2.0.3
10
  Text Domain: order-import-export-for-woocommerce
11
  WC tested up to: 5.3.0
12
  License: GPLv3
45
  * Start at version 1.0.0 and use SemVer - https://semver.org
46
  * Rename this for your plugin and update it as you release new versions.
47
  */
48
+ define( 'WT_O_IEW_VERSION', '2.0.3' );
49
 
50
  /**
51
  * The code that runs during plugin activation.
209
  $order_legacy_menu->old_menu = "WooCommerce > Order Im-EX";
210
  $order_legacy_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>', $order_legacy_menu->plugin_title, $order_legacy_menu->old_menu );
211
  $order_legacy_menu->old_menu_params = array(
212
+ array( 'parent_slug' => 'woocommerce', 'menu_title' => 'Order Im-EX', 'capability' => 'import' )
213
  );
214
 
215
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: order export, order import, woocommerce export orders, woocommerce import
5
  Requires at least: 3.0.1
6
  Tested up to: 5.7
7
  Requires PHP: 5.6
8
- Stable tag: 2.0.2
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -217,6 +217,8 @@ Yes.
217
 
218
  == Changelog ==
219
 
 
 
220
  = 2.0.2 =
221
  * WC latest tested OK and speed optimization.
222
  = 2.0.1 =
@@ -432,5 +434,5 @@ Yes.
432
 
433
  == Upgrade Notice ==
434
 
435
- = 2.0.2 =
436
- * WC latest tested OK and speed optimization.
5
  Requires at least: 3.0.1
6
  Tested up to: 5.7
7
  Requires PHP: 5.6
8
+ Stable tag: 2.0.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
217
 
218
  == Changelog ==
219
 
220
+ = 2.0.3 =
221
+ * Menu access capability update
222
  = 2.0.2 =
223
  * WC latest tested OK and speed optimization.
224
  = 2.0.1 =
434
 
435
  == Upgrade Notice ==
436
 
437
+ = 2.0.3 =
438
+ * Menu access capability update