forked from wearerequired/simple-user-adding
/
simple-user-adding.php
50 lines (44 loc) · 1.72 KB
/
simple-user-adding.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* Plugin Name: Simple User Adding
* Plugin URI: https://github.com/wearerequired/simple-user-adding/
* Description: This plugin makes adding users to your WordPress site easier than ever before.
* Version: 1.1.0
* Author: required+
* Author URI: http://required.ch
* License: GPLv2+
* Text Domain: simple-user-adding
* Domain Path: /languages
*/
/**
* Copyright (c) 2015 required+ (email : support@required.ch)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2 or, at
* your discretion, any later version, as published by the Free
* Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
defined( 'WPINC' ) or die;
include( dirname( __FILE__ ) . '/lib/requirements-check.php' );
$simple_user_adding_requirements_check = new Simple_User_Adding_Requirements_Check( array(
'title' => 'Simple User Adding',
'php' => '5.3',
'wp' => '3.1',
'file' => __FILE__,
));
if ( $simple_user_adding_requirements_check->passes() ) {
// Pull in the plugin classes and initialize
include( dirname( __FILE__ ) . '/lib/wp-stack-plugin.php' );
include( dirname( __FILE__ ) . '/classes/plugin.php' );
Simple_User_Adding_Plugin::start( __FILE__ );
}
unset( $simple_user_adding_requirements_check );