2007-05-25 09:16:21 +02:00
|
|
|
<?php
|
2008-08-11 22:26:31 +02:00
|
|
|
/**
|
2015-10-15 00:31:55 +02:00
|
|
|
* Core Administration API
|
2008-08-11 22:26:31 +02:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
2015-10-15 00:31:55 +02:00
|
|
|
* @since 2.3.0
|
2008-08-11 22:26:31 +02:00
|
|
|
*/
|
2007-05-25 09:16:21 +02:00
|
|
|
|
2012-01-27 23:19:56 +01:00
|
|
|
if ( ! defined('WP_ADMIN') ) {
|
2014-07-17 11:13:53 +02:00
|
|
|
/*
|
|
|
|
* This file is being included from a file other than wp-admin/admin.php, so
|
|
|
|
* some setup was skipped. Make sure the admin message catalog is loaded since
|
|
|
|
* load_default_textdomain() will not have done so in this context.
|
|
|
|
*/
|
2012-01-27 23:19:56 +01:00
|
|
|
load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' );
|
|
|
|
}
|
|
|
|
|
2015-05-29 19:03:13 +02:00
|
|
|
/** WordPress Administration Hooks */
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/admin-filters.php');
|
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Bookmark Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/bookmark.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Comment Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/comment.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Administration File API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Image Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/image.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Media Administration API */
|
2008-01-09 09:14:29 +01:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/media.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Import Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/import.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Misc Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/misc.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
2015-09-10 23:44:29 +02:00
|
|
|
/** WordPress Options Administration API */
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/options.php');
|
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Plugin Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Post Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/post.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
2011-09-26 23:32:10 +02:00
|
|
|
/** WordPress Administration Screen API */
|
2016-08-31 18:30:48 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-screen.php');
|
2011-09-26 23:32:10 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/screen.php');
|
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Taxonomy Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/taxonomy.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Template Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/template.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
2010-11-01 09:56:27 +01:00
|
|
|
/** WordPress List Table Administration API and base class */
|
2016-08-31 18:30:48 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table-compat.php');
|
2011-01-14 00:19:51 +01:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/list-table.php');
|
2010-08-21 20:08:42 +02:00
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Theme Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/theme.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress User Administration API */
|
2007-05-25 09:16:21 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/user.php');
|
2008-08-11 22:26:31 +02:00
|
|
|
|
2016-08-31 18:30:48 +02:00
|
|
|
/** WordPress Site Icon API */
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-site-icon.php');
|
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Update Administration API */
|
2007-08-17 12:33:52 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/update.php');
|
2007-05-25 09:16:21 +02:00
|
|
|
|
2010-01-25 19:50:01 +01:00
|
|
|
/** WordPress Deprecated Administration API */
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/deprecated.php');
|
|
|
|
|
2011-12-01 01:36:19 +01:00
|
|
|
/** WordPress Multisite support API */
|
2010-01-25 20:46:24 +01:00
|
|
|
if ( is_multisite() ) {
|
2015-05-29 19:03:13 +02:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/ms-admin-filters.php');
|
2010-01-07 05:33:41 +01:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/ms.php');
|
2010-01-25 20:46:24 +01:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
|
|
|
|
}
|