-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathloader.php
More file actions
68 lines (57 loc) · 2.34 KB
/
loader.php
File metadata and controls
68 lines (57 loc) · 2.34 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/*
Plugin Name: CustomPress
Plugin URI: http://premium.wpmudev.org/project/custompress
Description: CustomPress - Custom Post, Taxonomy and Field Manager.
Version: 1.3.8-BETA-1
Author: WPMU DEV
Author URI: http://premium.wpmudev.org
Text Domain: custompress
Domain Path: languages
WDP ID: 163
License: GNU General Public License (Version 2 - GPLv2)
Network: false
*/
$plugin_header_translate = array(
__('CustomPress - Custom Post, Taxonomy and Field Manager.', 'custompress'),
__('Ivan Shaovchev, Andrey Shipilov (Incsub), Arnold Bailey (Incsub)', 'custompress'),
__('http://premium.wpmudev.org', 'custompress'),
__('CustomPress', 'custompress'));
/*
Copyright 2011 Incsub, (http://incsub.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License (Version 2 - GPLv2) 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* Define plugin version */
if( !defined('CPT_VERSION') ) define ( 'CPT_VERSION', '1.3.8' );
/* define the plugin folder url */
if( !defined('CPT_PLUGIN_URL') ) define ( 'CPT_PLUGIN_URL', plugin_dir_url(__FILE__) );
/* define the plugin folder dir */
if( !defined('CPT_PLUGIN_DIR') ) define ( 'CPT_PLUGIN_DIR', plugin_dir_path(__FILE__) );
/* define the text domain for CustomPress */
if( !defined('CPT_TEXT_DOMAIN') ) define ( 'CPT_TEXT_DOMAIN', 'custompress' );
//define('CT_ALLOW_IMPORT', true);
/* include CustomPress files */
include_once 'core/core.php';
include_once 'core/content-types.php';
include_once 'core/functions.php';
if ( is_admin() ) include_once 'core/admin.php';
global $wpmudev_notices;
$wpmudev_notices[] = array( 'id'=> 163,
'name'=> 'CustomPress',
'screens' => array(
'toplevel_page_ct_content_types',
'custompress_page_cp_main',
'custompress_page_ct_export',
'toplevel_page_ct_content_types-network',
'custompress_page_cp_main-network',
'custompress_page_ct_export-network' ) );
include_once 'ext/wpmudev-dash-notification.php';