=== Import and export users and customers ===
Contributors: carazo
Donate link: https://codection.com/go/donate-import-users-from-csv-with-meta/
Tags: import users, export users, csv, migrate users, bulk import
Requires at least: 5.5
Tested up to: 7.1
Stable tag: 3.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Bulk import and export WordPress users and WooCommerce customers from CSV, including roles, passwords and any custom meta.

== Description ==

**Try it on a free demo site: [https://demo.tastewp.com/import-users-from-csv-with-meta](https://demo.tastewp.com/import-users-from-csv-with-meta)**

Import, export and migrate WordPress users and WooCommerce customers with a CSV file. A step by step assistant matches the columns of any file with WordPress and WooCommerce fields, shows you a preview of what will happen and imports thousands of users in batches, keeping their roles, passwords and custom fields.

✅ Tested with WordPress 7.1 and WooCommerce 11.3

✅ More than 70,000 active installations

✅ Free, with optional premium add-ons for special needs

### 🆕 New in 3.1

*   **Export WooCommerce guest customers**: the customers who bought without creating an account, with the billing and shipping details of their last order. Import the file later to create an account for each of them
*   **Transform values while importing**: replace a text ("United States" → "US"), add a prefix to phone numbers, change upper or lower case or fill empty cells, without editing the file
*   **Add a field with the same value for every user**, for data that is not in the file
*   **Choose the columns of the export** by checking them, drag them to change their order and rename them
*   **Export specific users**, searching them by email, username or name, and sort or limit the export
*   **Export to Excel (XLSX), OpenDocument (ODS) or XML** with the File Formats addon, also from the shortcode and the recurring exports
*   **History** of the last 100 imports and exports, with who made them, the file and the result

### 📥 Import users and customers

*   **Any column names, any order.** Columns like "E-mail", "Correo electrónico", "Prénom" or "Telefon" are recognised automatically in six languages, and the email column is detected by its content
*   **Preview before importing**: how many users will be created, updated or skipped, every row with an error and why, and a warning before any user is deleted. Nothing is saved until you start the import
*   **Download the rows with errors** as a CSV, fix them and import them again
*   **Update existing users** matched by ID, username or email, or skip them
*   **Keep passwords** when you migrate from another WordPress site, or generate new ones
*   **Roles**: one or several roles per user from a column of the file, or a default role
*   **Welcome email** with a customizable template, wildcards and a test button
*   **Large files** are imported in batches, so they do not time out
*   **Files saved from Excel just work**: the encoding (UTF-8 or Windows-1252) and the delimiter are detected for you
*   **Templates**: download a CSV with example data for users or WooCommerce customers
*   **From your computer, a URL, Google Sheets or a file on the server**
*   Import from the front-end with the `[import-users]` shortcode

### 📤 Export users and customers

*   Filter by role, registration date or specific users
*   Choose, order and rename the columns, or export all of them, custom fields included
*   Include WooCommerce guest customers
*   Export password hashes so users keep their passwords in another site
*   Sort the users and split big exports into several files
*   Export from the front-end with the `[export-users]` shortcode

### ⏱️ Automation

*   **Recurring import** from a file or a URL every hour, day or week, to keep your users in sync with a CRM, an ERP or any external list
*   **History** of every import and export, and a log of each recurring run
*   Hooks to extend everything: [list of actions and filters](https://codection.com/import-users-csv-meta/listado-de-hooks-de-import-and-exports-users-and-customers/)

### 🔌 Works with your plugins

*   **WooCommerce**: billing and shipping fields, and guest customers
*   **WooCommerce Subscriptions**: create subscriptions while users are imported
*   **WooCommerce Memberships** and **WooCommerce Membership by RightPress**: memberships
*   **Paid Memberships Pro** (including version 3), **Indeed Ultimate Membership Pro**, **Paid Member Subscriptions** and **WP Members**: membership levels
*   **BuddyPress**: avatars, fields, groups and roles
*   **Advanced Custom Fields**: your own fields
*   **WPML**: translated front-end pages and emails ([documentation](https://wpml.org/documentation/plugins-compatibility/import-users-from-csv-with-meta-and-wpml/))
*   **Groups**, **Users Group**, **WP Users Group** and **WP Private Content Plus**: groups
*   **New User Approve**: approve imported users or leave them pending
*   **WP LMS Course**: enroll users in courses
*   **Allow Multiple Accounts**: same rules while importing

### 💬 What users say

> "The final import of all 900+ users was quick and precise. Everything smooth like oil."
> — Paolo Beccari

> "I imported 31,000 users successfully, thanks to this plugin."
> — tbhpshop

> "I needed to import users, send them login details, and add them to specific Paid Memberships Pro membership levels, all of which it did flawlessly."
> — David Robinson

> "It even managed to import the custom roles that I created using the Members plugin."
> — Arischvaran Puvanesvaran

> "I've used this for years, importing classlists and updating classlists each term with my courses."
> — wpnovice2

> "The next morning, I had my fix in a new version. Amazing, personalized support."
> — pierre1wp

[Read all the reviews](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/reviews/)

### ⭐ Premium add-ons

*   [Allow No Email](https://import-wp.com/plugins/allow-no-email-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme): import users who do not have an email address
*   [File Formats](https://import-wp.com/plugins/file-formats-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme): import XLSX, XLS and ODS spreadsheets and XML files directly, without converting them to CSV, and export to XLSX, ODS and XML
*   [Recurring Import](https://import-wp.com/plugins/recurring-import-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme): unlimited scheduled import tasks, each with its own file, period, role and notification email, and the columns of each file mapped like in the import assistant
*   [Recurring Export](https://import-wp.com/plugins/recurring-export-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme): unlimited scheduled export tasks, each saved to a folder of your server or sent by FTP, with its own filters, sorting and columns, WooCommerce guest customers and the XLSX, ODS and XML formats of the File Formats add-on
*   [Dokan](https://import-wp.com/plugins/dokan-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme): import Dokan marketplace vendors
*   [LearnDash](https://import-wp.com/plugins/learndash-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme): move LearnDash students between sites with their groups, courses, lessons and topics completed, quiz results and completion dates

### 🧭 How it works

Go to _Tools > Import and export users and customers_ and follow the five steps:

1. **File**: choose a CSV from your computer, a URL, Google Sheets or a file in your uploads folder
2. **Columns**: check how each column will be imported, and transform values if you need to
3. **Options**: default role, existing users and welcome email
4. **Preview**: see what will happen and fix the rows with errors
5. **Import**: the users are imported in batches, and the result is saved in the history

### 🛟 Need help?

*   Read the questions below and the Documentation tab of the plugin
*   Ask in the [support forum](https://wordpress.org/support/plugin/import-users-from-csv-with-meta)
*   Premium support, migrations and custom development: [contacto@codection.com](mailto:contacto@codection.com)

### More plugins by Codection

*   [Clean Login](https://wordpress.org/plugins/clean-login/) (free): front-end login, registration and profile forms
*   [Payment Schedule for WooCommerce Subscriptions](https://import-wp.com/plugins/payment-schedule-for-woocommerce-subscriptions/) (premium)
*   [First payment date for WooCommerce Subscriptions](https://wordpress.org/plugins/first-payment-date-for-woocommerce-subscriptions/) (free)
*   [Products Restricted Users for WooCommerce](https://wordpress.org/plugins/woo-products-restricted-users/) (free)
*   RedSys, Bizum and Ceca payment gateways for [WooCommerce](https://codection.com/plugin/redsys-gateway-for-woocommerce/), [Contact Form 7](https://codection.com/plugin/redsys-gateway-for-contact-form-7/), [Gravity Forms](https://codection.com/plugin/redsys-bizum-gateway-for-gravity-forms/), [WPForms](https://codection.com/plugin/redsys-gateway-for-wpforms/), [GiveWP](https://codection.com/plugin/redsys-bizum-for-givewp/), [Easy Digital Downloads](https://codection.com/plugin/redsys-gateway-for-edd-pro/) and more (premium)

== Installation ==

1. Install **Import and export users and customers** from _Plugins > Add New_, or upload the ZIP file in _Plugins > Add New > Upload Plugin_
2. Activate it
3. Go to _Tools > Import and export users and customers_

== Frequently Asked Questions ==

= What file formats can I import? =

CSV files, in UTF-8 or in the Windows-1252 encoding used by Excel, with any delimiter (comma, semicolon, tab...). The encoding and the delimiter are detected automatically. To import XLSX, XLS or ODS spreadsheets or XML files directly, use the [File Formats add-on](https://import-wp.com/plugins/file-formats-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme).

= Can I export to Excel? =

The export creates a CSV file that Excel, LibreOffice and Google Sheets open directly. With the [File Formats add-on](https://import-wp.com/plugins/file-formats-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme-faq-export) you can also choose Excel (XLSX), OpenDocument (ODS) or XML in the "File format" option of the export, in the shortcode (`[export-users format="xlsx"]`) and in the recurring exports.

= Do my columns need special names? =

No. In the second step of the assistant you match each column with a WordPress field, a WooCommerce field or a custom field, and most columns are recognised automatically. Columns you do not need can be ignored. If you use the classic screen, the first two columns must be the username and the email.

= Can I import WooCommerce customers? =

Yes. Use columns for the billing and shipping fields (billing_first_name, billing_phone, shipping_address_1...) or match your own columns with them in the assistant. You can download a WooCommerce template with example data from the first step.

= Can I export WooCommerce guest customers? =

Yes, since version 3.1. Check "WooCommerce guest customers" in the Export tab: you get one row per billing email with the details of the last order. Emails that already belong to a registered user are skipped. If you import that file, an account is created for each guest with the email as username.

= Can I migrate users from another WordPress site and keep their passwords? =

Yes. Export the users with "Export password hashes" checked, and import the file in the new site matching the user_pass column as "Password hash (from another WordPress)". Users keep the password they already had.

= What happens with users who already exist? =

Users are matched by ID, username or email. In the third step you choose whether to update them or skip them. Their passwords, roles and emails only change if you allow it in More options.

= How are passwords managed? =

If the file has no password column, new users get a random password, which they can receive in the welcome email or change with "Lost your password?". If a cell has a value, that will be the password. Existing users only get a new password if you allow it in More options.

= Can I change some values while importing? =

Yes, since version 3.1. In the second step, use "Transform the value" under any column to replace a text, add a text before or after, change upper or lower case or set a value for empty cells. You can also add a field with the same value for every user. The preview shows the result before importing.

= Can I send a welcome email to the new users? =

Yes. The email can be customized in Settings > Mail options, with wildcards for the username, the password, the login URL and any field, and you can send a test email. You can also turn off the automatic emails of WordPress.

= How many users can I import? =

The import runs in batches, so files with tens of thousands of users can be imported without timeouts. Some users have imported more than 30,000 users at once.

= Can I import from a URL or Google Sheets? =

Yes. In the first step choose "Use a URL or a file on this server" and paste the link to the CSV, the link of a Google Sheet or a path inside your uploads folder.

= Can I schedule automatic imports? =

Yes. The Recurring tab imports a file or a URL periodically (hourly, daily, weekly...), so you can keep your users in sync with an external system. The free version has one recurring task, and its file must have the classic format (username in the first column and email in the second one). The [Recurring Import add-on](https://import-wp.com/plugins/recurring-import-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme) adds unlimited tasks, each with its own file, interval, role and notification email, and lets you map the columns of each file like in the import assistant, so it can keep its own column names and order.

The import runs as the user selected in "User that runs the cron", so it can only do what that user is allowed to do. If the settings are saved by a user who cannot edit other users (`edit_users`), the import always runs as that same user.

= Can I schedule automatic exports? =

Yes, with the [Recurring Export add-on](https://import-wp.com/plugins/recurring-export-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme).

= Can I move LearnDash students with their progress? =

Yes, with the [LearnDash add-on](https://import-wp.com/plugins/learndash-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme-faq-learndash). It exports and imports their groups, enrolled courses, lessons and topics completed, quiz attempts and completed courses with their original dates, using course and lesson titles instead of IDs, so the file also works on a new site and can be filled by hand. Old progress is imported without emailing your students.

= Can I delete the users who are not in the file? =

Yes, in More options of the third step. You can also change their role instead. The preview tells you how many users will be deleted, and nothing is deleted if the import has errors.

= Can I import users without an email address? =

WordPress requires an email for every user. The [Allow No Email add-on](https://import-wp.com/plugins/allow-no-email-addon/?utm_source=wordpress.org&utm_medium=import-users-from-csv-with-meta&utm_campaign=readme) removes that requirement.

= Can I import users with custom fields (ACF, BuddyPress, memberships...)? =

Yes. Import any custom field matching the column with "Custom field" in the assistant, or using the field name as the column header. ACF, BuddyPress, Paid Memberships Pro, WooCommerce Memberships, WooCommerce Subscriptions and the other plugins listed above have their own integrations.

= Can I import users by their WordPress ID? =

Yes, with a column matched as "WordPress user ID". If the ID exists and the username is the same, the user is updated. WordPress does not allow creating users with an ID of your choice, so IDs that do not exist give an error. Use it only if the file comes from the same site.

= Can I import serialized data and lists? =

Yes. Serialized values are imported as they are. To import a list as an array, separate the items with two colons (::) inside the cell.

= Where can I see what was imported? =

In the Log tab. History shows the last 100 imports and exports with the user, the file, the result and the errors, Backend shows the detail of the last manual import, and Recurring shows the last recurring import.

= I get a "too many redirects" error on my site, how can I solve it? =

This is caused by the option that forces the users to reset their password. When it is used, each of those users is redirected to their password page on every page load until they change it, and if that destination cannot be reached (for example, because wp-admin is blocked for customers or subscribers by WooCommerce, by a membership plugin or by a security plugin) the browser ends up in a redirection loop.

Since version 2.4.12 the plugin detects this situation and gives up after 3 consecutive redirects, so the site stays usable, but you can also clear the flag for the users that are already affected: go to the plugin documentation tab and use the button that removes the force reset password metadata from all the users.

If you want to change how many redirects are allowed before the plugin gives up, use the `acui_force_reset_password_max_redirects` filter (return 0 to disable the limit):

`add_filter( 'acui_force_reset_password_max_redirects', function( $max ){ return 5; } );`

= Which page are the users sent to when I force them to reset their password? =

By default they are sent to their WordPress profile page. If WooCommerce or WP User Manager are active, they are sent to the password section of the account page of those plugins instead. You can point them anywhere else using the `acui_force_reset_password_edit_profile_url` filter, and you can add your own exceptions (pages where the redirection must not happen) using `acui_force_reset_password_redirect_condition`.

= Can you do the import for me? =

Yes. At Codection we help you to import, migrate, synchronize or update your users. Write to [contacto@codection.com](mailto:contacto@codection.com).

= How can I report security bugs? =

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/import-users-from-csv-with-meta)

= This plugin saved me a lot of time. Can I help? =

Thank you! A review in wordpress.org helps a lot, and you can also [buy us a coffee](https://codection.com/go/donate-import-users-from-csv-with-meta/).

== Screenshots ==

1. Step 1: choose a CSV from your computer, a URL, Google Sheets or a file on the server, or start from a template
2. Step 2: the columns of any file are matched with WordPress and WooCommerce fields, values can be transformed and fields with the same value for every user can be added
3. Step 3: role of the new users, users who already exist and welcome email
4. Step 4: preview of the import, with the transformed values, the users that will be created or updated and the rows with errors
5. Result of the import
6. Export with filters, WooCommerce guest customers and the column picker
7. History of the imports and exports
8. Welcome email template

== Changelog ==

= 3.1.1 - 2026-11-15 =
*   The action acui_post_import_single_user now also receives the row number of the file as last parameter, so addons can add warnings to the right row of the import results
*   The LearnDash help of the documentation tab explains the column course_courseID_access_from more clearly and is hidden when the LearnDash addon is active
*   When LearnDash is active, the Import and Export tabs show what the new LearnDash addon does (move students with their groups, courses, lessons and topics completed, quiz attempts and completion dates). Each user can close it, and a short line stays in the sidebar of the Import tab. Nothing is shown when the addon is active
*   New actions acui_export_start and acui_homepage_sidebar_info to add content at the start of the Export tab and in the sidebar of the Import tab

= 3.1.0 - 2026-11-12 =
*   New option in the export to include WooCommerce guest customers, the customers who bought without creating an account. Each guest is exported once per billing email (emails written in upper and lower case are joined), with the billing and shipping details of their last order, the date of their first order as registration date and the customer role. Emails that already belong to a registered user and orders in the trash are skipped, and the date filter is applied to the date of the first order. It works with the new order storage (HPOS) and with the classic one (filters acui_export_guest_emails, acui_export_guest_keys and acui_export_guest_data)
*   The exported file with guest customers can be imported to create an account for each of them: in the import assistant, an empty cell in the username column now uses the email as username, in the same way as when the file has no username column, instead of generating a random username
*   New field "Specific users" in the export to search users by email, username or name and export only them. When it is used, the role and date filters are ignored
*   New options in the export to sort the users by username, user ID, email, display name or registration date, in ascending or descending order. Until now the order could only be changed in the [export-users] shortcode
*   New options in the export to skip a number of rows and to export at most a number of rows, so a big export can be split into several files. They apply to the whole file, guest customers included
*   New column picker in the export: choose between all columns or only some of them, search them, check the ones you want, drag them to change their order and write the name each column will have in the file, without having to write the list by hand. The list is still saved in the same format, so saved settings, the [export-users] shortcode and the Recurring Export addon keep working, and it can still be edited as text (filter acui_export_available_columns)
*   The new export options are saved with the rest of the export settings
*   The messages about the File Formats addon now mention XML files too, which the addon can import since its version 1.0.6
*   New History in Log > History: the last 100 imports and exports (manual, front-end and recurring imports, and exports from the backend and the [export-users] shortcode) with the date, the user, the file, the result (created, updated, deleted and skipped users, or exported rows), the number of errors and warnings, the first 20 messages and the filters used in each export. It can be cleared with a button (filters acui_history_max_entries and acui_history_entry)
*   New transformations in the column mapping of the import assistant, so the file does not have to be edited before importing it: replace a text (for example "España" with "ES" or "cliente" with "customer"), add a text before or after the value (for example "+34" before the phone numbers, not added to empty cells or to values that already have it), convert to upper or lower case, or set a value for the empty cells
*   New option in the import assistant to add a field with the same value for every user, for fields that are not in the file (for example the billing country or a custom field)
*   The preview of the import shows the transformed values and the fields with the same value for every user under the email of each row, so you can check them before importing (filter acui_wizard_mapping)
*   New "File format" option in the export and format attribute in the [export-users] shortcode. CSV is always available and, with the File Formats addon 1.1, also Excel (XLSX), OpenDocument (ODS) and XML. The delimiter is only shown for CSV (filters acui_export_formats and acui_export_convert_file, new methods ACUI_Batch_Exporter::save_export_file() and replace_extension() for the Recurring Export addon)
*   The messages about the Recurring Import addon (Recurring tab, end of an import from a URL or a path, first step of the assistant and readme) now say that it maps the columns of each file like in the import assistant, and the Recurring tab explains that its file must have the classic format and lists the accepted extensions
*   The column mapping of the import assistant can now be reused by other tools: ACUI_Wizard::build_mapped_file() applies a mapping saved by column name (with transformations and fields with the same value for every user) to a file, and ACUI_Wizard::describe_file() returns its columns, examples and suggested fields. The Recurring Import addon 1.1 uses them to map the columns of each task
*   The exported file is now sent from disk instead of being loaded in memory, with its size in the download headers
*   Local paths and URLs to import can also point to XLSX, XLS, ODS or XML files when the File Formats addon is active (until now only .csv was accepted, also in the import assistant and the recurring import). The messages list the accepted extensions

= 3.0.0 - 2026-11-12 =
*   New import assistant in five steps: file, columns, options, preview and import. It is the default screen for the import, and the classic screen can be used with the "Switch to classic mode" link (the choice is saved for each user)
*   Column mapping: the columns of the file can have any name and any order. Each column is matched with a WordPress field (username, email, password, names, role, website, registration date, language, user ID...), a WooCommerce billing or shipping field, a custom field with the name you choose, or it can be ignored
*   Explanations under the password, password hash and role fields in the column mapping: what happens with empty cells, with new users and with existing users. A column called password whose values look like encrypted passwords is suggested as a password hash, so they are not imported as plain text passwords by mistake
*   The field of each column can be searched by typing, by its name or by its internal key (for example "city" or "billing_city"), and the key is shown next to each field
*   Automatic detection of the columns by their name in English, Spanish, French, German, Italian and Portuguese, of the email column by its values, and of the classic format with the username in the first column and the email in the second one
*   If the file has no username column, the email can be used as username or a random username can be generated
*   Preview of the import: number of users that will be created, updated or skipped, the rows with errors and the reason, how many users not present in the file will be deleted or have their role changed, and a warning when they will not be deleted because some rows have errors. Nothing is saved until you start the import
*   The rows with errors can be downloaded as a CSV file to fix them and import them again
*   Files that are not saved in UTF-8 (like the CSV files saved by Excel in Windows-1252) are converted, so accents and other special characters are no longer lost when using the assistant
*   Role of new users in the assistant: if a column of the file is imported as role, the assistant says that each user gets the role of that column. If not, you choose between the default role of the site (Settings > General) and one or more roles of your choice, so users can no longer be created without any role by accident when the default role setting was empty
*   The options of the import are grouped in "Main options" (default role, users who already exist, emails and empty cells) and "More options", which opens automatically if the deletion or the role change of users not present in the file is active
*   When the file comes from a URL or a path on the server, the assistant reminds that it can be imported automatically for free from the Recurring tab, and explains what the Recurring Import addon adds: unlimited tasks, each with its own schedule, role and rules, an email when each run finishes and a list to manage them. The same information appears after an import from a URL or a path. If the addon is already active, both places link to a new recurring import task instead
*   Compatible with the File Formats addon (XLSX, XLS and ODS) and with the Allow No Email addon, which makes the email column optional
*   New filters for developers: acui_wizard_active, acui_wizard_targets, acui_wizard_aliases, acui_wizard_email_required and acui_wizard_file_encoding
*   Clearer choice of where the file comes from: "Upload from your computer", with an area where you can drag the file and that shows the accepted formats and the chosen file, or "Use a URL or a file on this server", with examples for a link to a CSV, Google Sheets and a file inside uploads.
*   CSV templates with example data to download from the first step of the import and from the Documentation tab: basic users, WooCommerce customers (when WooCommerce is active) and an empty one with only the headers. They use example.com addresses and the roles of your site, and they open correctly in Excel. Add-ons can add their own templates with the filter acui_csv_templates
*   More robust saving of the uploaded file: if it cannot be moved to the private folder inside uploads, the plugin tries to copy it and then uses a private folder inside the temporary folder of the server. If everything fails, the error shows the folders tried and the real reason given by the server (for example, a full disk quota) instead of "The uploaded file could not be saved"
*   Tools > Site Health: new section in the Info tab with the private folder, the alternative folder, the maximum upload size and the last problem saving an uploaded file (folders tried and messages from the server), and a check in the Status tab that warns when an alternative way had to be used. It can be copied and sent to the hosting provider or to the support forum
*   Clear messages when the upload itself fails: file larger than the maximum upload size (with the limit and what to do), partial upload, missing temporary folder or disk write error
*   Fixed the saved path or URL of the file: anything that was not a URL was turned into a broken URL (for example "http://directly%20a%20file%20from%20your"), and paths with spaces were saved with %20 so the file could not be found. Now only values starting with http:// or https:// are saved as URLs, and broken values saved by previous versions are not shown
*   The test.csv sample file included in the plugin now uses example.com addresses instead of realistic names and emails
*   The styles and scripts of the plugin are now loaded with the date of each file as version, so the browser and the caches always use the latest ones after an update
*   The import screen can now be used on mobile devices: the sidebar is placed below the form on small screens
*   After an import that creates or updates users without errors, a message asks if you want to leave a review on WordPress.org. It can be postponed for 30 days or closed forever, and it is never shown again once you answer (filter acui_show_review_notice)
*   Fixed the message about the Allow No Email addon at the end of an import, which was hidden by the styles of the plugin since version 2.5.11

= 2.5.14 - 2026-11-11 =
*   Security: the files of the export in batches and the CSV files uploaded for a manual import are no longer saved in the root of the uploads folder. They are now saved in a private folder with a random name inside uploads, protected with .htaccess, web.config and index files, so they cannot be downloaded from the browser even while the process is running (reported by Ankesh Singh)
*   Security: the names of these files are now random (wp_generate_password) instead of being based on uniqid(), which depends on the time
*   Security: the files left behind by an export or an import that was not finished (closed tab, error in the browser...) are now removed by an hourly scheduled task after 6 hours (filter acui_private_files_max_age). The task also removes the files left in the root of the uploads folder by previous versions, and everything is removed when the plugin is deactivated
*   When a new manual import starts, the file uploaded for the previous import of the same user is removed if it was not finished
*   The path of the uploaded file is no longer sent to the browser during the import
*   The exported file is downloaded with a name that includes the date instead of the internal random name (filter acui_export_download_filename)
*   New option "Export password hashes" in the export screen to choose if the user_pass column with the hashed passwords is included. It is checked by default, so nothing changes if you never saved it. When it is unchecked, user_pass is not exported even if it is in the Columns field. In the shortcode it is the attribute export_password_hashes="no", and the filter acui_export_password_hashes can be used too

= 2.5.13 - 2026-11-01 =
*   Fixed the recurring import running the first batch again and again without end when the data of the previous batch was not available in the next one, which also made the cron log grow until the settings page could not be loaded. This happened mainly in sites with a persistent object cache, because the batch data was saved in transients
*   The data shared between batches is now saved in a non autoloaded option of each import, which works with or without an object cache, and it is removed when the import ends
*   If the data of the previous batch cannot be found, the import is stopped with an error in the log instead of starting again from the first row
*   The log of each cron run is limited to 1 MB (filter acui_cron_log_max_size) and is no longer autoloaded
*   Manual imports in batches of different users no longer share the same batch data

= 2.5.12 - 2026-10-30 =
*   Security: saving the cron task settings now checks every permission before storing anything, so a request that is rejected can no longer leave part of its settings saved
*   Security: when the cron task was configured by a user who cannot promote users, the unattended runs no longer reuse the role permission saved by a previous administrator

= 2.5.11 - 2026-10-29 =
*   When some rows are skipped because they have no email, the import result now says how many and that the Allow No Email addon can import them
*   Uploading an XLSX, XLS or ODS file now explains that the File Formats addon can import it, instead of only saying that the file type is not valid
*   The import screen now mentions the Dokan addon when Dokan is active
*   New "Premium addons" section in the plugin description
*   Links to the premium addons now include campaign parameters to know which ones are useful
*   Fewer links in the plugin row of the Plugins screen: the coffee and premium support links are only in the sidebar of the import screen, and the RedSys and Ceca gateways link only appears on sites in Spanish or with a WooCommerce store based in Spain
*   The Import link in the Plugins screen is only shown to users who can import, and the Import and Export links no longer change the order of the other links of the row
*   Fixed a malformed jQuery selector in the users option of Tools > Export

= 2.5.10 - 2026-10-29 =
*   Security fix (path traversal and file deletion): the batch importer trusted the file path sent back by the browser on every step, so a user allowed to import users could point it to a CSV outside the uploads folder and read its processed rows in the import log, or have a file whose name contained "acui-import-" deleted when the import finished. The path is now resolved and validated only on the first step and kept on the server for the rest of the batches, and only the temporary file created from an upload is deleted (reported by Rafael Honorato (honorato0))
*   Security fix (SQL injection): the Paid Memberships Pro addons built the query that marks a membership as inactive by concatenating the membership_id column of the CSV. The query is now prepared with integer placeholders (reported by Rafael Honorato (honorato0))
*   Security fix (stored XSS): the from and to attributes of the [export-users] shortcode were checked with a regular expression that only looked for a date anywhere in the value, and the attributes were printed in the hidden fields of the form without escaping, so a contributor could save a post with a from value like 2024-01-01"><svg onload=...> and run JavaScript in the browser of an administrator previewing it. The dates must now be exactly YYYY-MM-DD and every attribute is escaped (reported by dzaku)
*   Fixed the to attribute of the [export-users] shortcode, which was always ignored because of a typo (reported by dzaku)
*   The [import-users] and [export-users] shortcodes now show a short notice to users who cannot create users instead of stopping the whole page with wp_die(), so a post containing them no longer breaks the page or the REST API for other visitors (reported by dzaku)
*   The acui_export_shortcode_button_text filter now really changes the text of the export button

= 2.5.9 - 2026-10-23 =
*   Security fix (privilege escalation): a subscriber could store profile values ending with a NUL byte so that, when a user with import and export permissions exported the users and imported the generated CSV again, the closing quote of that cell was read as escaped and the rest of the value was parsed as new columns and rows, for example a row with their own username and the administrator role. The exporter now removes NUL bytes from every cell and, on PHP 7.4 or newer, the CSV is written and read without escape character (RFC 4180), so a cell can never break out of its quotes
*   Fixed the PHP 8.4+ deprecation notice about the str_getcsv() escape parameter when detecting the delimiter of the CSV file
*   Extra profile fields: new "Keep fields from previous files?" option, when it is checked the columns of a new CSV are added to the list of extra profile fields instead of replacing it, so there is no need to include empty columns for fields that the new users do not use
*   Extra profile fields: every field of the list can now be removed individually, the values already saved for each user are kept

= 2.5.8 =
*   New bbPress addon
*   Force password change: when BuddyPress (with the Settings component) or bbPress is active, users are now sent to their front-end settings page (BuddyPress) or profile edit page (bbPress) instead of wp-admin/profile.php, so the back end can stay private. The URL can still be changed with the `acui_force_reset_password_edit_profile_url` filter
*   Force password change: the flag is now removed whenever the user really changes their password, from any place (BuddyPress settings, bbPress, WooCommerce My Account, the lost password form...), not only from wp-admin/profile.php
*   Force password change: the "Please change your password" notice is also shown on the BuddyPress settings page and the bbPress profile edit page

= 2.5.7 =
*   Security fix (account takeover): the 2.5.6 fix closed every role-assignment path, but a user with only `create_users` could still save the Cron tab with their own "Path or URL of file that is going to be imported" and let the recurring import run with the privileges of an administrator. The scheduled run and "Run now" without session switched to the user selected in "User that runs the cron" (or to the first administrator when none was selected), so every per-user check in the importer passed: a CSV row with an existing administrator's username and a password reset that account's password, and the administrator running the cron could be taken over by matching its email and adding a `user_email` column. The Cron tab now records who saved it, and when that user cannot `edit_users` the import always runs as that same user (the scheduled run, "Run now" and "Run now" without session), and the "User that runs the cron" selector only offers their own account. "Run now" without session also takes the role-assignment decision from the user who configured the task instead of from the user who clicks the button

= 2.5.6 =
*   Security fix (privilege escalation hardening): a user with only `create_users` could still change other users' roles without `promote_users`. Saving the Cron tab now requires `promote_users` to set "Update roles for existing users?" to anything other than "No" or to enable "Change role of users that are not present in the CSV" (until now only the target role was checked, so the option could be enabled while keeping a previously stored role). The importer also no longer removes the existing roles of updated users when the user running the import cannot assign roles, which previously left them with no role when no role was being assigned

= 2.5.5 =
*   The "Update roles for existing users?" option in the Cron import tab is now a selector with the same three choices as the manual importer: "No", "Yes, update and override existing roles" and "Yes, add new roles and do not override existing ones". Until now it was a checkbox that could only override the existing roles, so recurring imports had no way to add the roles from the CSV while keeping the ones users already had. Existing settings are kept: a checked box is read as "Yes, update and override existing roles" and an unchecked one as "No"
*   Fixed "Yes, add new roles and do not override existing ones" still replacing the roles of existing users on multisite when the row had no role to assign (no `role` column and role assignment disabled): the user was re-added to the current site as Subscriber, which removed the roles they already had there. Existing members of the site now keep their roles in that case, and only users that are not yet members of the site are added as Subscriber

= 2.5.4 =
*   Security fix (privilege escalation): batched imports (both the manual "Import" tab, which runs in batches once the file is large enough, and the recurring Cron import) resumed the next batch with `SplFileObject::seek()`, which counts physical lines in the file, while the resume position handed between batches was a count of CSV records. Any exported column whose value can contain a newline — for example the Biographical Info profile field, which is editable by every role and stored verbatim by WordPress core — could make those two counts diverge once such a value was present before the batch boundary. When they diverged, the next batch could resume in the middle of an open quoted field, and the remaining lines that a user had put inside that one cell were then parsed as top-level CSV records in their own right, under the importing administrator's own role/password-assignment capabilities. The resume position is now the exact byte offset (`ftell()`/`fseek()`) at which the last fully parsed CSV record ended, so a batch can only ever resume at a genuine record boundary

= 2.5.2 =
*   Security fix (privilege escalation): the role-assignment guards in the importer honoured a `caller_can_promote_users` value taken straight from the submitted form data instead of checking the current user's capability. That value is only legitimate on the Action Scheduler cron path, where it is derived from a capability at schedule time; on every request-driven import path (the manual backend importer and the AJAX batch import action the plugin UI uses) the form data is the raw request, so a user with only `create_users` could add `caller_can_promote_users=1` to the request themselves and get the `administrator` role applied, including to their own account. The pre-recorded decision is now only trusted on the cron path; every request-driven path re-derives it from the current user's own capabilities (reported by yzx001)
*   Security fix (privilege escalation): the front-end shortcode importer's "change role of users that are not present in the CSV" feature read the `acui_frontend_change_role_not_present` / `acui_frontend_change_role_not_present_role` options with no capability check of its own, and those options could be set by anyone able to reach the settings screen, which is gated only on `create_users`. A user with only `create_users` could point the option at `administrator` and then run the front-end importer to promote every existing editable-role user omitted from the CSV to administrator. Saving those two options now requires `promote_users`, matching the equivalent Cron tab option, and the front-end import path now also requires `promote_users` before honouring the option at run time (reported by BINESH MADHARAPU)

= 2.5.3 =
*   Fixed the `[export-users]` shortcode's `columns` attribute whitelist (added in 2.5.1 to allow the `key=>Label` renaming syntax) still stripping the whole attribute to empty when the custom label contained accented or other non-ASCII letters (for example `columns="first_name=>Prénom"`), since the whitelist only matched plain ASCII letters

= 2.5.1 =
*   Fixed the `[export-users]` shortcode dropping the `columns` attribute when it used the `key=>Label` renaming syntax (for example `columns="user_email=>Email,first_name=>First name"`), which caused all columns to be exported instead of just the selected ones. The `=` and `>` characters were not part of the shortcode attribute's whitelist and made it get sanitized down to an empty value

= 2.5 =
*   Security hardening: exporting users is now gated by its own `acui_export_capability` filter (default `edit_users`) instead of sharing the `acui_capability` filter used by import. Previously, any site that lowered `acui_capability` to give a role import-only access (for example, to `add_users`) was also handing that same role access to the Export tab and its download/save endpoints, since both checks resolved to the exact same filter call with no way to tell them apart. The Export tab, its nav link, the plugin list "Export" action link and the export AJAX/download handlers now check the new filter independently, so an import-only role stays import-only unless the new filter is explicitly overridden
*   The "Update existing users?" section on the Import tab now hides the "Update emails?", "Update roles for existing users?" and "Update passwords for existing users?" fields when "Update existing users?" is set to "No", since they have no effect in that case

= 2.4.18 =
*   Security fix (privilege escalation): the CSV exporter writes fields with the NUL character as the escape character (`fputcsv(..., '"', "\0")`), but the importer's `SplFileObject::fgetcsv()` calls were passing only the delimiter, which silently kept PHP's default backslash escape character. Any registered user able to save their own profile could set `display_name` to a value ending in a comma and a backslash (e.g. `a,\`) and `nickname` to a value starting and ending with a comma around a role name (e.g. `,administrator,q`). When an administrator later used the plugin's own Export tab and re-imported that file with "Update existing users" and "Update roles for existing users" both set to "yes" — the plugin's documented backup/migration workflow — the escape mismatch merged the `display_name` cell into the `role` column and split the `nickname` cell, so the parsed role column for the attacker's own row read exactly `administrator`, and the administrator's own authorized import call applied it. The importer's `fgetcsv()` calls now use the same explicit escape character as the exporter, so no combination of profile field values can shift the parsed column boundaries
*   Security fix (hardening): as defense in depth for the same code path, assigning the `administrator` role during an import now additionally requires the `create_users` capability (not only `promote_users`) on the account running the import. This does not change behavior on sites using the plugin's own default access gate, but stops a future column-shift bug — or a site that has lowered the `acui_capability` filter to allow non-administrators to run imports — from being able to deliver an `administrator` role assignment through a CSV. Other roles present on the same row are unaffected; only `administrator` is dropped (with a warning) when `create_users` is missing

= 2.4.17 =
*   Security fix (privilege escalation): the 2.4.16 fix only closed the literal `acui_fire_cron_no_session` no-session action; it did not close the same gap on a genuinely unattended run of the recurring import (an Action Scheduler queue tick, with no `$caller_can_promote_users` argument at all). A user with only `create_users` could leave the Cron tab's default role empty (so the `promote_users` gate on that field was never tripped), point the recurring import at an attacker-controlled CSV with its own `role` column set to `administrator`, and activate it. On the next unattended tick, the execution user still falls back to the site's first Administrator, and the per-row role check evaluated that substituted Administrator's own capability rather than the capability of whoever had actually configured the task, so the CSV-supplied `administrator` role was applied. Whether an unattended cron run may apply any role, including one carried in the CSV's own role column, is now decided by the `promote_users` capability of the user who last saved the Cron tab settings, recorded at save time, instead of being re-derived from the (possibly substituted) execution user at run time
*   Security fix (privilege escalation): the manual backend import ("Import" tab) only required `create_users` to run at all, but let the request also enable "delete users not present" and "change role of users not present" without holding `delete_users` or `promote_users` respectively — the same gap that the Cron tab already had fixed in 2.4.15. Both options on the manual import now also require the matching capability

= 2.4.16 =
*   Security fix (privilege escalation): the 2.4.15 fix gated the Cron tab's stored default role and execution user, but not the "Run now" no-session action (`acui_fire_cron_no_session`) itself, nor the role that a CSV row can carry in its own role column. A user with only `create_users` could still save an attacker-controlled file path (not gated by `promote_users`) and trigger that no-session run, which clears the current user and falls back to the site's first Administrator; the per-row role check then saw that substituted Administrator's capabilities instead of the actual caller's, so a role of `administrator` delivered through the CSV itself (rather than the stored default) was still accepted. The role assignment check on every cron-triggered run, including multi-step batches, now uses the capability of the user who actually triggered the run instead of the capability of the substituted execution user

= 2.4.15 =
*   Security fix (privilege escalation): saving the Cron tab settings (`acui_cron_save_settings`) checked only the shared plugin nonce and, for the "User that runs the cron" field, that the selected user held the same broad menu capability (`create_users` by default) as whoever was saving. This let a user with `create_users` but not `promote_users` (or `delete_users`) select an Administrator as the execution identity, set the default role to `administrator`, or enable "delete users not present"/"change role of users not present", and then trigger the "Run now" no-session action, which runs the import with no logged-in user and falls back to the site's first Administrator. The `promote_users` check on role assignment and the missing capability checks on user deletion and role change only saw that substituted Administrator, not the actual caller, so a delegated importer could create a new Administrator account or delete/demote existing users. The Cron tab now requires `promote_users` to set a default role, to set the "change role of users not present" role, or to select an execution user that itself has `promote_users`, and requires `delete_users` to enable "delete users not present"
*   Security fix (hardening): the same settings are also now rejected outright (instead of silently ignored) when the current user lacks the required capability, so a misconfigured attempt fails loudly rather than saving a partial, inconsistent state

= 2.4.14 =
*   Improvement: the "Path or URL of file that is going to be imported" field (manual import and Cron tab) now explains right on screen that a local path must be located inside the WordPress uploads folder, and shows the actual folder path of the site
*   Improvement: added a "Check path" button next to that field to verify, before saving or running the import, whether the entered path or URL will be accepted, and why not otherwise
*   Improvement: saving the Cron settings now shows a warning notice when the configured path is not a valid local path (wrong extension, file not found, or outside the uploads folder), instead of only failing silently at the next scheduled run
*   New: added the `acui_allowed_local_csv_base_dirs` filter so a developer can whitelist extra local base folders for the CSV path (e.g. a folder an external process writes to), without disabling the underlying security check added in 2.4.3
*   Security fix (hardening): importing a CSV from a remote URL (manual import and Cron tab) now blocks link-local (`169.254.0.0/16`, including the cloud metadata endpoint `169.254.169.254`) and carrier-grade NAT (`100.64.0.0/10`, `198.18.0.0/15`) hosts, and re-validates every redirect hop against the same SSRF blocklist instead of letting `download_url()` follow redirects unchecked. This closes the same class of Server-Side Request Forgery that was already fixed for the BuddyPress/BuddyBoss `bp_avatar` import in 2.4.3/3.x, but that fix had not been applied to the main CSV-by-URL import path

= 2.4.13 =
*   Improvement: the role errors during the import now say exactly what is wrong instead of always blaming permissions. The row is checked role by role and the message tells which single role failed and why: the role does not exist (and lists the roles that can be used), the role exists but the current user is not allowed to assign it (and lists which ones they can), or the role column is empty on that row. Before, a role that simply did not exist was reported as *"You do not have permission to assign some of the next roles"* whenever the "update roles of existing users" option was set to "no", because the "role does not exist" check was skipped in that case, and both messages printed the whole list of roles of the row instead of the offending ones
*   Improvement: when the CSV carries the name of the role (`Conference`) instead of its slug (`conference_member`), the error now points to the right slug instead of only saying that the role does not exist
*   Fix: roles whose slug contains uppercase letters (created that way by some role editor plugins) can be imported again. The values of the `role` column were lowercased but compared against the role slugs as they are stored, so those roles were always rejected as non existing or invalid
*   Fix: `ACUI_Helper::get_editable_roles()` uses `wp_roles()` instead of reading the `$wp_roles` global directly, which could still be uninitialized in cron or front end imports, leaving the list of editable roles empty and making every role of the CSV fail
*   Fix: a `role` cell containing the `::` list separator no longer produces a fatal error when the row is prepared

= 2.4.12 =
*   Fix: the "force users to reset their password" option no longer produces "too many redirects" errors. The redirection ran on every front end page load and only stopped when the add-on condition matched exactly, so any setup where the destination could not be reached or recognized (wp-admin blocked for customers by WooCommerce or a membership plugin, a My account URL that did not match the `home_url()` string comparison because of trailing slashes, www, https or a language prefix, an account page built with blocks or a page builder instead of the shortcode...) sent the user back and forth forever. The redirection is now skipped when the user is already on the destination URL, it does not run on AJAX, REST, cron, XML-RPC or non GET requests, and a counter stops it after 3 consecutive redirects (filterable through the new `acui_force_reset_password_max_redirects` hook) so the worst case is that the password change is not enforced instead of the site being unreachable

= 2.4.11 =
*   Security fix: the mail options save handler no longer writes to arbitrary posts. The `template_id` form field was passed straight to `wp_update_post()` without checking the post type or `current_user_can( 'edit_post' )`, so a user with only the `create_users` capability could overwrite the title and the content of any post or page of the site (and inject arbitrary CSS through the `<style>` tag the email editor allows) just by changing that hidden field. The plugin now validates that the id belongs to an `acui_email_template` post the current user is allowed to edit, and shows a warning notice instead of saving when it does not (reported by Averon Averenkov (averonsec.com))
*   Security fix (hardening): the email attachment id sent from the mail options form is now validated as a real media library file before being stored, instead of being saved as an option and as a post meta of the email template straight from the form field
*   Fix: WooCommerce columns (`billing_*` and `shipping_*`) are imported again. The 2.4.9 security fix blocked every field returned by `acui_restricted_fields` from being saved as user meta, but that filter is public and add-ons extend it, so the 20 WooCommerce customer fields (and any field added by a third party through that filter) stopped being imported. The sensitive keys are now listed apart in `ACUIHelper()->get_forbidden_meta_fields()`, filterable through the new `acui_forbidden_meta_fields` hook, and `acui_restricted_fields` goes back to being only about column mapping
*   Fix: the WooCommerce Subscriptions add-on no longer tries to create a subscription for rows that carry no subscription data at all, which produced a bogus "Could not create subscription: Invalid subscription billing period" error on every imported row when the CSV had no subscription columns. It now returns early unless at least one of its columns is present and filled in the row
*   Fix: the results table no longer breaks with a "DataTables warning: Requested unknown parameter" message when WooCommerce Subscriptions is active. The add-on added two columns to the table header but printed its cells from `acui_post_import_single_user`, which runs after `print_row_imported()` has already closed the `<tr>`, so those cells fell outside the row and every row was two columns short. There is a new `acui_row_table_extra_rows` action to print cells inside the row, and the add-on now prints exactly two cells per row (one for the warnings and one for the errors) instead of one cell per message
*   Security fix (hardening): the check that blocks sensitive keys (`wp_capabilities`, `wp_user_level`, `role`, `Username`, `Email`) from being written as user meta during the import is now case insensitive, so a column header like `WP_Capabilities` cannot get through it

= 2.4.10 =
*   Security fix: the `acui_delete_attachment` AJAX handler now really blocks the deletion when the attachment is not a `text/csv` file. The mime type check only printed a warning and then deleted the file anyway, so a user with the `create_users` capability could delete any attachment of the media library (images, PDFs...) and not only the CSV files the plugin manages (reported by Averon Averenkov (averonsec.com))
*   Improvement: removed `classes/csv-uploaded.php`, a leftover copy of `classes/tools.php` (same code, class renamed) whose GUI was never called but which still registered the `acui_delete_attachment` and `acui_bulk_delete_attachment` AJAX handlers a second time
*   Security fix (hardening): the AJAX handlers that fire the cron import task (`acui_fire_cron`, `acui_fire_cron_no_session`), remove the email attachment (`acui_mail_options_remove_attachment`) and send the test email (`acui_send_test_email`) now check `current_user_can()` in addition to the nonce, matching the rest of the plugin's AJAX endpoints. They were relying on the nonce alone for authorization (reported by Averon Averenkov (averonsec.com))
*   Security fix: the `#action_assign_post` column now checks `current_user_can( 'edit_post', $post_id )` before reassigning the post author, and silently skips any post id that fails the check. Previously a user with only the `create_users` capability could take over the authorship of any post on the site (including admin-authored ones) just by putting its id in that column (reported by Averon Averenkov (averonsec.com))

= 2.4.9 =
*   Security fix: during CSV import, unrecognized column headers no longer write to arbitrary user meta via `update_user_meta()` without an authorization check, and sensitive keys (`wp_capabilities`, `wp_user_level`, `role`, `Username`, `Email`) are now hard-blocked from this fallback path. Previously a user with only the `create_users` capability (e.g. a Shop Manager, or any role delegated CSV-import rights) could escalate their own account to Administrator by uploading a CSV with a `wp_capabilities` column

= 2.4.8 =
*   Fix: email matching during import (`maybe_update_email()`) now normalizes both the stored and CSV emails with `strtolower(trim())` before comparing, so a case difference (e.g. `John.Doe@Example.com` vs `john.doe@example.com`) no longer triggers a false "email changed" event, unnecessary `wp_update_user()` calls, or duplicate account creation
*   Improvement: when the plugin creates a new account because the CSV email didn't match an existing user (the `create` update-emails option), the new account's username is now derived from the row's `first_name`/`last_name` when available (e.g. `JohnDoe`, with `JohnDoe2`, `JohnDoe3`... on collision) instead of always falling back to an opaque `duplicated_username_XXXXXX` login
*   Improvement: the BuddyPress/BuddyBoss `bp_member_type` CSV column is now matched case-insensitively against the header row, consistent with how `password`/`user_pass` are already matched
*   Docs: documented the BuddyPress/BuddyBoss `bp_member_type` (Profile Type) import/export column, which was previously undocumented in the in-plugin help text

= 2.4.7 =
*   Fix: the `role` column now correctly trims leading/trailing spaces from each comma-separated value (e.g. `executive_member, tracker_exclude`). The previous code called `array_walk( $roles_cells, 'trim' )`, which is a no-op because `trim()` does not modify its argument by reference, so roles with a stray space (as commonly added by spreadsheet tools like Google Sheets) were silently treated as invalid and ignored
*   Fix: the Groups add-on (`group_id`/`group_name` columns) now also trims each comma-separated value before matching it against an existing group, avoiding the same issue when assigning multiple groups per user

= 2.4.6 =
*   Security fix: custom profile field values (Tools > Show fields in profile) are now sanitized with `sanitize_text_field()` before being stored as user meta in `save_extra_user_profile_fields()`, closing a stored XSS vector where a low-privileged user (e.g. Subscriber) could stash an HTML/JS payload in a custom column (reported by Luca Laytynher (LyT))
*   Security fix: the CSV export "Some values have been altered" results notice now escapes the user id, column key and value with `esc_html()` before being rendered, preventing a stored XSS payload from executing in the administrator's browser via `export.js`'s `.html()` insertion (reported by Luca Laytynher (LyT))

= 2.4.5 =
*   Security fix: the BuddyPress/BuddyBoss `bp_avatar` CSV import no longer falls back to a raw `file_get_contents()` call for values that are neither a numeric attachment ID nor an `http(s)` URL, closing an arbitrary local file read / PHP stream wrapper vector (e.g. `file:///etc/passwd`, `php://filter`) (reported by Binesh Madharapu)
*   Security fix: the `bp_avatar` remote URL fetch now disables automatic redirect following and re-validates every redirect hop against the same SSRF blocklist used for the initial URL, preventing an attacker-hosted URL from bypassing the gate via a 3xx redirect to an internal or cloud metadata address (reported by Binesh Madharapu)

= 2.4.4 =
*   Security fix: the BuddyPress/BuddyBoss `bp_avatar` CSV import now also rejects link-local (`169.254.0.0/16`), carrier-grade NAT (`100.64.0.0/10`, `198.18.0.0/15`) and other private IP ranges after resolving the URL's host, closing the remaining part of the SSRF where `wp_safe_remote_get()` alone still allowed requests to the cloud metadata endpoint `169.254.169.254` (reported by Binesh Madharapu)

= 2.4.3 =
*   Security fix: the BuddyPress/BuddyBoss `bp_avatar` CSV import now fetches remote URLs with `wp_safe_remote_get()` instead of `file_get_contents()`, preventing a Server-Side Request Forgery that let an admin-supplied URL make the server request internal hosts, cloud metadata endpoints, or scan internal ports (reported by Binesh Madharapu)
*   Security fix: the manual importer's `path_to_file` field (Tools > Import and export users and customers) now requires a local path to have a `.csv` extension and to resolve inside the WordPress uploads directory, closing an arbitrary file read that allowed reading server files such as `/etc/hosts`, logs or config files (reported by Centesiman)

= 2.4.2 =
*   Security fix: added `current_user_can('promote_users')` check (plus filtering against the actor's editable roles) before applying any role during import, preventing a user with only `create_users` from creating or promoting an account to Administrator
*   Security fix: added `current_user_can('edit_user', $user_id)` check before the raw `user_pass` hash and any other `wp_users` core field (e.g. `user_email`) reach the database for an existing user during import
*   Security fix: added `current_user_can('edit_user', $user_id)` check before an existing user's email is changed via `wp_update_user()` when updating users by matching username

= 2.4.1 =
*   Security fix: the `acui_email_template_selected` AJAX handler now requires `edit_others_posts` (filterable via `acui_capability`) and verifies the requested post's `post_type` is `acui_email_template`, preventing a low-privilege authenticated user (e.g. Subscriber) from using the endpoint to read the title/content of arbitrary posts, including drafts and private posts, by ID
*   Security fix: added the same capability check to `acui_refresh_enable_email_templates` AJAX handler
*   Security fix: the `codection-security` AJAX nonce is no longer generated on admin screens the current user isn't allowed to act on

= 2.4 =
*   Security fix: added `current_user_can('edit_user', $user_id)` check before every `wp_set_password()` call during import, preventing a user with `create_users` access from resetting passwords of accounts they are not authorised to edit
*   Security fix: DataTables (2.2.2) and Select2 (4.1.0-rc.0) are now bundled locally in the plugin's assets directory instead of being loaded from external CDNs, eliminating the dependency on cdn.datatables.net and cdn.jsdelivr.net in wp-admin

= 2.3.9 =
*   Fixed fatal error "array_intersect(): Argument #1 must be of type array, bool given" in async cron step 2+ when the roles_appeared transient had expired

= 2.3.8 =
*   Fixed batch import stopping after 99 users instead of 100 in the first step (header row was counted against the batch limit)
*   Fixed "Row does not have the same columns as the header" errors in steps 2+ when transient data was lost (cache flush, plugin conflict): header is now re-read from the CSV file as a fallback
*   Fixed PHP warnings for undefined array keys "errors" in helper.php (line 211) and foreach on bool in helper.php (line 362) caused by expired transients returning false

= 2.3.7 =
*   Fixed fatal error in Advanced Custom Fields addon when a multiple-value field already arrives as an array instead of a string (explode() type error)

= 2.3.6 =
*   Redesigned the Log tab: import results are now shown as visual summary cards (Processed / Created / Updated / Deleted / Issues) at the top of the page
*   Unified the live import view and the Log tab: both now use the same card layout so the experience is consistent
*   The Issues card turns amber in real time while errors are found during import
*   Errors, warnings and notices are displayed in a collapsible section with colour-coded badges per type (error, warning, notice)
*   The import rows table is now collapsed by default in the Log tab to keep the page clean; DataTables initialises lazily when the section is expanded
*   Backward-compatible: existing logs stored in the old format continue to render correctly

= 2.3.5 =
*   Fixed a bug where the export shortcode ignored the columns attribute when field names contained spaces (e.g. BuddyBoss xProfile fields with multi-word names)

= 2.3.4 =
*   Log tab now has two sub-tabs: Backend (last manual import) and Recurring (last recurring import)
*   Recurring import results are now saved separately and displayed independently from manual import results
*   Log options use autoload false to avoid loading large HTML on every page load
*   Added self-healing mechanism: if the recurring import task is dropped from Action Scheduler (e.g. after a database cleanup or plugin update), it is automatically rescheduled on the next admin page load

= 2.3.3 =
*   Improved compatibility with PHP 8.x
*   New checkbox in every user to exclude from export

= 2.3.2 =
*   Improved date visualization
*   Recurring import health status now shows whether an import task is currently running in the background

= 2.3.1 =
*   Fixed an error in cron execution

= 2.3 =
*   Ready for WordPress 7.0
*   UI improved
*   New settings in cron tab

= 2.2.3 =
*   Fixed a cron execution issue where the user who configured the cron task was not the one executing the cron import

= 2.2.2 =
*   Security issues fixed

= 2.2.1 =
*   Added a health status sidebar to the Cron tab showing whether the task is registered in Action Scheduler, the next scheduled run time, and the outcome of the last execution

= 2.2 =
*   New "Execution log" sub-tab under Import → Recurring that shows the history of the last 100 recurring import executions (date, file, users created/updated/deleted/ignored, errors, steps)
*   Fixed a bug where download errors from URL-based CSV files showed an undefined variable instead of the actual error message
*   Fixed recurring import incorrectly allowing email updates on existing users due to a mismatched form key (`allow_update_emails` vs `update_emails_existing_users`)
*   Fixed `maybe_enable_wordpress_core_emails` never actually re-enabling the filters, because anonymous closures cannot be removed with `remove_filter`
*   Fixed batch transients being shared across concurrent imports (manual + cron running simultaneously could corrupt each other's data); each cron execution now uses an isolated session key
*   Increased batch transient TTL from 15 to 60 minutes to reduce the risk of expiry on large imports
*   Added null-safety guards when loading batch transients in step 2+, preventing fatal errors if a transient had expired
*   The `ignored` user count is now tracked in the results array and propagated correctly across batch steps

= 2.1.1 =
*   Fixed a bug that prevented the “Apply only to users previously imported by this plugin” option from being saved
*   Fixed a problem with the width of a select field

= 2.1 =
*   Redesigned admin UI: import and export tabs reorganised with secondary navigation, accordion-style import form, and improved sidebar
*   New option to apply "users not present in CSV" actions only to users previously imported by this plugin

= 2.0.10 =
*   Fixed an error in standard import

= 2.0.9 =
*   Fixed two security issues

= 2.0.8 =
*   Fixed an issue when choosing to move the file after import in the cron tab

= 2.0.7 =
*   An issue with the cron import task has been resolved; now, each step processes 100 rows or runs for 29 seconds by default

= 2.0.6 =
*   Fixed an error, included a file in the trunk

= 2.0.5 =
*   Fixed an issue where Action Scheduler hooks interfered with automatic imports and plugin deactivation

= 2.0.4 =
*   Included a way to change time limit and batch size from wp-config without generating an error

= 2.0.3 =
*   Fixed a problem showing errors, warnings and notices when the CSV file was small

= 2.0.2 =
*   Fixed a problem in cron import
*   The plugin will now never change the password of the user uploading the file, to prevent the user from accidentally being logged out

= 2.0.1 =
*   Improved compatibility with PHP 8.x
*   New hooks added

= 2.0 =
*   Importing is now performed in steps, allowing files of any size to be processed.
*   Datatables have been added to some tables to improve the UX.
*   The Action Scheduler library has been updated to the latest version.
*   Hooks that did not follow the acui_ naming pattern have been renamed to comply with it.
*   When selecting columns to export, any extra spaces between column names are ignored to prevent issues when retrieving the meta key.
*   Improved security.

= 1.29.7 =
*   Ready for WordPress 6.9

= 1.29.6 =
*   Fixed a warning

= 1.29.5 =
*   New hooks added to allow to define users that should never be deleted or their role changed

= 1.29.4 =
*   Documentation improved

= 1.29.3 =
*   Fixed a problem when exporting in the frontend
*   Fixed a problem when saving settings of the export in the backend

= 1.29.2 =
*   Fixed a problem when deleting users

= 1.29.1 =
*   Fixed a problem when exporting in the frontend

= 1.29 =
*   Fixed a problem when exporting a huge list of users when the process was stopped without finishing and an attempt was made to restart
*   Improved the performance of the export
*   Improved compatibility with latest versions of PHP

= 1.28.6 =
*   Bug fixed, included the new file in the repository

= 1.28.5 =
*   Ready for WordPress 6.8
*   Improved GUI with a new tab with the old CSV uploaded info

= 1.28.4 =
*   Fixed the export when selecting alphabetical order
*   Fixed a fatal error in certain imports using certain roles
*   Fixed a problem selecting no_role

= 1.28.3 =
*   You can now choose to delete or change the role of users that do not appear in the CSV but only of the role(s) that have appeared in the import

= 1.28.2 =
*   Fixed the export in the frontend using the shortcode when there is no role parameter

= 1.28.1 =
*   Fixed a problem with select2 enqueue
*   Fixed the export in the frontend using the shortcode

= 1.28 =
*   The export dialog now allows the use of several roles
*   Improved role selection interface on user import page

= 1.27.16 =
*   PMPro addon now import startdate and enddate with hours, minutes and seconds if needed

= 1.27.15 =
*   Including the possibility of changing field names when exporting fields

= 1.27.14 =
*   Fixed a problem with long exports created in the previous version

= 1.27.13 =
*   The name of the exported file has been anonymized so that no attacker can brute force the file while it is being generated and before it is downloaded to obtain information

= 1.27.12 =
*   Fixed the Melapress Login Security plugin, included compatibility with version 2.0

= 1.27.11 =
*   Fixed a bug that throws an error when trying to import an incomplete class to a user meta

= 1.27.10 =
*   Fixed a bug that creates a warning

= 1.27.9 =
*   Two new buttons have been added to the user window to access import and export directly

= 1.27.8 =
*   Fixed another problem with the Melapress Login Security addon

= 1.27.7 =
*   Ready for WordPress 6.7
*   Fixed a problem in the link of email template in main import tab
*   Action Scheduler now is only loaded if it is necessary
*   Fixed another problem with the Melapress Login Security addon

= 1.27.6 =
*   Fixed a problem with the Melapress Login Security addon

= 1.27.5 =
*   More variables sanitized

= 1.27.4 =
*   Fixed a problem with some roles that were able to execute in backend but not using the shortcode in frontend
*   Every export has an unique filename

= 1.27.3 =
*   Fixed some warnings

= 1.27.2 =
*   Improved the way the cron result log is shown
*   Fixed some typos

= 1.27.1 =
*   New version of ActionScheduler included

= 1.27 =
*   Improved many messages of the plugin, thanks to the great help from Pierre Darmon who has completely revised the plugin’s messages and helped us to make it more understandable and professional, for us non-native English speakers.
*   Fixed a problem that could create errors when trying to export data when there was a saved object

= 1.26.10 =
*   Improved the compatibility with Google Docs/Drive spreadsheet exported as CSV

= 1.26.9 =
*   CSVs are now never saved as WordPress attachments, even if they are later deleted, they are now read directly from temporary paths

= 1.26.8 =
*   Ready for WordPress 6.6
*   Fixed a problem when the first row of an CSV contains symbols like :: that makes the plugin think this is an array

= 1.26.7 =
*   Included new sanitization checks

= 1.26.6.1 =
*   Readme updated

= 1.26.6 =
*   Fixed a problem changing roles of users not present in current CSV using standard import
*   Included new checks

= 1.26.5 =
*   New hooks added to improve extensibility with emails
*   Improved documentation in the BuddyPress/BuddyBoss addon

= 1.26.4 =
*   Improved the BuddyPress/BuddyBoss addon to include a mechanism to facilitate the calculation of the visibility of user fields that have been imported new

= 1.26.3 =
*   We now use unserialize with the allowed_classes flag set to false instead of maybe_unserialize to avoid any possibility of PHP code execution from CSV

= 1.26.2 =
*   Improved usability with some links

= 1.26.1 =
*   Ready for WordPress 6.5

= 1.26 =
*   Included compatibility with version 3 of Paid Membership Pro
*   Included a new filter to filter a specific data in the export: acui_export_data_$key where $key is the specific value of the column for that value.

= 1.25.2 =
*   Including a conditional check to prevent WooCommerce from being declared active if it is not active because it has been forcefully deactivated 

= 1.25.1 =
*   On the home page, for importing users we now show the buttons to start the process or save the settings at the top, to facilitate cases where the same options are used repeatedly

= 1.25 =
*   You can now use multiple user download buttons on the front end. Each with its own options.

= 1.24.8 =
*   Changed the way charsets are converted
*   Fixed a problem in select2 selector with AJAX call
*   Fixed an issue when passing the value of which user to assign tickets to when users are deleted

= 1.24.7 =
*   Cron call using endpoint of REST-API now can only be done by users that can create users

= 1.24.6 =
*   Included new options in the shortcode to export users

= 1.24.5 =
*   Fixed a problem with a preg_match detecting commas

= 1.24.4 =
*   Improved the way input strings are treated to UTF-8
*   Variables displayed in the shortcode are cleaned up before printing to allow only correct values for them

= 1.24.3 =
*   In the cron settings, when it comes to URLs or paths, if it comes to paths and any with a different ending than ".csv" is included, we return a blank string to avoid problems

= 1.24.2 =
*   Fixed a problem when choosing to delete users not present in the CSV that caused more users to be deleted than it should

= 1.24.1 =
*   Improved multisite support, multiple roles can now be added to sites instead of just one as before

= 1.24 =
*   Included ActionScheduler for cron task
*   Added the word 'all' to use in the column named 'blogs' in multisite installation, users it will be added to all the blogs in the network
*   Rewritten a large part of the user importer to improve the code and make it more modular and maintainable.
*   Improved compatibility with PHP 8.2
*   Fixed typos

= 1.23.5 =
*   Ready for WordPress 6.4
*   New shortcode import-users, we keep the old one, import-users-from-csv-with-meta, to assure compatibility 
*   Fixed an issue with the export users shortcode not working when the theme did not load jQuery in the front end
*   Including the possibility to choose a comma-separated list of user roles when using the export in the front end using a shortcode

= 1.23.4 =
*   Replaced the blanks in the label identifiers in the "Custom profile fields" with underscores to make the generated identifiers valid, the identifiers are also converted to lowers
*   New option in export tab that allow you to export arrays as separated list of values, separated by commas; it will only work with: 1 dimension arrays with correlative indexes that does not contain inside any WP_Error object
*   Save settings problem in Export tab fixed

= 1.23.3 =
*   Export preferences are now saved when an export is executed
*   New button to save export preferences without having to run an export

= 1.23.2 =
*   Fixed a problem that caused that in certain installations with some data when exporting, an error appeared that stopped the process.

= 1.23.1 =
*   The plugin now supports reading external files directly created from Google Drive using export CSV option in URL

= 1.23 =
*   The plugin now supports reading external files using a URL when a path is chosen for importing

= 1.22.9 =
*   BuddyPress/BuddyBoss documentation improved
*   Advanced Custom Fields (ACF) addon now includes the ability of uploading images

= 1.22.8 =
*   Fix a problem when importing BuddyPress/BuddyBoss data in some installation where the class BP_Groups_Member did not exists
*   New hook to be able to update users without mail

= 1.22.7 =
*   Fix a problem when exporting users that ignores the convert timestamp to dates setting thanks to @little_bird for reporting
*   Improved the use of the ACUI_Helper with new methods that call directly the instance

= 1.22.6 =
*   Now when you create a customer importing it, it will also appear in wc_customer_lookup table
*   Ready for WordPress 6.3

= 1.22.5 =
*   Removed a duplicated hook thanks to @ko31
*   Ready for WordPress 6.2.2

= 1.22.4 =
*   Fixed a bug in export when all columns were selected

= 1.22.3 =
*   When choosing columns to export, the spaces at the beginning and end of each chosen column are now removed to avoid problems such as "user_login, user_email" not returning data in the second column because the " user_email" column did not exist as such.

= 1.22.2 =
*   Fixed a problem that appeared when you chose to delete users not present in the CSV and at the same time checked do not update users. Users that already existed were not updated and were not marked not to delete, so they were deleted incorrectly.

= 1.22.1 =
*   Addon for MelaPress Login Security improved
*   Transient with users created, updated, deleted and ignored added after import

= 1.22 =
*   Ready for WordPress 6.2
*   New addon for MelaPress Login Security, now when a user is registered and this plugin is activated, if the option of "Reset password in first login" of the MelaPress Login Security is activated, it will be applied the same for new users imported as it were created manually
*   Changed delimiter to import checkbox values in BuddyPress/BuddyBoss, instead of using commas, now the delimiter is ## to avoid problems with values that include commas

= 1.21.7 =
*   New filter added to allow to override the default roles that cannot be updated by the plugin
*   Fixed problem that makes appears title "Extra profile information" when there were no fields to show

= 1.21.6 =
*   Changed the way that BuddyBoss is detected in BuddyPress Addon to avoid problems with paths

= 1.21.5 =
*   New hooks added in documentation
*   Documentation tab improved

= 1.21.4 =
*   Included a new way to manage the passwordreseturl wildcard in emails

= 1.21.3 =
*   Fixed warning about not defined default value in settings class
*   Now the date filter when exporting users is inclusive, so that the days selected in the search are included in the search and not excluded as before
*   Fixed a problem in export that sometimes generate problems different number of columns in headers and in every user
*   Fixed a problem with the keys to reset password of users included in the emails

= 1.21.2 =
*   Improved compatibility with ACF, now the fields of type image or file, generate in the export a new field, with the suffix _url where to show the url of the content and not only the identifier of the attachment in the database as before that was not representative.
*   Improved user interface

= 1.21.1 =
*   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

= 1.21 =
*   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
*   You can use now all the wildcards in subjects that were available in body
*   Fixed some issues when exporting data using filtered columns, now source_user_id is filled correctly

= 1.20.6 =
*   Fixed a problem with BuddyBoss when exporting users if groups were getting used

= 1.20.5 =
*   Improved the way the plugin sanitize values when exporting data to avoid any formula (for spreadsheets) to be exported

= 1.20.4 =
*   Improved error handling to avoid the use of wp_die in some error handling and allow for better UX.

= 1.20.3.1 =
*   When choosing a file to import in the frontend import, the name of the file appears, this is something that was lost in yesterday's graphical improvement of this part of the import

= 1.20.3 =
*   Changed the way the button to choose files in the import from front end is displayed to make it easier to apply styles to it
*   Improved error detection when importing users from the front end

= 1.20.2 =
*   Improved section on forcing password reset, including new explanations in the documentation and a tool to reset user data in case a redirection loop problem is encountered

= 1.20.1 =
*   Fixed an issue that caused the new import screen to be displayed as part of the import results screen
*   Improved the way this plugin displays with the other WordPress export tools
*   Notice improved when an email exists in the system with other username

= 1.20 =
*   New settings API in plugin
*   Settings API working in backend import (in other tabs it will be working in next versions)
*   Fixed a mispelling in texts
*   New hook to manage if a email is sent to an user (https://wordpress.org/support/topic/stop-sending-mail-for-a-specific-role/#post-15932034)

= 1.19.3.1 =
*   Added a message when an email already exists in the system but is used by a different user than the one indicated in the CSV
*   Fixed error in documentation when WooCommerce Subscriptions was active

= 1.19.3 =
*   Now you can choose to delete roles when importing (creating or updating) users
*   Fixed problem with select2.js in homepage tab

= 1.19.2.7 =
*   Fixed issue in BuddyPress integration when exporting data

= 1.19.2.6 =
*   Default values in select change to user the "safer" choice when assigning default values

= 1.19.2.5 =
*   Ready for WordPress 6.0
*   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
*   Roles are now translated when showing

= 1.19.2.4 =
*   Fixed a notice in the new user page if you are using custom fields created by the plugin

= 1.19.2.3 =
*   Improved the WooCommerce addon when working with force reset new password

= 1.19.2.2 =
*   Fixed an issue in the export function when using the BuddyPress addon and not all columns are exported.

= 1.19.2.1 =
*   Escaped all exists to prevent any XSS execution after CSV import

= 1.19.2 =
*   New hooks added to override the button text in both shortcodes import and export
*   New addon for WP Private Content Plus to import and export the groups to which users are assigned
*   Revised WPML support

= 1.19.1.10 =
*   New hook added in export before deleting the file from the server

= 1.19.1.9 =
*   Improved some labels to avoid misunderstandings with email options, thanks to @blakemiller

= 1.19.1.8 =
*   Fixed warnings in "Meta keys" tab

= 1.19.1.7 =
*   New hooks added to homepage tab to include more options using addons

= 1.19.1.6 =
*   New hooks to filter username and password of every users being imported

= 1.19.1.5 =
*   Improved BuddyBoss compatibility, now when we include class-bp-xprofile-group.php, we check if BuddyPress is the plugin active or BuddyBoss

= 1.19.1.4 =
*   Changed appearence of some buttons in the right panel
*   Included new strings to localize 

= 1.19.1.3 =
*   Improved ACF addon, now you can use relationships with IDs in addition to slugs 

= 1.19.1.2 =
*   Fixed fatal error 

= 1.19.1.1 =
*   Fixed warning in screen with import results
*   Ko-fi donation link added

= 1.19.1 =
*   Export now allow to choose which columns export also in "Export" tab and not only in frontend

= 1.19 =
*   New class to create diffent HTML elements to standarize plugin code
*   Different fixes in export function to avoid errors
*   New secondary tab section prepared

= 1.18.4.4 =
*   Force version update

= 1.18.4.3 =
*   New hook added: do_action( 'acui_after_import_users', $users_created, $users_updated, $users_deleted, $users_ignored ); with 3 variables passed with a list of user IDs with users created, updated, deleted and ignored in the process
*   Fixed bad error thrown when empty role was selected in error

= 1.18.4.2 =
*   Fixed bug in batch_exporter when using PHP 8

= 1.18.4.1 =
*   Fixed bug in batch_exporter that could create fatal errors on executing

= 1.18.4 =
*   Improved problem when deleting users, if errors happens but they are notices, we can delete now. Many of the users who have problems with deleting users not present in CSV, was created by the old conditional that checked any kind of error (including notices).

= 1.18.3 =
*   Problem solved converting data that has a format date but that is not wanted to be converted, to timestamps when exporting
*   Fixed problems in standard import, in very big databases, there was a problem creating the list of users to assign deleted posts, now this list is created and managed using select2 and AJAX to improve performance and usability

= 1.18.2.3 =
*   Problem solved converting timestamps when exporting
*   If an error raise in the server while exporting, instead only showing the error in the console, we throws an alert to improve user experience

= 1.18.2.2 =
*   Included a note to prevent misunderstandings when testing emails

= 1.18.2.1 =
*   Tested up to 5.8.1
*   Fixed problem with roles export

= 1.18.2 =
*   New hooks added to manage extra profile fields
*   Problem solved in BuddyPress addon

= 1.18.1 =
*   Fixed problem after 1.18 when exporting users

= 1.18 =
*   Export in backend and frontend now works using step by step process using client calls to avoid gateway timeouts and other kind of timing limits in very long process
*   Addon for WP User Manager improved to avoid redirection loop

= 1.17.9 =
*   Export now can be ordered using an attribute in the shortcode

= 1.17.8.4 =
*   Bug fixed in WP User Manager addon

= 1.17.8.3 =
*   Export shortcode parameter column now also defines the order of the columns

= 1.17.8.2 =
*   Password documentation updated
*   New hooks added for filtering from and to user_registered date in export acui_export_user_registered_from_date and acui_export_user_registered_to_date

= 1.17.8.1 =
*   Ready for WordPress 5.8

= 1.17.8 =
*   Array with string keys now can be imported using this syntax inside your CSV cell: key1=>value1::key2=>value2::key3=>value3
+   Improved the way that "Extra profile information" is shown in users profiles to be able to show arrays without notices

= 1.17.7 =
*   New option in export to prevent problems when exporting serialized values: serialized values sometimes can have problems being displayed in Microsoft Excel or LibreOffice, we can double encapsulate this kind of data but you would not be able to import this data beucase instead of serialized data it would be managed as strings

= 1.17.6.3 =
*   Fixed bug in WP User Manager addon

= 1.17.6.2 =
*   Objects in CSV can now be printed using serialization

= 1.17.6.1 =
*   Force users to reset their passwords is also compatible with WP User Manager forms
*   Improved the way data to replace is searched preparing the emails
*   Improved the way some data is shown to prevent notices from array to string conversions

= 1.17.6 =
*   Now you can filter the columns that are going to be exported using the shortcode and the attribute columns

= 1.17.5.7 =
*   Email templates are being sent translated in the current WPML language if column locale is not set
*   Warning fixed in ACF addon

= 1.17.5.6 =
*   Frontend force reset password fixed

= 1.17.5.5 =
*   Frontend settings GUI improved
*   Force users to reset their passwords after login also available for frontend import
*   Fixed issue created in 1.17.5.4 saving options in frontend when import started

= 1.17.5.4 =
*   Solved this issue https://wordpress.org/support/topic/password-gets-changed/
*   Solved this issue https://wordpress.org/support/topic/users-without-an-email-address-are-imported/
*   Others issues solved

= 1.17.5.3 =
*   You can now force the users to reset their passwords after login if you have changed the password in the import
*   Some code improvements

= 1.17.5.2 =
*   New hooks into shortcode form to enable include actions from there

= 1.17.5.1 =
*   New action class introduced to make easier to use options into the plugin
*   Path to file in homepage tab, now it is saved to prevent to rewrite it in every import

= 1.17.5 =
*   Fixed problems importing avatar from WP User Avatar
*   Avatars using WP User Avatar can now be exported
*   Some code improvements

= 1.17.4.4 =
*   Problems importing BuddyPress Groups solved

= 1.17.4.3 =
*   BuddyPress member type import fixed
*   Little improvement in export GUI

= 1.17.4.2 =
*   Frontend import email now can have a list of custom recipients, different to admin email

= 1.17.4.1 =
*   Process import results shown in a table at the end of process

= 1.17.4 =
*   New shortcode to export users

= 1.17.3.6 =
*   Fixed problem importing ACF multiple select field type, thanks to @lpointet

= 1.17.3.5 =
*   Fixed warning on export

= 1.17.3.4 =
*   Tested up to 5.7
*   New method to fix error when a WP_Error appear into an array, when the array is being printed

= 1.17.3.3 =
*   Improved messages when deleting users not present in CSV
*   Fixed error when a WP_Error appear into an array, when the array is being printed

= 1.17.3.2 =
*   Improved BuddyPress group management when importing, now you can remove users from a group
*   Improved BuddyPress import, now you can use group ids and not only group slugs

= 1.17.3.1 =
*   New filter to override default permission_callback in rest-api method to call cron

= 1.17.3 =
*   New feature added actions, now you can assign posts while you are importing users
*   Code improvements

= 1.17.2.1 =
*   Addon included for WP User Manager - WPUM Groups
*   BuddyPress addon improved

= 1.17.2 =
*   New addon included for WPML
*   Email templates are being sent translated if you use the "locale" column in your CSV, so every user will receive the email translated in their own langauge

= 1.17.1.6 =
*   Warning solved, it appears sometimes importing in strtolower operation over roles

= 1.17.1.5 =
*   Bugs fixed exporting users

= 1.17.1.4 =
*   Roles are always managed as small letters to minimize problems writing them
*   Fixed bug exporting metadata that are objects
*   Included new filter in prepare export value

= 1.17.1.3 =
*   Fixed bug in mail templates when wp_editor is disabled

= 1.17.1.2 =
*   In multisite, default role is subscriber if this is not set

= 1.17.1.1 =
*   In multisite, user is added to current blog with role subscriber if user choose to no update roles but the user does not exist there

= 1.17.1 =
*   New errors, warnings and notices reporting methods
*   DataTable used to improve data visualization

= 1.17.0.4 =
*   Included an addon for LearnDash to explain how to proceed with an import of students 

= 1.17.0.3 =
*   Fixed problem with BuddyPress addon and BP_Groups_Member class

= 1.17.0.2 =
*   New version released

= 1.17.0.1 =
*   Bug fixed importing users

= 1.17 =
*   Many code changes, making it simpler to include more features and make it easier to debug in a future
*   Export bug fixed: the plugin exports an empty role column that breaks the CSV
*   You can now test cron task from the "Cron" settings tab   

= 1.16.4.1 =
*   Fixed problem in "Mail options" that does not allow to remove attachments

= 1.16.4 =
*   You can choose what to do with users that being updated, their email has changed: you can update it, skip this user, or create a new user with a prefix

= 1.16.3.6 =
*   When you are exporting data we scape every first data if it starts with a +, -, =, and @ including a \ to prevent any unwanted formula execution in a spreadsheet that will be working with the CSV

= 1.16.3.5 =
*   New option in standard import to choose if passwords should be updated when updating users

= 1.16.3.4 =
*   Export data can now be ordered alphabetically

= 1.16.3.3 =
*   Extra profile fields now can be used also when registering a new user

= 1.16.3.2 =
*   Username now can be empty, in this case, we generate random usernames
*   Code improvements

= 1.16.3.1 =
*   BuddyPress/BuddyBoss avatar can now be imported
*   Code improvements

= 1.16.3 =
*   Now you can use HTML emails
*	Code improvements

= 1.16.2 =
*	Email sending function created
*   Test email button included

= 1.16.1.5 =
*	Fixed problem importing ACF textarea and other type fields

= 1.16.1.4 =
*	Fixed problem importing ACF text fields

= 1.16.1.3 =
*	BuddyPress member type is now included in the export

= 1.16.1.2 =
*	Usability improve when using delete users not present in CSV (change role options is disabled because they can't run)
*   Performance optimization, if user is deleted, it cannot be tried to change role

= 1.16.1.1 =
*	New wildcards included in emails for WooCommerce: woocommercelostpasswordurl, woocommercepasswordreseturl and woocommercepasswordreseturllink

= 1.16.1 =
*	Multisite check and fix issues
*   Addon to include compatibility included Paid Member Subscriptions by Cozmoslabs thanks to Marian Lowe

= 1.16 =
*	Code is being rewritten to make it easy to update
*   New filter added to override the necessary capatibily to use the plugin

= 1.15.9.2 =
*	We try to make the plugin compatible with BuddyPress related themes and plugins that uses their functions but they are not BuddyPress really
*   Problems exporting file when a site is behind CloudFare fixed

= 1.15.9.1 =
*	You can now export data from BuddyPress groups
*   BuddyPress addon is now a class instead of different methods

= 1.15.9 =
*	You can now export data from BuddyPress fields

= 1.15.8.1 =
*	Added shipping_phone as non date key to avoid datetime conversion

= 1.15.8 =
*	REST API endpoint added to execute cron calling the site remotely

= 1.15.7.4 =
*	Problems with apostrophes solved

= 1.15.7.3 =
*	Tested up to WordPress 5.5
*	Improvements in timestamp data export

= 1.15.7.2 =
*	UTF-8 fixed exporting users

= 1.15.7.1 =
*	Bug fixed: after importing new customers, new WooCommerce tables was not populated properly and they were not shown in the "Customers" list into WooCommerce, thanks for reporting @movementoweb (https://wordpress.org/support/topic/usuarios-importados-con-rol-de-cliente-customer-no-se-muestran-en-woocommerce/)

= 1.15.7 =
*	Addon included to import data defined by WooCommerce Custom Fields by Rightpress

= 1.15.6.8 =
*	Cron import fixed. It failed because of get_editable_roles was not declared in cron import
*	Check if role exists in order to show a better message when importing

= 1.15.6.7 =
*	A non-user admin could delete himself automatically deleting users not present in CSV (thanks again to @nonprofitweb https://wordpress.org/support/topic/non-admin-user-can-delete-self/#post-12950734)
*	Improved "Users only can import users with a role that they allowed to edit" thanks also to @nonprofitweb
*	Forms has now classes to be able to customize the way they are shown using CSV thanks again to @nonprofitweb

= 1.15.6.6 =
*	Added multiple hooks to filter all about emails being sent when importing
*	Included new variables in hooks that already exists in emails being sent when importing

= 1.15.6.5 =
*	Users only can import users with a role that they allowed to edit (thanks to @nonprofitweb https://wordpress.org/support/topic/import-user-with-higher-role/)

= 1.15.6.4 =
*	Now you can use variables also in Subject, thanks to @vbarrier (https://wordpress.org/support/topic/use-variables-also-in-subject/)

= 1.15.6.3 =
*	Problems with roles being updated that should not be updated in multisite fixed

= 1.15.6.2 =
*	Export checkbox included to avoid conversion to date format to prevent problem with some data converted that should not be converted

= 1.15.6.1 =
*	ACF addon now append values instead of replacing it

= 1.15.6 =
*	ACF compatibility included

= 1.15.5.13 =
*	var_dump forgotten
* 	Up to version updated

= 1.15.5.12 =
*	Bug fixed in BuddyPress importer
*	Little improvement in extra profile fields

= 1.15.5.11 =
*	Deletion process performance improved
*	Now you can specify if only want to delete users of specified role using a new attribute in the frontend import

= 1.15.5.10 =
*	Extra profile fields now can be reseted

= 1.15.5.9 =
*	Array to string conversion fixed in emails being sent
*	Problems importing data from WooCommerce Membership fixed (thanks to grope-ecomedia)

= 1.15.5.8 =
*	Export improved to avoid more data to be exported as date
*	Tested up to WordPress 4.0

= 1.15.5.7 =
*	List of hooks created and included

= 1.15.5.6 =
*	In export, now user id is called "source_user_id" to avoid problems importing

= 1.15.5.5 =
*	Groups can be now imported by their name instead only of their ids

= 1.15.5.4 =
*	Bug fixed in frontend import, roles being updated when it shouldn't be updated thanks to @widevents for reporting (https://wordpress.org/support/topic/change-role-of-users-that-are-not-present-in-the-csv-works-without-ckeckbox-on/)

= 1.15.5.3 =
*	Email notification can be sent to administrator of the website when someone use the frontend importer
*	Code improvement

= 1.15.5.2 =
*	Bug found on export fixed

= 1.15.5.1 =
*	MailPoet addon included (in previous we forgot to include the file)

= 1.15.5 =
*	MailPoet addon added to include users in list when they are being imported

= 1.15.4.4 =
*	New filter to override message when file is bad formed

= 1.15.4.3 =
*	Duplicate email error thrown updating users

= 1.15.4.2 =
*	New filters added

= 1.15.4.1 =
*	Double email fixed

= 1.15.4 =
*   WooCommerce Subscriptions importer included to create subscriptions at the same time you are importing users
*	New hooks added
*	Code improved

= 1.15.3.6 =
*   New shortcut into WordPress importer and exporter default tools to find this one easier

= 1.15.3.5 =
*   Bug fixed in "Mail options"

= 1.15.3.4 =
*	You can now use WordPress default user edited and created emails when importing users
*	WooCommerce Membership by RightPress compatibility included, now you can assign users to their plan while they are being imported

= 1.15.3.3 =
*	WooCommerce Membership addon improved, now you can only assign users to a plan using the membership_plan_id

= 1.15.3.2 =
*	Bug fixed

= 1.15.3.1 =
*	Role included in export
*   test.csv improved
*	Different code improvements

= 1.15.3 =
*	Multisite compatiility improved now you can assign users to blogs after import

= 1.15.2.3 =
*	Fixes some issues exporting date and time values

= 1.15.2.2 =
*	Part of the code of frontend has been rewritten to improve readibility
*	New options in frontend upload

= 1.15.2.1 =
*	Changed name into repository to describe better what plugin does
*	Frontend shortcode now accepts role parameter

= 1.15.2 =
*	You can now select which delimiter is used in the CSV exports and also you can choose the date time format in date time and timestamps date

= 1.15.1.1 =
*	You can now filter users that are being exported by role and user registered date

= 1.15.1 =
*	New tab with a list of all meta keys found in the database, with the type of it and an example to be able to use it in your imports

= 1.15.0.1 =
*	Only users who can create users, can export them

= 1.15 =
*	Export option included

= 1.14.3.10 =
*	Changed the way HTML emails are declared to prevent problems with plugins like WP HTML Mail

= 1.14.3.9 =
*	Included compatibility with WP User Avatar to import avatar images while the import is being executed, thanks to the support of cshaffstall.com

= 1.14.3.8 =
*	user_login and show_admin_bar_front are included as WordPress core fields to avoid showing it as custom meta_keys thanks to 
Michael Finkenberger

= 1.14.3.7 =
*	New filters added to custom message shown in log or regular import
*	Last roles used are remembered in import, to avoid you have to choose all time different roles

= 1.14.3.6 =
*	Fixed a problem with a nonce that was bad named

= 1.14.3.5 =
*	Removed some tags when printing log in cron job
*	Improved error message with Customer Area Addon

= 1.14.3.4 =
*	Fixed other problem thanks to @alexgav (https://wordpress.org/support/topic/issue-in-cron-import-tab/)

= 1.14.3.3 =
*	Fixed some problems thanks to @alexgav (https://wordpress.org/support/topic/issue-in-cron-import-tab/)

= 1.14.3.2 =
*	Added CSS to fix table mobile view

= 1.14.3.1 =
*	Problems uploading users from fronted fixed

= 1.14.3 =
*	Filter added to fix CSV files upload problems

= 1.14.2.12 =
*	Typos fixed thanks to https://wordpress.org/support/topic/typo-in-the-settings-page/

= 1.14.2.11 =
*	Problem using "Yes, add new roles and not override existing one" was fixed

= 1.14.2.10 =
*	Change period was not working if you did not deactivate first the cron job, now it is solved and you can do it without deactivating cron job

= 1.14.2.9 =
*	Role default problem fixed thanks for all the one who notice the bug

= 1.14.2.8 =
*	Addon to import groups of Customer Area Managed Area included

= 1.14.2.7 =
*	Removed old code parts from SMTP settings that now are not available and could create warnings

= 1.14.2.6 =
*	Problem fixed deleting old CSV files

= 1.14.2.5 =
*	Problem fixed in cron job

= 1.14.2.4 =
*	HTML problems fixed

= 1.14.2.3 =
*	Global variable with url of plugin removed

= 1.14.2.2 =
*	More nonces included

= 1.14.2.1 =
*	Directory traversal attack prevented

= 1.14.2 =
*	Authenticated Media Deletion Vulnerability fixed in acui_bulk_delete_attachment
*	Nonces incorporated in different AJAX and forms to improve security
*	Media type of media deleted check to avoid problems deleting files
*	SMTP configuration removed completely, we recommend to use a SMTP plugin if you need it in the future, this part was deprecated some versions ago
*	plugins_url() now is well called so images, files and other assets will be shown properly in all cases
*	Data is sanitized always to prevent security and user problems

= 1.14.1.3 =
*	XSS problem fixed when displaying data imported

= 1.14.1.2 =
*	New Spanish hosting partner included
*	Link added to new review

= 1.14.1.1 =
*	We have changed some empty() check to === '' check, to avoid problems with values like blank spaces (thanks to https://wordpress.org/support/topic/not-importing-fields-with-just-spaces/#post-11597406)

= 1.14.1 =
*	Compatibility with Groups plugin (https://es.wordpress.org/plugins/groups/)

= 1.14.0.9 =
*	WP-CLI does not manage our previous version
*	New tab "New features" added

= 1.14.0.8.1 =
*	Bug fixed

= 1.14.0.8 =
*	**passwordreseturllink** shows reset password url with a link in HTML

= 1.14.0.7 =
*	Filter improved to avoid strange characters in emails

= 1.14.0.6 =
*	Notice fixed from last change

= 1.14.0.5 =
*	Role now is not required when importing

= 1.14.0.4 =
*	Fix to save email options bug (that appeared in last version)

= 1.14.0.3 =
*	Security fixes to prevent Reflected Cross Site Scripting (XSS) and Cross Site Request Forgery (CSRF), thanks to Application Security for reporting

= 1.14.0.2 =
*	get_users used memory improved filtering fields returned, thanks to @shortcutsolutions (https://wordpress.org/support/topic/import-page-no-longer-has-submit-button/#post-11309862)

= 1.14.0.1 =
*	Echo removed from class to prevent message on activation

= 1.14 =
*	Options management improved
*	GUI improved
*	Now you can change the role of users that are not in the CSV file thanks to California Advocates Management Services

= 1.13.2 =
*	Attachments in email templates and mail options now can be deleted thanks to Joel Frankwick

= 1.13.1 =
*	Email templates loads also the attachment in Mail options when they are selected thanks to Joel Frankwick

= 1.13 =
*	Now you can delete users that are not in the CSV file, not only when you are doing an import based on a cron task, but also when you do it from the dashboard or with the shortcode in the frontend thanks to mojosolo.com
*	Documentation improved
*	Bug fixed
*	Tested up to 5.1

= 1.12.6.2 =
*	Notices fixed
*	Some file deleted and some urls fixed

= 1.12.6.1 =
*	Plugin is now compatible with plugins that change login url, thanks to @2candela2 (https://wordpress.org/support/topic/make-it-compatible-with-plugins-that-change-login-url/)

= 1.12.6 =
*	wpml-config.xml added to improve compatibility with WPML
*	Warnings fixed

= 1.12.5.1 =
*	Fixed some files that were not included in the trunk

= 1.12.5 =
*	New addon added thanks to @egraznov in order to make possible to import data from LifterLMS

= 1.12.4 =
*	New hooks added to make possible to include new tabs from an addon

= 1.12.3.1 =
*	Fatal error fixed in frontend tab

= 1.12.3 =
*	Integration with Paid Membership Pro improved thanks to @joneiseman (https://wordpress.org/support/topic/import-paid-membership-pro-fields-not-working/#post-11110984)

= 1.12.2.3 =
*	Readme updated

= 1.12.2.2 =
*	Readme fixed

= 1.12.2.1 =
*	SMTP settings removed, old link was yet placed and caused misunderstandings, thanks to @paulabender for the notice
*	Tested up to WordPress 5.0.3

= 1.12.2 =
*	Extra check to avoid problems with CSV bad formed
*	Plugin can now manage attachments in email sending and email templates thanks to Immersedtechnologies
*	Part of the code has been rewritten using classes
*	We have changed the way of detecting the delimiter (thanks to @chaskinsuk https://wordpress.org/support/topic/detect-delimiter-fails-with-serialized-data/)

= 1.12.1 =
*	Filter added to avoid script inside values of each cells to prevent XSS attacks, thanks for reporting Slawek Zytko

= 1.12 =
*	Plugin can now manage email templates for managing mails which are sent to users thanks to Immersedtechnologies

= 1.11.3.17 =
*	Documentation improved with some notes about roles management thanks to @stephenfourie (https://wordpress.org/support/topic/user-role-always-set-as-administrator/)

= 1.11.3.16 =
*	Redeclaration of str_getcsv removed, this is not necessary because of all new PHP versions contains it

= 1.11.3.15 =
*	Filters included for auto password generated
*	Tested up to WordPress 5.0

= 1.11.3.14 =
*	Empty email check added thanks to @malcolm-oph (https://wordpress.org/support/topic/blank-email-field-in-csv-data-not-detected/)

= 1.11.3.13 =
*	Mail address with data of users can now be overriden thanks to a new filter

= 1.11.3.12 =
*	Plugin is now compatible with Vimeo Sync Membership thanks to Justin Snavely

= 1.11.3.11 =
*	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

= 1.11.3.10 =
*	New hooks added thanks to Joel Frankwick in order to make possible to change default wp_mail() headers

= 1.11.3.9 =
*	New hooks added thanks to @malcolm-oph (https://wordpress.org/support/topic/using-filters-to-add-data-columns/)

= 1.11.3.8.1 =
*	Fixed bug thanks to @xenator for discovering the bug (https://wordpress.org/support/topic/uncaught-error-while-importing-users/#post-10618130)

= 1.11.3.8 =
*	Fixed mail sending in frontend import
*	Now you can activate users with WP Members in frontend import
*	Some fixes and warnings added

= 1.11.3.7 =
*	Fixes and improvements thanks to @malcolm-oph

= 1.11.3.6 =
*	Role import working in cron jobs

= 1.11.3.5 =
*	SMTP tab hidden for user which are not using this option

= 1.11.3.4 =
*	Bug fixed: thanks to @oldfieldmike for reporting and fixing a bug present when BuddyPress was active (https://wordpress.org/support/topic/bp_xprofile_group/#post-10265833)

= 1.11.3.3 =
*	Added compatibility to import levels from Indeed Ultimate Membership Pro
*	Fixed role problems when importing

= 1.11.3.2 =
*	Patreon link included and some other improvements to make easier support this develop
*	Deprecated notices included about SMTP settings in this plugin

= 1.11.3.1 =
*	Thanks to Sebastian Mellmann(@xenator) a bug have been solved in password management in new users

= 1.11.3 =
*	Thanks to @xenator you can now import users with Allow Multiple Accounts with same Mail via cron

= 1.11.2 =
*	Problem with WordPress default emails fixed

= 1.11.1 =
*	Sidebar changed
*	Readme completed

= 1.11 =
*	You can now import users from the frontend using a shortcode thanks to Nelson Artz Group GmbH & Co. KG

= 1.10.13 =
*	You can now import User Groups (https://wordpress.org/plugins/user-groups/) and assign them to the users

= 1.10.12 =
*	You can now import WP User Groups (https://es.wordpress.org/plugins/wp-user-groups/) and assign them to the users thanks to the support of Arturas & Luis, Lda.

= 1.10.11.1 =
*	Debug notice shown fixed (thanks for submiting the bug @anieves (https://wordpress.org/support/topic/problem-using-wp-members-with-import-users-from-csv-2/#post-10035037)

= 1.10.11 =
*	Administrator are not deleted in cron task
*	Some hashed passwords was not being imported correctly because of wp_unslash() function into wp_insert_user(), issue fixed

= 1.10.10 =
*	Thanks to Attainable Adventure Cruising Ltd now the system to import passwords hashed directly from the CSV has been fixed
*	Thanks to Kevin Price-Ward and Peri Lane now the system does not include the default role when creating a new user
*	Plugin tested up to WordPress 4.9.4

= 1.10.9.1 =
*	Thanks to @lucile-agence-pulsi for reporting a bug (https://wordpress.org/support/topic/show-extra-profile-fields/) now this is solved

= 1.10.9 =
*	Thanks to the support of Studio MiliLand (http://www.mililand.com) we can now import data to Paid Membership Pro Plugin

= 1.10.8.2 =
*	Thanks to @Carlos Herrera we can now import date fields from BuddyPress

= 1.10.8.1 =
*	Bug fixed

= 1.10.8 =
*	New system for include addons
* 	You can now import data from WooCommerce Membership thanks to Lukas from Kousekmusic.cz
*	Tested up to WordPress 4.9

= 1.10.7.5 =
* 	Bug solved in cron import, now mails not being sent to user who are being updated unless you activate those mails

= 1.10.7.4 =
* 	Plugin now remember if user has selected or not mail sending when doing a manual import, to select by default this option next time

= 1.10.7.3 =
* 	Some of the plugins options are disabled by default to prevent unwanted mail sending

= 1.10.7.2 =
* 	Improve email notification disable

= 1.10.7.1 =
* 	Sending mail in standard import bug solved, thanks to @manverupl for the error report.

= 1.10.7 =
*	New feature thanks to Todd Zaroban (@tzarob) now you can choose if override or not current roles of each user when you are updating them
*	Problem solved in repeated email module thanks to @damienper (https://wordpress.org/support/topic/error-in-email_repeated-php/)
* 	Problem solved in mail sending with cron thanks to @khansadi (https://wordpress.org/support/topic/no-email-is-sent-to-new-users-when-created-via-corn-import/)

= 1.10.6.9 =
*	Thanks to Peri Lane from Apis Productions you can now import roles from CSV. Read documentation to see the way to work.

= 1.10.6.8.1 =
*	Thanks to @fiddla for debugging all this, as update_option with a value equals to true is saved as 1 in the database, we couldn't use the ==! or === operator to see if the option was active or not. Sorry for so many updates those days with this problems and thanks for the debugging

= 1.10.6.8 =
*	Bug fixed (now yes) when moving file including date and time thanks to @fiddla

= 1.10.6.7 =
*	Bug fixed when moving file including date and time

= 1.10.6.6 =
*	Bug fixed thanks to @ov3rfly (https://wordpress.org/support/topic/wrong-path-to-users-page-after-import/)
*	Documentation also included in home page of the plugins thanks to suggestions and threads in forum

= 1.10.6.5 =
*	If multisite is enabled it adds the user to the blog thanks to Rudolph Koegelenberg
*	Tested up to 4.8

= 1.10.6.4 =
*	Documentation fixed: if user id is present in the CSV but not in the database, it cannot be used to create a new user

= 1.10.6.3 =
*	New hook added do_action('acui_post_import_single_user', $headers, $data, $user_id );

= 1.10.6.2 =
*	Added documentation about locale and BuddyPress Extendend Profile
*	Header changed to avoid any problem about plugin header

= 1.10.6.1 =
*	Fix error in importer.php about delete users (https://wordpress.org/support/topic/wp_delete_user-undefined/#post-8925051)

= 1.10.6 =
*	Now you can hide the extra profile fields created with the plugin thanks to Steph O'Brien (Ruddy Good)

= 1.10.5 =
*	Now you can import list of elements using :: as separator and it can also be done in BuddyPress profile fields thanks to Jon Eiseman
*	Fixes in SMTP settings
*	SMTP settings now is a new tab

= 1.10.4 =
*	Now you can assign BuddyPress groups and assign roles in import thanks to TNTP (tntp.org)
* 	Import optimization
*	Readme fixed

= 1.10.3.1 =
*	Bug fixed in SMTP settings page

= 1.10.3 =
*	Plugin is now prepared for internacionalization using translate.wordpress.org

= 1.10.2.2 =
*	German translation fixed thanks to @mfgmicha
*	locale now is considered a data from WordPress user so it won't be shown in profiles

= 1.10.2.1 =
*	German translation fixed thanks to @barcelo
*	System compatibility updated

= 1.10.2 =
* 	New User Approve support fixed thanks to @stephanemartinw (https://wordpress.org/support/topic/new-user-approve-support/#post-8749012)

= 1.10.1 =
* 	Plugin can now import serialized data.
*	New filter added: $data[$i] = apply_filters( 'pre_acui_import_single_user_single_data', $data[$i], $headers[$i], $i); now you can manage each single data for each user, maybe easier to use than pre_acui_import_single_user_data


= 1.9.9.9 =
* 	Now you can automatically rename file after move it. Then you won't lost any file you have imported (thanks to @charlesgodwin)

= 1.9.9.8 =
* 	Password bug fixed. Now it works as it should (like it is explained in documentation)

= 1.9.9.7 =
* 	Bug fixed in importer now value 0 is not considered as empty thanks to @lafare (https://wordpress.org/support/topic/importing-values-equal-to-0/#post-8609191)

= 1.9.9.6 =
* 	From now we are going to keep old versions available in repository
*	We don't delete loaded columns (and fields) when you deactivate the plugin
*	Password is not auto generated when updating user in order to avoid problems (missing password column and update create new passwords and use to create problems)

= 1.9.9.5 =
*	Now you can set the email to empty in each row thanks to @sternhagel

= 1.9.9.4 =
*	German language added thanks to Wolfgang Kleinrath
*	Added conditional to avoid error on mail sending

= 1.9.9.3 =
*	Now you can choose if you want to not assign a role to users when you are making an import cron

= 1.9.9.2 =
*	Now you can choose if you want to assign to some user the posts of the users that can be deleted in cron task

= 1.9.9.1 =
*	French translation added thanks to @momo-fr

= 1.9.9 =
*	Plugin now is localized using i18n thanks to code provided by Toni Ginard @toniginard

= 1.9.8.1 =
*	Bug fixed in cron import, nonce conditional check, thanks to Ville Kokkala for showing the bug

= 1.9.8 =
*	Password reset url is now available to include in body email thanks to Mary Wheeler (https://wordpress.org/support/users/ransim/)

= 1.9.7 =
*	Thanks to Bruce MacPherson we can now choose if we don't want update users roles when importing data if user exist
*	Clearer English thanks to Bruce MacPherson

= 1.9.6 =
*	Thanks to Jason Lewis we can now choose if we don't want update users when importing data if user exist

= 1.9.5 =
*	Important security fixes added thanks to pluginvulnerabilities.com

= 1.9.4.6 =
*	New filter added, thanks to @burton-nerd

= 1.9.4.5 =
*	Renamed function to avoid collisions thanks to the message of Jason Lewis

= 1.9.4.4 =
*	Fix for the last one, we set true where it was false and vice versa

= 1.9.4.3 =
*	We try to make it clear to choose if mails (the one we talked in 1.9.4.2) are being sent or not

= 1.9.4.2 =
*	Automatic WordPress emails sending deactivated by default when user is created or updated, thanks to Peter Gariepy

= 1.9.4.1 =
*	wpautop added again

= 1.9.4 =
*	user_pass can be imported directly hashed thanks to Bad Yogi

= 1.9.3 =
*	Now you can move file after cron, thanks to Yme Brugts for supporting this new feature

= 1.9.2 =
*	New hook added, thanks to borkenkaefer

= 1.9.1 =
*	Fix new feature thanks to bixul ( https://wordpress.org/support/topic/problems-with-user-xxx-error-invalid-user-id?replies=3#post-8572766 )

= 1.9 =
*	New feature thanks to Ken Hagen - V3 Insurance Partners LLC, now you can import users directly with his ID or update it using his user ID, please read documentation tab for more information about it
*	New hooks added thank to the idea of borkenkaefer, in the future we will include more and better hooks (actions and filters)
*	Compatibility with New User Approve fixed

= 1.8.9 =
*	Lost password link included in the mail template thanks to alex@marckdesign.net

= 1.8.8 =
*	Checkbox included in order to avoid sending mail accidentally on password change or user updated.

= 1.8.7.4 =
*	Documentation updated.

= 1.8.7.3 =
*	Autoparagraph in email text to solve problem about all text in the same line.
*	Tested up to 4.5.1

= 1.8.7.2 =
*	Bug in delete_user_meta solved thanks for telling us lizzy2surge

= 1.8.7.1 =
*	Bug in HTML mails solved

= 1.8.7 =
*	You can choose between plugin mail settings or WordPress mail settings, thanks to Awaken Solutions web design (http://www.awakensolutions.com/)

= 1.8.6 =
*	Bug detected in mailer settings, thanks to Carlos (satrebil@gmail.com)

= 1.8.5 =
*	Include code changed, after BuddyPress adaptations we break the SMTP settings when activating

= 1.8.4 =
*	Labels for mail sending were creating some misunderstandings, we have changed it

= 1.8.3 =
*	Deleted var_dump message to debug left accidentally

= 1.8.2 =
*	BuddyPress fix in some installation to avoid a fatal error

= 1.8.1 =
*	Now you have to select at least a role, we want to prevent the problem of "No roles selected"
*	You can import now BuddyPress fields with this plugin thanks to André Ihlar

= 1.8 =
*	Email template has an own custom tab thanks to Amanda Ruggles
*	Email can be sent when you are doing a cron import thanks to Amanda Ruggles

= 1.7.9 =
*	Now you can choose if you want to send the email to all users or only to creted users (not to the updated one) thanks to Remy Medranda
*	Compatibility with New User Approve (https://es.wordpress.org/plugins/new-user-approve/) included thanks to Remy Medranda

= 1.7.8 =
*	Metadata can be sent in the mail thanks to Remy Medranda

= 1.7.7 =
*	Bad link fixed and new links added to the plugin

= 1.7.6 =
*	Capability changed from manage_options to create_users, this is a better capatibily to this plugin

= 1.7.5 =
*	Bug solved when opening tabs, it were opened in incorrect target
*	Documentation for WooCommerce integration included

= 1.7.4 =
*	Bug solved when saving path to file in Cron Import (thanks to Robert Zantow for reporting)
*	New tabs included: Shop and Need help
*	Banner background from WordPress.org updated

= 1.7.3 =
*	Users which are not administrator now can edit his extra fields thanks to downka (https://wordpress.org/support/topic/unable-to-edit-imported-custom-profile-fields?replies=1#post-7595520)

= 1.7.2 =
*	Plugin is now compatible with WordPress Access Areas plugin (https://wordpress.org/plugins/wp-access-areas/) thanks to Herbert (http://remark.no/)
*	Added some notes to clarify the proper working of the plugin.

= 1.7.1 =
*	Bug solved. Thanks for reporting this bug: https://wordpress.org/support/topic/version-17-just-doesnt-work?replies=3#post-7538427

= 1.7 =
*	New GUI based on tabs easier to use
*	Thanks to Michael Lancey ( Mckenzie Chase Management, Inc. ) we can now provide all this new features:	
*	File can now be refered using a path and not only uploading.
*	You can now create a scheduled event to import users regularly.

= 1.6.4 =
*	Bugs detected and solved thanks to a message from Periu Lane and others users, the problem was a var bad named.

= 1.6.3 =
*	Default action for empty values now is: leave old value, in this way we prevent unintentional deletions of meta data.
*	Included donate link in plugin.

= 1.6.2 =
*	Thanks to Carmine Morra (carminemorra.com) for reporting problems with <p> and <br/> tags in body of emails.

= 1.6.1 =
*	Thanks to Matthijs Mons: now this plugin is able to work with Allow Multiple Accounts (https://wordpress.org/plugins/allow-multiple-accounts/) and allow the possibility of register/update users with same email instead as using thme in this case as a secondary reference to the user as the username.

= 1.6 =
*	Now options that are only useful if some other plugin is activated, they will only show when those plugins were activated
* 	Thanks to Carmine Morra (carminemorra.com) for supporting the next two big features:
*	New role manager: instead of using a select list, you can choose roles now using checkboxes and you can choose more than one role per user
* 	SMTP server: you can send now from your WordPress directly or using a external SMTP server (almost all SMTP config and SMTP sending logic are based in the original one from WP Mail SMTP - https://wordpress.org/plugins/wp-mail-smtp/). When the plugin finish sending mail, reset the phpmailer to his previous state, so it won't break another SMTP mail plugin.
* 	And this little one, you can use **email** in mail body to send to users their email (as it existed before: **loginurl**, **username**, **password**)

= 1.5.2 =
* 	Thanks to idealien, if we use username to update users, the email can be updated as the rest of the data and metadata of the user and we silence the email changing message generated by core.

= 1.5.1 =
* 	Thanks to Mitch ( mitch AT themilkmob DOT org ) for reporting the bug, now headers do not appears twice.

= 1.5 =
* 	Thanks to Adam Hunkapiller ( of dreambridgepartners.com ) have supported all this new functionalities.
*	You can choose the mail from and the from name of the mail sent.
*	Mail from, from name, mail subject and mail body are now saved in the system and reused anytime you used the plugin in order to make the mail sent easier.
*	You can include all this fields in the mail: "user_nicename", "user_url", "display_name", "nickname", "first_name", "last_name", "description", "jabber", "aim", "yim", "user_registered" if you used it in the CSV and you indicate it the mail body in this way **FIELD_NAME**, for example: **first_name**

= 1.4.2 =
* 	Due to some support threads, we have add a different background-color and color in rows that are problematic: the email was found in the system but the username is not the same

= 1.4.1 =
* 	Thanks to Peri Lane for supporting the new functionality which make possible to activate users at the same time they are being importing. Activate users as WP Members plugin (https://wordpress.org/plugins/wp-members/) consider a user is activated

= 1.4 =
* 	Thanks to Kristopher Hutchison we have add an option to choose what you want to do with empty cells: 1) delete the meta-data or 2) ignore it and do not update, previous to this version, the plugin update the value to empty string

= 1.3.9.4 =
* 	Previous version does not appear as updated in repository, with this version we try to fix it

= 1.3.9.3 =
* 	In WordPress Network, admins can now use the plugin and not only superadmins. Thanks to @jephperro

= 1.3.9.2 =
* 	Solved some typos. Thanks to Jonathan Lampe

= 1.3.9.1 =
* 	JS bug fixed, thanks to Jess C

= 1.3.9 =
* 	List of old CSV files created in order to prevent security problems.
* 	Created a button to delete this files directly in the plugin, you can delete one by one or you can do a bulk delete.

= 1.3.8 =
* 	Fixed a problem with iterator in columns count. Thanks to alysko for their message: https://wordpress.org/support/topic/3rd-colums-ignored?replies=1

= 1.3.7 =
* 	After upload, CSV file is deleted in order to prevent security issues.

= 1.3.6 =
* 	Thanks to idealien for telling us that we should check also if user exist using email (in addition to user login). Now we do this double check to prevent problems with users that exists but was registered using another user login. In the table we show this difference, the login is not changed, but all the rest of data is updated.

= 1.3.5 =
* 	Bug in image fixed
*	Title changed

= 1.3.4 =
* 	Warning with sends_mail parameter fixed
*	Button to donate included

= 1.3.3 =
* 	Screenshot updated, now it has the correct format. Thank to gmsb for telling us the problem with screenshout outdated

= 1.3.2 =
* 	Thanks to @jRausell for solving a bug with a count and an array

= 1.3.1 =
* 	WooCommerce fields integration into profile
*	Duplicate fields detection into profile
*	Thanks to @derwentx to give us the code to make possible to include this new features

= 1.3 =
*	This is the biggest update in the history of this plugin: mails and passwords generation have been added.
*	Thanks to @jRausell to give us code to start with mail sending functionality. We have improved it and now it is available for everyone.
*	Mails are customizable and you can choose 
*	Passwords are also generated, please read carefully the documentation in order to avoid passwords lost in user updates.

= 1.2.3 =
*	Extra format check done at the start of each row.

= 1.2.2 =
*	Thanks to twmoore3rd we have created a system to detect email collisions, username collision are not detected because plugin update metadata in this case

= 1.2.1 =
*	Thanks to Graham May we have fixed a problem when meta keys have a blank space and also we have improved plugin security using filter_input() and filter_input_array() functions instead of $_POSTs

= 1.2 =
*	From this version, plugin can both insert new users and update new ones. Thanks to Nick Gallop from Weston Graphics.

= 1.1.8 =
*	Donation button added.

= 1.1.7 =
*	Fixed problems with \n, \r and \n\r inside CSV fields. Thanks to Ted Stresen-Reuter for his help. We have changed our way to parse CSV files, now we use SplFileObject and we can solve this problem.

= 1.1.6 =
*	You can import now user_registered but always in the correct format Y-m-d H:i:s

= 1.1.5 =
*	Now plugins is only shown to admins. Thanks to flegmatiq and his message https://wordpress.org/support/topic/the-plugin-name-apears-in-dashboard-menu-of-non-aministrators?replies=1#post-6126743

= 1.1.4 =
*	Problem solved appeared in 1.1.3: sometimes array was not correctly managed.

= 1.1.3 =
*	As fgetscsv() have problems with non UTF8 characters we changed it and now we had problems with commas inside fields, so we have rewritten it using str_getcsv() and declaring the function in case your current PHP version doesn't support it.

= 1.1.2 =
*	fgetscsv() have problems with non UTF8 characters, so we have changed it for fgetcsv() thanks to a hebrew user who had problems.

= 1.1.1 =
*	Some bugs found and solved managing custom columns after 1.1.0 upgrade.
*	If you have problems/bugs about custom headers, you should deactivate the plugin and then activate it and upload a CSV file with the correct headers again in order to solve some problems.

= 1.1.0 =
*	WordPress user profile default info is now saved correctly, the new fields are: "user_nicename", "user_url", "display_name", "nickname", "first_name", "last_name", "description", "jabber", "aim" and "yim"
* 	New CSV example created.
*	Documentation adapted to new functionality.

= 1.0.9 =
*   Bug with some UTF-8 strings, fixed.

= 1.0.8 =
*   The list of roles is generated reading all the roles avaible in the system, instead of being the default always.

= 1.0.7 =
*   Issue: admin/super_admin change role when file is too large. Two checks done to avoid it.

= 1.0.6 =
*   Issue: Problems detecting extension solved (array('csv' => 'text/csv') added)

= 1.0.5 =
*   Issue: Existing users role change, fixed

= 1.0.0 =
*   First release

== Upgrade Notice ==

= 3.1.0 =
Export WooCommerce guest customers, choose the columns and the file format of the export, transform values while importing and see the history of imports and exports.
