Version Description
- Removed old code parts from SMTP settings that now are not available and could create warnings
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.14.2.7 |
Comparing to | |
See all releases |
Code changes from version 1.14.2.6 to 1.14.2.7
- import-users-from-csv-with-meta.php +1 -5
- importer.php +1 -15
- readme.txt +4 -1
import-users-from-csv-with-meta.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Import users from CSV with meta
|
4 |
Plugin URI: https://www.codection.com
|
5 |
Description: This plugins allows to import users using CSV files to WP database automatically
|
6 |
-
Version: 1.14.2.
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
@@ -272,7 +272,6 @@ function acui_admin_tabs( $current = 'homepage' ) {
|
|
272 |
'cron' => __( 'Cron import', 'import-users-from-csv-with-meta' ),
|
273 |
'columns' => __( 'Extra profile fields', 'import-users-from-csv-with-meta' ),
|
274 |
'mail-options' => __( 'Mail options', 'import-users-from-csv-with-meta' ),
|
275 |
-
'smtp-settings' => __( 'SMTP settings (deprecated)', 'import-users-from-csv-with-meta' ),
|
276 |
'doc' => __( 'Documentation', 'import-users-from-csv-with-meta' ),
|
277 |
'donate' => __( 'Donate/Patreon', 'import-users-from-csv-with-meta' ),
|
278 |
'shop' => __( 'Shop', 'import-users-from-csv-with-meta' ),
|
@@ -282,9 +281,6 @@ function acui_admin_tabs( $current = 'homepage' ) {
|
|
282 |
|
283 |
$tabs = apply_filters( 'acui_tabs', $tabs );
|
284 |
|
285 |
-
if( get_option( "acui_settings" ) == "wordpress" )
|
286 |
-
unset( $tabs['smtp-settings'] );
|
287 |
-
|
288 |
echo '<div id="icon-themes" class="icon32"><br></div>';
|
289 |
echo '<h2 class="nav-tab-wrapper">';
|
290 |
foreach( $tabs as $tab => $name ){
|
3 |
Plugin Name: Import users from CSV with meta
|
4 |
Plugin URI: https://www.codection.com
|
5 |
Description: This plugins allows to import users using CSV files to WP database automatically
|
6 |
+
Version: 1.14.2.7
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
272 |
'cron' => __( 'Cron import', 'import-users-from-csv-with-meta' ),
|
273 |
'columns' => __( 'Extra profile fields', 'import-users-from-csv-with-meta' ),
|
274 |
'mail-options' => __( 'Mail options', 'import-users-from-csv-with-meta' ),
|
|
|
275 |
'doc' => __( 'Documentation', 'import-users-from-csv-with-meta' ),
|
276 |
'donate' => __( 'Donate/Patreon', 'import-users-from-csv-with-meta' ),
|
277 |
'shop' => __( 'Shop', 'import-users-from-csv-with-meta' ),
|
281 |
|
282 |
$tabs = apply_filters( 'acui_tabs', $tabs );
|
283 |
|
|
|
|
|
|
|
284 |
echo '<div id="icon-themes" class="icon32"><br></div>';
|
285 |
echo '<h2 class="nav-tab-wrapper">';
|
286 |
foreach( $tabs as $tab => $name ){
|
importer.php
CHANGED
@@ -582,21 +582,7 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
|
|
582 |
$attachments[] = get_attached_file( $attachment_id );
|
583 |
|
584 |
add_filter( 'wp_mail_content_type', 'cod_set_html_content_type' );
|
585 |
-
|
586 |
-
if( get_option( "acui_settings" ) == "plugin" ){
|
587 |
-
add_action( 'phpmailer_init', 'acui_mailer_init' );
|
588 |
-
add_filter( 'wp_mail_from', 'acui_mail_from' );
|
589 |
-
add_filter( 'wp_mail_from_name', 'acui_mail_from_name' );
|
590 |
-
|
591 |
-
wp_mail( apply_filters( 'acui_import_email_to', $email, $headers, $data ), $subject, $body_mail, $headers_mail, $attachments );
|
592 |
-
|
593 |
-
remove_filter( 'wp_mail_from', 'acui_mail_from' );
|
594 |
-
remove_filter( 'wp_mail_from_name', 'acui_mail_from_name' );
|
595 |
-
remove_action( 'phpmailer_init', 'acui_mailer_init' );
|
596 |
-
}
|
597 |
-
else
|
598 |
-
wp_mail( apply_filters( 'acui_import_email_to', $email, $headers, $data ), $subject, $body_mail, $headers_mail );
|
599 |
-
|
600 |
remove_filter( 'wp_mail_content_type', 'cod_set_html_content_type' );
|
601 |
endif;
|
602 |
|
582 |
$attachments[] = get_attached_file( $attachment_id );
|
583 |
|
584 |
add_filter( 'wp_mail_content_type', 'cod_set_html_content_type' );
|
585 |
+
wp_mail( apply_filters( 'acui_import_email_to', $email, $headers, $data ), $subject, $body_mail, $headers_mail );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
586 |
remove_filter( 'wp_mail_content_type', 'cod_set_html_content_type' );
|
587 |
endif;
|
588 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://codection.com/go/donate-import-users-from-csv-with-meta/
|
|
4 |
Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 5.2.1
|
7 |
-
Stable tag: 1.14.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -91,6 +91,9 @@ Plugin will automatically detect:
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
94 |
= 1.14.2.6 =
|
95 |
* Problem fixed deleting old CSV files
|
96 |
|
4 |
Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 5.2.1
|
7 |
+
Stable tag: 1.14.2.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 1.14.2.7 =
|
95 |
+
* Removed old code parts from SMTP settings that now are not available and could create warnings
|
96 |
+
|
97 |
= 1.14.2.6 =
|
98 |
* Problem fixed deleting old CSV files
|
99 |
|