Version Description
- Fixed a problem when sending email content, which caused the password to always appear as if it had not been changed even though it really had
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.21.1 |
Comparing to | |
See all releases |
Code changes from version 1.21 to 1.21.1
- classes/email-options.php +3 -3
- import-users-from-csv-with-meta.php +2 -2
- readme.txt +5 -2
classes/email-options.php
CHANGED
@@ -203,8 +203,8 @@ class ACUI_Email_Options{
|
|
203 |
$body = apply_filters( 'acui_import_email_body_source', get_option( "acui_mail_body" ), $headers, $data, $created, $user_id );
|
204 |
$subject = apply_filters( 'acui_import_email_subject_source', get_option( "acui_mail_subject" ), $headers, $data, $created, $user_id );
|
205 |
|
206 |
-
$body = self::apply_wildcards( $body, $user_object, $created, $positions, $headers, $data );
|
207 |
-
$subject = self::apply_wildcards( $subject, $user_object, $created, $positions, $headers, $data );
|
208 |
|
209 |
$body = apply_filters( 'acui_import_email_body_before_wpautop', $body, $headers, $data, $created, $user_id );
|
210 |
|
@@ -222,7 +222,7 @@ class ACUI_Email_Options{
|
|
222 |
wp_mail( $email_to, $subject, $body, $headers_mail, $attachments );
|
223 |
}
|
224 |
|
225 |
-
static function apply_wildcards( $string, $user_object, $created, $positions, $headers, $data ){
|
226 |
$acui_helper = new ACUI_Helper();
|
227 |
$key = get_password_reset_key( $user_object );
|
228 |
$wp_users_fields = $acui_helper->get_wp_users_fields();
|
203 |
$body = apply_filters( 'acui_import_email_body_source', get_option( "acui_mail_body" ), $headers, $data, $created, $user_id );
|
204 |
$subject = apply_filters( 'acui_import_email_subject_source', get_option( "acui_mail_subject" ), $headers, $data, $created, $user_id );
|
205 |
|
206 |
+
$body = self::apply_wildcards( $body, $user_object, $created, $positions, $headers, $data, $password );
|
207 |
+
$subject = self::apply_wildcards( $subject, $user_object, $created, $positions, $headers, $data, $password );
|
208 |
|
209 |
$body = apply_filters( 'acui_import_email_body_before_wpautop', $body, $headers, $data, $created, $user_id );
|
210 |
|
222 |
wp_mail( $email_to, $subject, $body, $headers_mail, $attachments );
|
223 |
}
|
224 |
|
225 |
+
static function apply_wildcards( $string, $user_object, $created, $positions, $headers, $data, $password ){
|
226 |
$acui_helper = new ACUI_Helper();
|
227 |
$key = get_password_reset_key( $user_object );
|
228 |
$wp_users_fields = $acui_helper->get_wp_users_fields();
|
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.21
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
@@ -14,7 +14,7 @@ Domain Path: /languages
|
|
14 |
if ( ! defined( 'ABSPATH' ) )
|
15 |
exit;
|
16 |
|
17 |
-
define( 'ACUI_VERSION', '1.21' );
|
18 |
|
19 |
class ImportExportUsersCustomers{
|
20 |
var $file;
|
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.21.1
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
14 |
if ( ! defined( 'ABSPATH' ) )
|
15 |
exit;
|
16 |
|
17 |
+
define( 'ACUI_VERSION', '1.21.1' );
|
18 |
|
19 |
class ImportExportUsersCustomers{
|
20 |
var $file;
|
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: 6.1
|
7 |
-
Stable tag: 1.21
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -108,8 +108,11 @@ Plugin will automatically detect:
|
|
108 |
|
109 |
== Changelog ==
|
110 |
|
|
|
|
|
|
|
111 |
= 1.21 =
|
112 |
-
*
|
113 |
* You can use now all the wildcards in subjects that were available in body
|
114 |
* Fixed some issues when exporting data using filtered columns, now source_user_id is filled correctly
|
115 |
|
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: 6.1
|
7 |
+
Stable tag: 1.21.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
108 |
|
109 |
== Changelog ==
|
110 |
|
111 |
+
= 1.21.1 =
|
112 |
+
* Fixed a problem when sending email content, which caused the password to always appear as if it had not been changed even though it really had
|
113 |
+
|
114 |
= 1.21 =
|
115 |
+
* Export results included after export is done, including if some value has been altered because it can contains some spreadsheet formula characters at the beginning
|
116 |
* You can use now all the wildcards in subjects that were available in body
|
117 |
* Fixed some issues when exporting data using filtered columns, now source_user_id is filled correctly
|
118 |
|