Version Description
- Global variable with url of plugin removed
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.14.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.14.2.2 to 1.14.2.3
- classes/donate.php +1 -2
- classes/email-options.php +2 -2
- import-users-from-csv-with-meta.php +1 -2
- importer.php +0 -2
- readme.txt +4 -1
classes/donate.php
CHANGED
@@ -4,13 +4,12 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
4 |
|
5 |
class ACUI_Donate{
|
6 |
public static function message(){
|
7 |
-
global $acui_url_plugin;
|
8 |
?>
|
9 |
<div class="postbox">
|
10 |
<h3 class="hndle"><span> <?php _e( 'Do you like it?', 'import-users-from-csv-with-meta' ); ?></span></h3>
|
11 |
|
12 |
<div class="inside" style="display: block;">
|
13 |
-
<img src="<?php echo
|
14 |
<p><?php _e( 'Hi! we are', 'import-users-from-csv-with-meta'); ?> <a href="https://twitter.com/fjcarazo" target="_blank" title="Javier Carazo">Javier Carazo</a> <?php _e( 'and all the team of', 'import-users-from-csv-with-meta' ); ?> <a href="http://codection.com">Codection</a>, <?php _e("developers of this plugin.", 'import-users-from-csv-with-meta' ); ?></p>
|
15 |
<p><?php _e( 'We have been spending many hours to develop this plugin and answering questions in the forum to give you the best support. <br>If you like and use this plugin, you can <strong>buy us a cup of coffee</strong>.', 'import-users-from-csv-with-meta' ); ?></p>
|
16 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
4 |
|
5 |
class ACUI_Donate{
|
6 |
public static function message(){
|
|
|
7 |
?>
|
8 |
<div class="postbox">
|
9 |
<h3 class="hndle"><span> <?php _e( 'Do you like it?', 'import-users-from-csv-with-meta' ); ?></span></h3>
|
10 |
|
11 |
<div class="inside" style="display: block;">
|
12 |
+
<img src="<?php echo esc_url( plugins_url( 'assets/icon_coffee.png', dirname( __FILE__ ) ) ); ?>" alt="<?php _e( 'buy me a coffee', 'import-users-from-csv-with-meta' ); ?>" style=" margin: 5px; float:left;">
|
13 |
<p><?php _e( 'Hi! we are', 'import-users-from-csv-with-meta'); ?> <a href="https://twitter.com/fjcarazo" target="_blank" title="Javier Carazo">Javier Carazo</a> <?php _e( 'and all the team of', 'import-users-from-csv-with-meta' ); ?> <a href="http://codection.com">Codection</a>, <?php _e("developers of this plugin.", 'import-users-from-csv-with-meta' ); ?></p>
|
14 |
<p><?php _e( 'We have been spending many hours to develop this plugin and answering questions in the forum to give you the best support. <br>If you like and use this plugin, you can <strong>buy us a cup of coffee</strong>.', 'import-users-from-csv-with-meta' ); ?></p>
|
15 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
classes/email-options.php
CHANGED
@@ -91,11 +91,11 @@ class ACUI_Email_Options{
|
|
91 |
}
|
92 |
|
93 |
function load_scripts( $hook ) {
|
94 |
-
global $typenow
|
95 |
|
96 |
if( $typenow == 'acui_email_template' || $hook == 'tools_page_acui' ) {
|
97 |
wp_enqueue_media();
|
98 |
-
wp_register_script( 'email-template-attachment-admin',
|
99 |
wp_localize_script( 'email-template-attachment-admin', 'email_template_attachment_admin',
|
100 |
array(
|
101 |
'title' => __( 'Choose or upload file', 'import-users-from-csv-with-meta' ),
|
91 |
}
|
92 |
|
93 |
function load_scripts( $hook ) {
|
94 |
+
global $typenow;
|
95 |
|
96 |
if( $typenow == 'acui_email_template' || $hook == 'tools_page_acui' ) {
|
97 |
wp_enqueue_media();
|
98 |
+
wp_register_script( 'email-template-attachment-admin', esc_url( plugins_url( 'assets/email-template-attachment-admin.js', dirname( __FILE__ ) ) ), array( 'jquery' ) );
|
99 |
wp_localize_script( 'email-template-attachment-admin', 'email_template_attachment_admin',
|
100 |
array(
|
101 |
'title' => __( 'Choose or upload file', 'import-users-from-csv-with-meta' ),
|
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
|
@@ -13,7 +13,6 @@ Domain Path: /languages
|
|
13 |
*/
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
15 |
|
16 |
-
$acui_url_plugin = WP_PLUGIN_URL . '/' . str_replace( basename( __FILE__ ), "", plugin_basename( __FILE__ ) );
|
17 |
$wp_users_fields = array( "id", "user_nicename", "user_url", "display_name", "nickname", "first_name", "last_name", "description", "jabber", "aim", "yim", "user_registered", "password", "user_pass", "locale" );
|
18 |
$wp_min_fields = array("Username", "Email");
|
19 |
$acui_fields = array( "bp_group", "bp_group_role", "role" );
|
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.3
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
13 |
*/
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
15 |
|
|
|
16 |
$wp_users_fields = array( "id", "user_nicename", "user_url", "display_name", "nickname", "first_name", "last_name", "description", "jabber", "aim", "yim", "user_registered", "password", "user_pass", "locale" );
|
17 |
$wp_min_fields = array("Username", "Email");
|
18 |
$acui_fields = array( "bp_group", "bp_group_role", "role" );
|
importer.php
CHANGED
@@ -704,8 +704,6 @@ function acui_import_users( $file, $form_data, $attach_id = 0, $is_cron = false,
|
|
704 |
}
|
705 |
|
706 |
function acui_options(){
|
707 |
-
global $acui_url_plugin;
|
708 |
-
|
709 |
if ( !current_user_can( 'create_users' ) ) {
|
710 |
wp_die( __( 'You are not allowed to see this content.', 'import-users-from-csv-with-meta' ));
|
711 |
}
|
704 |
}
|
705 |
|
706 |
function acui_options(){
|
|
|
|
|
707 |
if ( !current_user_can( 'create_users' ) ) {
|
708 |
wp_die( __( 'You are not allowed to see this content.', 'import-users-from-csv-with-meta' ));
|
709 |
}
|
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.2 =
|
95 |
* More nonces included
|
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.3
|
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.3 =
|
95 |
+
* Global variable with url of plugin removed
|
96 |
+
|
97 |
= 1.14.2.2 =
|
98 |
* More nonces included
|
99 |
|