Import users from CSV with meta - Version 1.14.0.8.1

Version Description

  • Bug fixed
Download this release

Release Info

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

Code changes from version 1.14.0.8 to 1.14.0.8.1

classes/email-templates.php CHANGED
@@ -80,6 +80,7 @@ class ACUI_Email_Template{
80
  <li>**loginurl** = <?php _e( 'current site login url', 'import-users-from-csv-with-meta' ); ?></li>
81
  <li>**lostpasswordurl** = <?php _e( 'lost password url', 'import-users-from-csv-with-meta' ); ?></li>
82
  <li>**passwordreseturl** = <?php _e( 'password reset url', 'import-users-from-csv-with-meta' ); ?></li>
 
83
  <li>**email** = <?php _e( 'user email', 'import-users-from-csv-with-meta' ); ?></li>
84
  <li><?php _e( "You can also use any WordPress user standard field or an own metadata, if you have used it in your CSV. For example, if you have a first_name column, you could use **first_name** or any other meta_data like **my_custom_meta**", 'import-users-from-csv-with-meta' ) ;?></li>
85
  </ul>
80
  <li>**loginurl** = <?php _e( 'current site login url', 'import-users-from-csv-with-meta' ); ?></li>
81
  <li>**lostpasswordurl** = <?php _e( 'lost password url', 'import-users-from-csv-with-meta' ); ?></li>
82
  <li>**passwordreseturl** = <?php _e( 'password reset url', 'import-users-from-csv-with-meta' ); ?></li>
83
+ <li>**passwordreseturllink** = <?php _e( 'password reset url with HTML link', 'import-users-from-csv-with-meta' ); ?></li>
84
  <li>**email** = <?php _e( 'user email', 'import-users-from-csv-with-meta' ); ?></li>
85
  <li><?php _e( "You can also use any WordPress user standard field or an own metadata, if you have used it in your CSV. For example, if you have a first_name column, you could use **first_name** or any other meta_data like **my_custom_meta**", 'import-users-from-csv-with-meta' ) ;?></li>
86
  </ul>
import-users-from-csv-with-meta.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Import users from CSV with meta
4
  Plugin URI: https://www.codection.com
5
  Description: This plugins allows to import users using CSV files to WP database automatically
6
- Version: 1.14.0.8
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
3
  Plugin Name: Import users from CSV with meta
4
  Plugin URI: https://www.codection.com
5
  Description: This plugins allows to import users using CSV files to WP database automatically
6
+ Version: 1.14.0.8.1
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -573,8 +573,10 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
573
 
574
  if( !is_wp_error( $key ) ){
575
  $passwordreseturl = apply_filters( 'acui_email_passwordreseturl', network_site_url( 'wp-login.php?action=rp&key=' . $key . '&login=' . rawurlencode( $user_login ), 'login' ) );
576
- $passwordreseturl = wp_sprintf( '<a href="%s">%s</a>', $passwordreseturl, __( 'Password reset link', 'import-users-from-csv-with-meta' ) );
577
  $body_mail = str_replace( "**passwordreseturl**", $passwordreseturl, $body_mail );
 
 
 
578
  }
579
 
580
  if( empty( $password ) && !$created )
573
 
574
  if( !is_wp_error( $key ) ){
575
  $passwordreseturl = apply_filters( 'acui_email_passwordreseturl', network_site_url( 'wp-login.php?action=rp&key=' . $key . '&login=' . rawurlencode( $user_login ), 'login' ) );
 
576
  $body_mail = str_replace( "**passwordreseturl**", $passwordreseturl, $body_mail );
577
+
578
+ $passwordreseturllink = wp_sprintf( '<a href="%s">%s</a>', $passwordreseturl, __( 'Password reset link', 'import-users-from-csv-with-meta' ) );
579
+ $body_mail = str_replace( "**passwordreseturllink**", $passwordreseturllink, $body_mail );
580
  }
581
 
582
  if( empty( $password ) && !$created )
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.2
7
- Stable tag: 1.14.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -90,8 +90,11 @@ Plugin will automatically detect:
90
 
91
  == Changelog ==
92
 
 
 
 
93
  = 1.14.0.8 =
94
- * **passwordreseturl** now shows a link in HTML
95
 
96
  = 1.14.0.7 =
97
  * Filter improved to avoid strange characters in emails
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.2
7
+ Stable tag: 1.14.0.8.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
90
 
91
  == Changelog ==
92
 
93
+ = 1.14.0.8.1 =
94
+ * Bug fixed
95
+
96
  = 1.14.0.8 =
97
+ * **passwordreseturllink** shows reset password url with a link in HTML
98
 
99
  = 1.14.0.7 =
100
  * Filter improved to avoid strange characters in emails