PageRenderTime 22ms CodeModel.GetById 13ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-admin/includes/admin.php

https://bitbucket.org/devbctph/futura_wp
PHP | 87 lines | 32 code | 22 blank | 33 comment | 2 complexity | 5c7b0c8c7acd69508d8f19c3c61a71c0 MD5 | raw file
 1<?php
 2/**
 3 * Core Administration API
 4 *
 5 * @package WordPress
 6 * @subpackage Administration
 7 * @since 2.3.0
 8 */
 9
10if ( ! defined('WP_ADMIN') ) {
11	/*
12	 * This file is being included from a file other than wp-admin/admin.php, so
13	 * some setup was skipped. Make sure the admin message catalog is loaded since
14	 * load_default_textdomain() will not have done so in this context.
15	 */
16	load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' );
17}
18
19/** WordPress Administration Hooks */
20require_once(ABSPATH . 'wp-admin/includes/admin-filters.php');
21
22/** WordPress Bookmark Administration API */
23require_once(ABSPATH . 'wp-admin/includes/bookmark.php');
24
25/** WordPress Comment Administration API */
26require_once(ABSPATH . 'wp-admin/includes/comment.php');
27
28/** WordPress Administration File API */
29require_once(ABSPATH . 'wp-admin/includes/file.php');
30
31/** WordPress Image Administration API */
32require_once(ABSPATH . 'wp-admin/includes/image.php');
33
34/** WordPress Media Administration API */
35require_once(ABSPATH . 'wp-admin/includes/media.php');
36
37/** WordPress Import Administration API */
38require_once(ABSPATH . 'wp-admin/includes/import.php');
39
40/** WordPress Misc Administration API */
41require_once(ABSPATH . 'wp-admin/includes/misc.php');
42
43/** WordPress Options Administration API */
44require_once(ABSPATH . 'wp-admin/includes/options.php');
45
46/** WordPress Plugin Administration API */
47require_once(ABSPATH . 'wp-admin/includes/plugin.php');
48
49/** WordPress Post Administration API */
50require_once(ABSPATH . 'wp-admin/includes/post.php');
51
52/** WordPress Administration Screen API */
53require_once(ABSPATH . 'wp-admin/includes/class-wp-screen.php');
54require_once(ABSPATH . 'wp-admin/includes/screen.php');
55
56/** WordPress Taxonomy Administration API */
57require_once(ABSPATH . 'wp-admin/includes/taxonomy.php');
58
59/** WordPress Template Administration API */
60require_once(ABSPATH . 'wp-admin/includes/template.php');
61
62/** WordPress List Table Administration API and base class */
63require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
64require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table-compat.php');
65require_once(ABSPATH . 'wp-admin/includes/list-table.php');
66
67/** WordPress Theme Administration API */
68require_once(ABSPATH . 'wp-admin/includes/theme.php');
69
70/** WordPress User Administration API */
71require_once(ABSPATH . 'wp-admin/includes/user.php');
72
73/** WordPress Site Icon API */
74require_once(ABSPATH . 'wp-admin/includes/class-wp-site-icon.php');
75
76/** WordPress Update Administration API */
77require_once(ABSPATH . 'wp-admin/includes/update.php');
78
79/** WordPress Deprecated Administration API */
80require_once(ABSPATH . 'wp-admin/includes/deprecated.php');
81
82/** WordPress Multisite support API */
83if ( is_multisite() ) {
84	require_once(ABSPATH . 'wp-admin/includes/ms-admin-filters.php');
85	require_once(ABSPATH . 'wp-admin/includes/ms.php');
86	require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
87}