Version Description
- Now you can use the WordPress loaded schedules in the cron import instead of the three default one thanks to PM2S
- Mail cron sending fixed issues
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.11.3.11 |
Comparing to | |
See all releases |
Code changes from version 1.11.3.10 to 1.11.3.11
- import-users-from-csv-with-meta.php +1 -1
- importer.php +4 -5
- readme.txt +5 -1
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.11.3.
|
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.11.3.11
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
importer.php
CHANGED
@@ -601,7 +601,6 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
|
|
601 |
remove_filter( 'send_password_change_email', 'acui_return_false', 999 );
|
602 |
}
|
603 |
|
604 |
-
|
605 |
if( $attach_id != 0 )
|
606 |
wp_delete_attachment( $attach_id );
|
607 |
|
@@ -1414,6 +1413,7 @@ function acui_options(){
|
|
1414 |
$path_to_move_auto_rename = get_option( "acui_cron_path_to_move_auto_rename");
|
1415 |
$log = get_option( "acui_cron_log");
|
1416 |
$allow_multiple_accounts = get_option("acui_cron_allow_multiple_accounts");
|
|
|
1417 |
|
1418 |
if( empty( $cron_activated ) )
|
1419 |
$cron_activated = false;
|
@@ -1453,7 +1453,6 @@ function acui_options(){
|
|
1453 |
|
1454 |
if( empty( $allow_multiple_accounts ) )
|
1455 |
$allow_multiple_accounts = "not_allowed";
|
1456 |
-
|
1457 |
?>
|
1458 |
<h3><?php _e( "Execute an import of users periodically", 'import-users-from-csv-with-meta' ); ?></h3>
|
1459 |
|
@@ -1471,9 +1470,9 @@ function acui_options(){
|
|
1471 |
<th scope="row"><label for="period"><?php _e( 'Period', 'import-users-from-csv-with-meta' ); ?></label></th>
|
1472 |
<td>
|
1473 |
<select id="period" name="period">
|
1474 |
-
|
1475 |
-
<option <?php if( $period ==
|
1476 |
-
|
1477 |
</select>
|
1478 |
<p class="description"><?php _e( 'How often the event should reoccur?', 'import-users-from-csv-with-meta' ); ?></p>
|
1479 |
</td>
|
601 |
remove_filter( 'send_password_change_email', 'acui_return_false', 999 );
|
602 |
}
|
603 |
|
|
|
604 |
if( $attach_id != 0 )
|
605 |
wp_delete_attachment( $attach_id );
|
606 |
|
1413 |
$path_to_move_auto_rename = get_option( "acui_cron_path_to_move_auto_rename");
|
1414 |
$log = get_option( "acui_cron_log");
|
1415 |
$allow_multiple_accounts = get_option("acui_cron_allow_multiple_accounts");
|
1416 |
+
$loaded_periods = wp_get_schedules();
|
1417 |
|
1418 |
if( empty( $cron_activated ) )
|
1419 |
$cron_activated = false;
|
1453 |
|
1454 |
if( empty( $allow_multiple_accounts ) )
|
1455 |
$allow_multiple_accounts = "not_allowed";
|
|
|
1456 |
?>
|
1457 |
<h3><?php _e( "Execute an import of users periodically", 'import-users-from-csv-with-meta' ); ?></h3>
|
1458 |
|
1470 |
<th scope="row"><label for="period"><?php _e( 'Period', 'import-users-from-csv-with-meta' ); ?></label></th>
|
1471 |
<td>
|
1472 |
<select id="period" name="period">
|
1473 |
+
<?php foreach( $loaded_periods as $key => $value ): ?>
|
1474 |
+
<option <?php if( $period == $key ) echo "selected='selected'"; ?> value="<?php echo $key; ?>"><?php echo $value['display']; ?></option>
|
1475 |
+
<?php endforeach; ?>
|
1476 |
</select>
|
1477 |
<p class="description"><?php _e( 'How often the event should reoccur?', 'import-users-from-csv-with-meta' ); ?></p>
|
1478 |
</td>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://paypal.me/codection
|
|
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: 4.9.8
|
7 |
-
Stable tag: 1.11.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -71,6 +71,10 @@ Plugin will automatically detect:
|
|
71 |
|
72 |
== Changelog ==
|
73 |
|
|
|
|
|
|
|
|
|
74 |
= 1.11.3.10 =
|
75 |
* New hooks added thanks to Joel Frankwick in order to make possible to change default wp_mail() headers
|
76 |
|
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: 4.9.8
|
7 |
+
Stable tag: 1.11.3.11
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
+
= 1.11.3.11 =
|
75 |
+
* Now you can use the WordPress loaded schedules in the cron import instead of the three default one thanks to PM2S
|
76 |
+
* Mail cron sending fixed issues
|
77 |
+
|
78 |
= 1.11.3.10 =
|
79 |
* New hooks added thanks to Joel Frankwick in order to make possible to change default wp_mail() headers
|
80 |
|