-
Notifications
You must be signed in to change notification settings - Fork 33
/
wp-help.php
48 lines (42 loc) · 1.61 KB
/
wp-help.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
<?php
/*
Plugin Name: WP Help
Description: Administrators can create detailed, hierarchical documentation for the site's authors and editors, viewable in the WordPress admin.
Version: 1.7.5
License: GPL
Plugin URI: http://txfx.net/wordpress-plugins/wp-help/
Author: Mark Jaquith
Author URI: http://coveredwebservices.com/
*/
/**
* Copyright (c) 2011-2024 Mark Jaquith (email: [email protected])
*
* 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' );
$cws_wp_help_requirements_check = new CWS_WP_Help_Requirements_Check( array(
'title' => 'WP Help',
'php' => '5.6',
'wp' => '4.9',
'file' => __FILE__,
));
if ( $cws_wp_help_requirements_check->passes() ) {
// Pull in the plugin classes and initialize.
include( dirname( __FILE__ ) . '/lib/structure.php' );
include( dirname( __FILE__ ) . '/classes/plugin.php' );
CWS_WP_Help_Plugin::start( __FILE__ );
}
unset( $cws_wp_help_requirements_check );