Import users from CSV with meta - Version 1.17.5.7

Version Description

  • Email templates are being sent translated in the current WPML language if column locale is not set
  • Warning fixed in ACF addon
Download this release

Release Info

Developer carazo
Plugin Icon 128x128 Import users from CSV with meta
Version 1.17.5.7
Comparing to
See all releases

Code changes from version 1.17.5.6 to 1.17.5.7

addons/advanced-custom-fields.php CHANGED
@@ -91,8 +91,8 @@ class ACUI_ACF{
91
 
92
  $field_groups = acf_get_field_groups( array( 'user_id' => 'new', 'user_form' => '#your-profile' ) );
93
 
94
- if( empty($field_groups) )
95
- return;
96
 
97
  acf_form_data( array( 'post_id' => "user_new", 'nonce' => 'user' ) );
98
 
91
 
92
  $field_groups = acf_get_field_groups( array( 'user_id' => 'new', 'user_form' => '#your-profile' ) );
93
 
94
+ if( empty( $field_groups ) )
95
+ return array();
96
 
97
  acf_form_data( array( 'post_id' => "user_new", 'nonce' => 'user' ) );
98
 
addons/wpml.php CHANGED
@@ -28,7 +28,7 @@ class ACUI_WPML{
28
  $locale = ACUI_Helper::get_value_from_row( 'locale', $headers, $data );
29
 
30
  if( empty( $locale ) )
31
- return $body;
32
 
33
  $template_id = get_option( "acui_mail_template_id" );
34
  $locale = substr( $locale, 0, 2 );
28
  $locale = ACUI_Helper::get_value_from_row( 'locale', $headers, $data );
29
 
30
  if( empty( $locale ) )
31
+ $locale = apply_filters( 'wpml_current_language', NULL );
32
 
33
  $template_id = get_option( "acui_mail_template_id" );
34
  $locale = substr( $locale, 0, 2 );
classes/options.php CHANGED
@@ -86,6 +86,8 @@ class ACUI_Options{
86
  update_option( "acui_manually_force_user_reset_password", isset( $form_data["force_user_reset_password"] ) && $form_data["force_user_reset_password"] == 'yes' );
87
  }
88
  elseif( $is_frontend ){
 
 
89
  update_option( "acui_frontend_send_mail", isset( $form_data["send-mail-frontend"] ) && $form_data["send-mail-frontend"] == "yes" );
90
  update_option( "acui_frontend_send_mail_updated", isset( $form_data["send-mail-updated-frontend"] ) && $form_data["send-mail-updated-frontend"] == "yes" );
91
  update_option( "acui_frontend_mail_admin", isset( $form_data["send_mail_admin_frontend"] ) && $form_data["send_mail_admin_frontend"] == "yes" );
86
  update_option( "acui_manually_force_user_reset_password", isset( $form_data["force_user_reset_password"] ) && $form_data["force_user_reset_password"] == 'yes' );
87
  }
88
  elseif( $is_frontend ){
89
+ $form_data["send_mail_admin_frontend_address_list"] = isset( $form_data["send_mail_admin_frontend_address_list"] ) ? $form_data["send_mail_admin_frontend_address_list"] : '';
90
+
91
  update_option( "acui_frontend_send_mail", isset( $form_data["send-mail-frontend"] ) && $form_data["send-mail-frontend"] == "yes" );
92
  update_option( "acui_frontend_send_mail_updated", isset( $form_data["send-mail-updated-frontend"] ) && $form_data["send-mail-updated-frontend"] == "yes" );
93
  update_option( "acui_frontend_mail_admin", isset( $form_data["send_mail_admin_frontend"] ) && $form_data["send_mail_admin_frontend"] == "yes" );
import-users-from-csv-with-meta.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Import and export users and customers
4
  Plugin URI: https://www.codection.com
5
  Description: Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
6
- Version: 1.17.5.6
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
@@ -11,6 +11,7 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
  Text Domain: import-users-from-csv-with-meta
12
  Domain Path: /languages
13
  */
 
14
  if ( ! defined( 'ABSPATH' ) )
15
  exit;
16
 
3
  Plugin Name: Import and export users and customers
4
  Plugin URI: https://www.codection.com
5
  Description: Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
6
+ Version: 1.17.5.7
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
11
  Text Domain: import-users-from-csv-with-meta
12
  Domain Path: /languages
13
  */
14
+
15
  if ( ! defined( 'ABSPATH' ) )
16
  exit;
17
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://codection.com/go/donate-import-users-from-csv-with-meta/
4
  Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
5
  Requires at least: 3.4
6
  Tested up to: 5.7.2
7
- Stable tag: 1.17.5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,10 @@ Plugin will automatically detect:
103
 
104
  == Changelog ==
105
 
 
 
 
 
106
  = 1.17.5.6 =
107
  * Frontend force reset password fixed
108
 
4
  Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
5
  Requires at least: 3.4
6
  Tested up to: 5.7.2
7
+ Stable tag: 1.17.5.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = 1.17.5.7 =
107
+ * Email templates are being sent translated in the current WPML language if column locale is not set
108
+ * Warning fixed in ACF addon
109
+
110
  = 1.17.5.6 =
111
  * Frontend force reset password fixed
112