PluginProbe
WPGlobus / trunk
WPGlobus vtrunk
3.0.5 3.0.4 trunk 2.1.15 2.10.10 2.12.2 2.2.35 2.3.12 2.4.17 2.5.23 2.6.8 2.7.14 2.8.11 3.0.0 3.0.1 3.0.2 3.0.3
wpglobus / includes / admin / wpglobus-admin.php

wpglobus-admin.php in WPGlobus trunk, at includes/admin/wpglobus-admin.php

47 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Admin
4 *
5 * @since 1.8.1
6 * @package WPGlobus
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit; // Exit if accessed directly
11 }
12
13 /**
14 * Admin page central.
15 *
16 * @since 1.6.6
17 */
18 require_once dirname( __FILE__ ) . '/central/class-wpglobus-admin-central.php';
19 WPGlobus_Admin_Central::construct();
20
21 /**
22 * WPGlobus_Register_Post_Types
23 *
24 * @since 2.2.24
25 */
26 require_once dirname( __FILE__ ) . '/register-post-types/class-wpglobus-register-post-types.php';
27 WPGlobus_Register_Post_Types::construct();
28
29 /**
30 * WPGlobus_Admin_Post
31 *
32 * @since 2.4
33 */
34 require_once dirname( __FILE__ ) . '/class-wpglobus-admin-post.php';
35 WPGlobus_Admin_Post::construct();
36
37 if ( WPGlobus_WP::get_http_get_parameter( 'wpglobus-debug' ) ) { // WPCS: input var ok, sanitization ok.
38 /**
39 * To load debug info
40 * site/wp-admin/post.php?post={{post_ID}}&action=edit&wpglobus-debug=godmode
41 * or
42 * site/wp-admin/post.php?post={{post_ID}}&action=edit&wpglobus-debug=meta
43 */
44 require_once dirname( __FILE__ ) . '/debug/class-wpglobus-admin-debug.php';
45 WPGlobus_Admin_Debug::get_instance();
46 }
47