Import users from CSV with meta - Version 1.10.6.7

Version Description

  • Bug fixed when moving file including date and time
Download this release

Release Info

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

Code changes from version 1.10.6.6 to 1.10.6.7

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.10.6.6
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
@@ -431,6 +431,8 @@ function acui_cron_process(){
431
  $path_to_move = get_option( "acui_cron_path_to_move");
432
 
433
  rename( $path_to_file, $path_to_move );
 
 
434
  }
435
 
436
  $message .= __( '--Finished at', 'import-users-from-csv-with-meta' ) . ' ' . date("Y-m-d H:i:s") . '<br/><br/>';
@@ -438,7 +440,6 @@ function acui_cron_process(){
438
  update_option( "acui_cron_log", $message );
439
  }
440
 
441
- add_action( 'acui_cron_process', 'acui_cron_process_auto_rename', 99 );
442
  function acui_cron_process_auto_rename () {
443
  if( get_option( "acui_cron_path_to_move_auto_rename" ) !== 'yes' )
444
  return;
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.10.6.7
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
431
  $path_to_move = get_option( "acui_cron_path_to_move");
432
 
433
  rename( $path_to_file, $path_to_move );
434
+
435
+ acui_cron_process_auto_rename(); // optionally rename with date and time included
436
  }
437
 
438
  $message .= __( '--Finished at', 'import-users-from-csv-with-meta' ) . ' ' . date("Y-m-d H:i:s") . '<br/><br/>';
440
  update_option( "acui_cron_log", $message );
441
  }
442
 
 
443
  function acui_cron_process_auto_rename () {
444
  if( get_option( "acui_cron_path_to_move_auto_rename" ) !== 'yes' )
445
  return;
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.8
7
- Stable tag: 1.10.6.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -70,6 +70,9 @@ Plugin will automatically detect:
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 1.10.6.6 =
74
  * Bug fixed thanks to @ov3rfly (https://wordpress.org/support/topic/wrong-path-to-users-page-after-import/)
75
  * Documentation also included in home page of the plugins thanks to suggestions and threads in forum
@@ -478,6 +481,7 @@ You can use a column called id in order to make inserts or updates of an user us
478
  = Passwords =
479
 
480
  We can use a column called "Password" to manage a string that contains user passwords. We have different options for this case:
 
481
  * If you don't create a column for passwords: passwords will be generated automatically
482
  * If you create a column for passwords: if cell is empty, password won't be updated; if cell has a value, it will be used
483
 
@@ -492,6 +496,7 @@ Plugin can import lists as an array. Use this separator: :: two colons, inside t
492
  = WordPress default profile data =
493
 
494
  You can use those labels if you want to set data adapted to the WordPress default user columns (the ones who use the function wp_update_user)
 
495
  * user_nicename: A string that contains a URL-friendly name for the user. The default is the user's username.
496
  * user_url: A string containing the user's URL for the user's web site.
497
  * display_name: A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through * obscurity (that is if you don't use and delete the default admin user).
@@ -511,6 +516,7 @@ You can upload as many files as you want, but all must have the same columns. If
511
  = Free and premium support =
512
 
513
  You can get:
 
514
  * Free support [in WordPress forums](https://wordpress.org/support/plugin/import-users-from-csv-with-meta)
515
  * Premium support [writing directly to contacto@codection.com](mailto:contacto@codection.com).
516
 
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.8
7
+ Stable tag: 1.10.6.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
70
 
71
  == Changelog ==
72
 
73
+ = 1.10.6.7 =
74
+ * Bug fixed when moving file including date and time
75
+
76
  = 1.10.6.6 =
77
  * Bug fixed thanks to @ov3rfly (https://wordpress.org/support/topic/wrong-path-to-users-page-after-import/)
78
  * Documentation also included in home page of the plugins thanks to suggestions and threads in forum
481
  = Passwords =
482
 
483
  We can use a column called "Password" to manage a string that contains user passwords. We have different options for this case:
484
+
485
  * If you don't create a column for passwords: passwords will be generated automatically
486
  * If you create a column for passwords: if cell is empty, password won't be updated; if cell has a value, it will be used
487
 
496
  = WordPress default profile data =
497
 
498
  You can use those labels if you want to set data adapted to the WordPress default user columns (the ones who use the function wp_update_user)
499
+
500
  * user_nicename: A string that contains a URL-friendly name for the user. The default is the user's username.
501
  * user_url: A string containing the user's URL for the user's web site.
502
  * display_name: A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through * obscurity (that is if you don't use and delete the default admin user).
516
  = Free and premium support =
517
 
518
  You can get:
519
+
520
  * Free support [in WordPress forums](https://wordpress.org/support/plugin/import-users-from-csv-with-meta)
521
  * Premium support [writing directly to contacto@codection.com](mailto:contacto@codection.com).
522
 
trunk/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.10.6.6
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
@@ -431,6 +431,8 @@ function acui_cron_process(){
431
  $path_to_move = get_option( "acui_cron_path_to_move");
432
 
433
  rename( $path_to_file, $path_to_move );
 
 
434
  }
435
 
436
  $message .= __( '--Finished at', 'import-users-from-csv-with-meta' ) . ' ' . date("Y-m-d H:i:s") . '<br/><br/>';
@@ -438,7 +440,6 @@ function acui_cron_process(){
438
  update_option( "acui_cron_log", $message );
439
  }
440
 
441
- add_action( 'acui_cron_process', 'acui_cron_process_auto_rename', 99 );
442
  function acui_cron_process_auto_rename () {
443
  if( get_option( "acui_cron_path_to_move_auto_rename" ) !== 'yes' )
444
  return;
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.10.6.7
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
431
  $path_to_move = get_option( "acui_cron_path_to_move");
432
 
433
  rename( $path_to_file, $path_to_move );
434
+
435
+ acui_cron_process_auto_rename(); // optionally rename with date and time included
436
  }
437
 
438
  $message .= __( '--Finished at', 'import-users-from-csv-with-meta' ) . ' ' . date("Y-m-d H:i:s") . '<br/><br/>';
440
  update_option( "acui_cron_log", $message );
441
  }
442
 
 
443
  function acui_cron_process_auto_rename () {
444
  if( get_option( "acui_cron_path_to_move_auto_rename" ) !== 'yes' )
445
  return;
trunk/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.8
7
- Stable tag: 1.10.6.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -70,6 +70,9 @@ Plugin will automatically detect:
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 1.10.6.6 =
74
  * Bug fixed thanks to @ov3rfly (https://wordpress.org/support/topic/wrong-path-to-users-page-after-import/)
75
  * Documentation also included in home page of the plugins thanks to suggestions and threads in forum
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.8
7
+ Stable tag: 1.10.6.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
70
 
71
  == Changelog ==
72
 
73
+ = 1.10.6.7 =
74
+ * Bug fixed when moving file including date and time
75
+
76
  = 1.10.6.6 =
77
  * Bug fixed thanks to @ov3rfly (https://wordpress.org/support/topic/wrong-path-to-users-page-after-import/)
78
  * Documentation also included in home page of the plugins thanks to suggestions and threads in forum