-
Notifications
You must be signed in to change notification settings - Fork 0
/
wp-triage.php
44 lines (39 loc) · 1.62 KB
/
wp-triage.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
<?php
/**
* Plugin Name: WP Triage
* Plugin URI: https://github.com/wpcorner/wp-triage
* Description: An issue tracker for things that haven't gone to plan.
* Author: Patrick Lumumba
* Author URI: https://wpcorner.co/author/patrick-l/
* Text Domain: wp-triage
* Version: 1.4.3
*/
// No thank you
if ( ! defined('ABSPATH') ) die;
// Define the constants
define('DTJWPT_VERSION', '1.4.2');
define('DTJWPT_DB_VERSION', '1.1');
define('DTJWPT_MIN_WP_VER', '4.0');
define('DTJWPT_IS_PRO_VER', 'no');
define('DTJWPT_DONATE_UPSELL', 'yes');
define('DTJWPT_DB_PROJECTS', 'dtjwpt_projects');
define('DTJWPT_DB_COMPONENTS', 'dtjwpt_components');
define('DTJWPT_DB_TICKETS', 'dtjwpt_tickets');
define('DTJWPT_DB_NOTES', 'dtjwpt_notes');
define('DTJWPT_CAP_MANAGE_PROJECTS', 'dtjwpt_manage_projects');
define('DTJWPT_CAP_MANAGE_COMPONENTS', 'dtjwpt_manage_components');
define('DTJWPT_CAP_MANAGE_TICKETS', 'dtjwpt_manage_tickets');
define('DTJWPT_CAP_MANAGE_NOTES', 'dtjwpt_manage_notes');
define('DTJWPT_URL', __FILE__);
define('DTJWPT_BASENAME', plugin_basename(DTJWPT_URL));
define('DTJWPT_DIR', untrailingslashit(dirname(__FILE__)));
define('DTJWPT_LANGUAGE', DTJWPT_DIR . '/assets/languages');
define('DTJWPT_INCLUDES', DTJWPT_DIR . "/assets/includes/");
define('DTJWPT_TEMPLATES', DTJWPT_DIR . "/assets/templates/");
define('DTJWPT_STYLES', DTJWPT_DIR . "/assets/css/");
define('DTJWPT_SCRIPTS', DTJWPT_DIR . "/assets/js/");
define('DTJWPT_IMAGES', DTJWPT_DIR . "/assets/images/");
// Include the core plugin files
require_once(DTJWPT_INCLUDES . "config.php");
require_once(DTJWPT_INCLUDES . "core.php");
require_once(DTJWPT_INCLUDES . "ajax.php");