Import users from CSV with meta - Version 1.12.3.1

Version Description

  • Fatal error fixed in frontend tab
Download this release

Release Info

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

Code changes from version 1.12.3 to 1.12.3.1

addons/acui-pmpro.php CHANGED
@@ -82,9 +82,6 @@ function acui_pmpro_post_import_single_user( $headers, $row, $user_id ){
82
  if( !empty( $membership_discount_code ) && empty( $membership_code_id ) )
83
  $membership_code_id = $wpdb->get_var( "SELECT id FROM $wpdb->pmpro_discount_codes WHERE `code` = '" . esc_sql( $membership_discount_code ) . "' LIMIT 1" );
84
 
85
- if( !empty( $membership_discount_code ) && empty( $membership_code_id ) )
86
- $membership_code_id = $wpdb->get_var("SELECT id FROM $wpdb->pmpro_discount_codes WHERE `code` = '" . esc_sql($membership_discount_code) . "' LIMIT 1");
87
-
88
  //change membership level
89
  if( !empty( $membership_id ) )
90
  {
82
  if( !empty( $membership_discount_code ) && empty( $membership_code_id ) )
83
  $membership_code_id = $wpdb->get_var( "SELECT id FROM $wpdb->pmpro_discount_codes WHERE `code` = '" . esc_sql( $membership_discount_code ) . "' LIMIT 1" );
84
 
 
 
 
85
  //change membership level
86
  if( !empty( $membership_id ) )
87
  {
classes/frontend.php CHANGED
@@ -3,7 +3,7 @@
3
  if ( ! defined( 'ABSPATH' ) ) exit;
4
 
5
  class ACUI_Frontend{
6
- function admin_gui(){
7
  $send_mail_frontend = get_option( "acui_frontend_send_mail");
8
  $send_mail_updated_frontend = get_option( "acui_frontend_send_mail_updated");
9
  $role = get_option( "acui_frontend_role");
3
  if ( ! defined( 'ABSPATH' ) ) exit;
4
 
5
  class ACUI_Frontend{
6
+ public static function admin_gui(){
7
  $send_mail_frontend = get_option( "acui_frontend_send_mail");
8
  $send_mail_updated_frontend = get_option( "acui_frontend_send_mail_updated");
9
  $role = get_option( "acui_frontend_role");
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.12.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.12.3.1
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
importer.php CHANGED
@@ -711,7 +711,7 @@ function acui_options(){
711
  break;
712
 
713
  case 'frontend':
714
- ACUI_Frotend::admin_gui();
715
  break;
716
 
717
  case 'columns':
711
  break;
712
 
713
  case 'frontend':
714
+ ACUI_Frontend::admin_gui();
715
  break;
716
 
717
  case 'columns':
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: 5.0.3
7
- Stable tag: 1.12.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -74,6 +74,9 @@ Plugin will automatically detect:
74
 
75
  == Changelog ==
76
 
 
 
 
77
  = 1.12.3 =
78
  * Integration with Paid Membership Pro improved thanks to @joneiseman (https://wordpress.org/support/topic/import-paid-membership-pro-fields-not-working/#post-11110984)
79
 
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.0.3
7
+ Stable tag: 1.12.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
74
 
75
  == Changelog ==
76
 
77
+ = 1.12.3.1 =
78
+ * Fatal error fixed in frontend tab
79
+
80
  = 1.12.3 =
81
  * Integration with Paid Membership Pro improved thanks to @joneiseman (https://wordpress.org/support/topic/import-paid-membership-pro-fields-not-working/#post-11110984)
82