Version Description
- Default values in select change to user the "safer" choice when assigning default values
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.19.2.6 |
Comparing to | |
See all releases |
Code changes from version 1.19.2.5 to 1.19.2.6
- classes/frontend.php +3 -2
- classes/homepage.php +5 -5
- import-users-from-csv-with-meta.php +3 -2
- readme.txt +4 -1
classes/frontend.php
CHANGED
@@ -136,7 +136,7 @@ class ACUI_Frontend{
|
|
136 |
<th scope="row"><label><?php _e( 'Update existing users?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
137 |
<td>
|
138 |
<?php ACUIHTML()->select( array(
|
139 |
-
'options' => array( '
|
140 |
'name' => 'update_existing_users',
|
141 |
'selected' => $update_existing_users,
|
142 |
'show_option_all' => false,
|
@@ -149,7 +149,7 @@ class ACUI_Frontend{
|
|
149 |
<th scope="row"><label><?php _e( 'Update roles for existing users?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
150 |
<td>
|
151 |
<?php ACUIHTML()->select( array(
|
152 |
-
'options' => array( '
|
153 |
'name' => 'update_roles_existing_users',
|
154 |
'selected' => $update_roles_existing_users,
|
155 |
'show_option_all' => false,
|
@@ -488,5 +488,6 @@ class ACUI_Frontend{
|
|
488 |
return ob_get_clean();
|
489 |
}
|
490 |
}
|
|
|
491 |
$acui_frontend = new ACUI_Frontend();
|
492 |
$acui_frontend->hooks();
|
136 |
<th scope="row"><label><?php _e( 'Update existing users?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
137 |
<td>
|
138 |
<?php ACUIHTML()->select( array(
|
139 |
+
'options' => array( 'no' => __( 'No', 'import-users-from-csv-with-meta' ), 'yes' => __( 'Yes', 'import-users-from-csv-with-meta' ) ),
|
140 |
'name' => 'update_existing_users',
|
141 |
'selected' => $update_existing_users,
|
142 |
'show_option_all' => false,
|
149 |
<th scope="row"><label><?php _e( 'Update roles for existing users?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
150 |
<td>
|
151 |
<?php ACUIHTML()->select( array(
|
152 |
+
'options' => array( 'no' => __( 'No', 'import-users-from-csv-with-meta' ), 'yes_no_override' => __( 'Yes, add new roles and not override existing ones', 'import-users-from-csv-with-meta' ), 'yes' => __( 'Yes', 'import-users-from-csv-with-meta' ) ),
|
153 |
'name' => 'update_roles_existing_users',
|
154 |
'selected' => $update_roles_existing_users,
|
155 |
'show_option_all' => false,
|
488 |
return ob_get_clean();
|
489 |
}
|
490 |
}
|
491 |
+
|
492 |
$acui_frontend = new ACUI_Frontend();
|
493 |
$acui_frontend->hooks();
|
classes/homepage.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) )
|
3 |
-
exit;
|
4 |
|
5 |
class ACUI_Homepage{
|
6 |
function __construct(){
|
@@ -140,7 +140,7 @@ class ACUI_Homepage{
|
|
140 |
<th scope="row"><label for="update_existing_users"><?php _e( 'Update existing users?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
141 |
<td>
|
142 |
<?php ACUIHTML()->select( array(
|
143 |
-
'options' => array( '
|
144 |
'name' => 'update_existing_users',
|
145 |
'show_option_all' => false,
|
146 |
'show_option_none' => false,
|
@@ -152,7 +152,7 @@ class ACUI_Homepage{
|
|
152 |
<th scope="row"><label for="update_emails_existing_users"><?php _e( 'Update emails?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
153 |
<td>
|
154 |
<?php ACUIHTML()->select( array(
|
155 |
-
'options' => array( '
|
156 |
'name' => 'update_emails_existing_users',
|
157 |
'show_option_all' => false,
|
158 |
'show_option_none' => false,
|
@@ -177,7 +177,7 @@ class ACUI_Homepage{
|
|
177 |
<th scope="row"><label for="update_allow_update_passwords"><?php _e( 'Never update passwords?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
178 |
<td>
|
179 |
<?php ACUIHTML()->select( array(
|
180 |
-
'options' => array( '
|
181 |
'name' => 'update_allow_update_passwords',
|
182 |
'show_option_all' => false,
|
183 |
'show_option_none' => false,
|
@@ -500,4 +500,4 @@ class ACUI_Homepage{
|
|
500 |
}
|
501 |
|
502 |
$acui_homepage = new ACUI_Homepage();
|
503 |
-
$acui_homepage->hooks();
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) )
|
3 |
+
exit;
|
4 |
|
5 |
class ACUI_Homepage{
|
6 |
function __construct(){
|
140 |
<th scope="row"><label for="update_existing_users"><?php _e( 'Update existing users?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
141 |
<td>
|
142 |
<?php ACUIHTML()->select( array(
|
143 |
+
'options' => array( 'no' => __( 'No', 'import-users-from-csv-with-meta' ), 'yes' => __( 'Yes', 'import-users-from-csv-with-meta' ), ),
|
144 |
'name' => 'update_existing_users',
|
145 |
'show_option_all' => false,
|
146 |
'show_option_none' => false,
|
152 |
<th scope="row"><label for="update_emails_existing_users"><?php _e( 'Update emails?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
153 |
<td>
|
154 |
<?php ACUIHTML()->select( array(
|
155 |
+
'options' => array( 'no' => __( 'No', 'import-users-from-csv-with-meta' ), 'create' => __( 'No, but create a new user with a prefix in the username', 'import-users-from-csv-with-meta' ), 'yes' => __( 'Yes', 'import-users-from-csv-with-meta' ) ),
|
156 |
'name' => 'update_emails_existing_users',
|
157 |
'show_option_all' => false,
|
158 |
'show_option_none' => false,
|
177 |
<th scope="row"><label for="update_allow_update_passwords"><?php _e( 'Never update passwords?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
178 |
<td>
|
179 |
<?php ACUIHTML()->select( array(
|
180 |
+
'options' => array( 'no' => __( 'Never update passwords when updating a user', 'import-users-from-csv-with-meta' ), 'yes_no_override' => __( 'Yes, add new roles and not override existing ones', 'import-users-from-csv-with-meta' ), 'yes' => __( 'Update passwords as it is described in documentation', 'import-users-from-csv-with-meta' ) ),
|
181 |
'name' => 'update_allow_update_passwords',
|
182 |
'show_option_all' => false,
|
183 |
'show_option_none' => false,
|
500 |
}
|
501 |
|
502 |
$acui_homepage = new ACUI_Homepage();
|
503 |
+
$acui_homepage->hooks();
|
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.19.2.
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
@@ -11,10 +11,11 @@ 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 |
|
17 |
-
define( 'ACUI_VERSION', '1.19.2.
|
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.19.2.6
|
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 |
|
18 |
+
define( 'ACUI_VERSION', '1.19.2.6' );
|
19 |
|
20 |
class ImportExportUsersCustomers{
|
21 |
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.0
|
7 |
-
Stable tag: 1.19.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -107,6 +107,9 @@ Plugin will automatically detect:
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
110 |
= 1.19.2.5 =
|
111 |
* Ready for WordPress 6.0
|
112 |
* Fixed a problem when no selecting a default role (https://wordpress.org/support/topic/default-role-and-update/#post-15626130) and roles was not being updated
|
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.0
|
7 |
+
Stable tag: 1.19.2.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 1.19.2.6 =
|
111 |
+
* Default values in select change to user the "safer" choice when assigning default values
|
112 |
+
|
113 |
= 1.19.2.5 =
|
114 |
* Ready for WordPress 6.0
|
115 |
* Fixed a problem when no selecting a default role (https://wordpress.org/support/topic/default-role-and-update/#post-15626130) and roles was not being updated
|