| @@ -1,39 +1,20 @@ | ||
| 1 | 1 | <?php |
| 2 | - | |
| 3 | -/** | |
| 4 | - * Import Users. | |
| 5 | - * | |
| 6 | - * Import Users plugin file. | |
| 7 | - * | |
| 8 | - * @package Smackcoders\SMUSERS | |
| 9 | - * @copyright Copyright (C) 2010-2020, Smackcoders Inc - info@smackcoders.com | |
| 10 | - * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3 or higher | |
| 11 | - * | |
| 12 | - * @wordpress-plugin | |
| 2 | +/******************************************************************************************** | |
| 13 | 3 | * Plugin Name: Import Users |
| 14 | - * Description: Seamlessly create users and import from your CSV data with ease. | |
| 15 | - * Version: 1.6 | |
| 4 | + * Description: Seamlessly create users and import from your CSV data with ease. | |
| 5 | + * Version: 1.2.2 | |
| 16 | 6 | * Text Domain: Import-Users |
| 17 | 7 | * Domain Path: /languages |
| 18 | 8 | * Author: Smackcoders |
| 19 | - * Plugin URI: https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html | |
| 20 | - * Author URI: https://www.smackcoders.com/wordpress.html | |
| 21 | - * License: GPL v3 | |
| 9 | + * Plugin URI: https://goo.gl/kKWPui | |
| 10 | + * Author URI: https://goo.gl/kKWPui | |
| 22 | 11 | * |
| 23 | - * This program is free software: you can redistribute it and/or modify | |
| 24 | - * it under the terms of the GNU General Public License as published by | |
| 25 | - * the Free Software Foundation, either version 3 of the License, or | |
| 26 | - * (at your option) any later version. | |
| 27 | - * | |
| 28 | - * This program is distributed in the hope that it will be useful, | |
| 29 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 30 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 31 | - * GNU General Public License for more details. | |
| 32 | - * | |
| 33 | - * You should have received a copy of the GNU General Public License | |
| 34 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 35 | - */ | |
| 12 | + * Copyright (C) Smackcoders. - All Rights Reserved under Smackcoders Proprietary License | |
| 13 | + * Unauthorized copying of this file, via any medium is strictly prohibited | |
| 14 | + * Proprietary and confidential | |
| 15 | + * You can contact Smackcoders at email address info@smackcoders.com. | |
| 16 | + *******************************************************************************************/ | |
| 36 | 17 | |
| 37 | 18 | namespace Smackcoders\SMUSERS; |
| 38 | 19 | |
| 39 | 20 | if ( ! defined( 'ABSPATH' ) ) |
| @@ -44,18 +25,15 @@ | ||
| 44 | 25 | require_once('importExtensions/UsersImport.php'); |
| 45 | 26 | require_once('importExtensions/MediaHandling.php'); |
| 46 | 27 | require_once('importExtensions/BSIImport.php'); |
| 47 | 28 | require_once('importExtensions/ImportHelpers.php'); |
| 48 | -require_once('importExtensions/BuddyImport.php'); | |
| 49 | 29 | require_once('importExtensions/WPMembersImport.php'); |
| 50 | -require_once('importExtensions/MultiroleImport.php'); | |
| 51 | - | |
| 52 | 30 | require_once('controllers/SendPassword.php'); |
| 53 | 31 | |
| 54 | 32 | class UserCSVHandler extends UsersImport{ |
| 55 | 33 | |
| 56 | 34 | private static $instance = null,$install; |
| 57 | - public $version = '1.6'; | |
| 35 | + public $version = '1.2.2'; | |
| 58 | 36 | |
| 59 | 37 | public function __construct(){ |
| 60 | 38 | $this->plugin = Plugin::getInstance(); |
| 61 | 39 | } |
| @@ -98,10 +76,14 @@ | ||
| 98 | 76 | * Init UserSmCSVHandlerPro when WordPress Initialises. |
| 99 | 77 | */ |
| 100 | 78 | public function init() { |
| 101 | 79 | if(is_admin()) : |
| 80 | + // Init action. | |
| 102 | 81 | do_action( 'uci_init' ); |
| 103 | 82 | if(is_admin()) { |
| 83 | +#$this->includes(); | |
| 84 | + //SmUCIUserAdminAjax::smuci_ajax_events(); | |
| 85 | +# Removed: De-Register the media sizes | |
| 104 | 86 | } |
| 105 | 87 | endif; |
| 106 | 88 | } |
| 107 | 89 | } |