2007-05-25 03:16:21 -04:00
|
|
|
<?php
|
2008-08-11 16:26:31 -04:00
|
|
|
/**
|
|
|
|
* Includes all of the WordPress Administration API files.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
2007-05-25 03:16:21 -04:00
|
|
|
|
2012-01-27 17:19:56 -05:00
|
|
|
if ( ! defined('WP_ADMIN') ) {
|
|
|
|
// 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.
|
|
|
|
load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' );
|
|
|
|
}
|
|
|
|
|
2008-08-11 16:26:31 -04:00
|
|
|
/** WordPress Bookmark Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/bookmark.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Comment Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/comment.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Administration File API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Image Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/image.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Media Administration API */
|
2008-01-09 03:14:29 -05:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/media.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Import Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/import.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Misc Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/misc.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Plugin Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Post Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/post.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
2011-09-26 17:32:10 -04:00
|
|
|
/** WordPress Administration Screen API */
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/screen.php');
|
|
|
|
|
2008-08-11 16:26:31 -04:00
|
|
|
/** WordPress Taxonomy Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/taxonomy.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Template Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/template.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
2010-11-01 04:56:27 -04:00
|
|
|
/** WordPress List Table Administration API and base class */
|
2010-10-24 20:12:41 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
|
2011-01-13 18:19:51 -05:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/list-table.php');
|
2010-08-21 14:08:42 -04:00
|
|
|
|
2008-08-11 16:26:31 -04:00
|
|
|
/** WordPress Theme Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/theme.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress User Administration API */
|
2007-05-25 03:16:21 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/user.php');
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Update Administration API */
|
2007-08-17 06:33:52 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/update.php');
|
2007-05-25 03:16:21 -04:00
|
|
|
|
2010-01-25 13:50:01 -05:00
|
|
|
/** WordPress Deprecated Administration API */
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/deprecated.php');
|
|
|
|
|
2011-11-30 19:36:19 -05:00
|
|
|
/** WordPress Multisite support API */
|
2010-01-25 14:46:24 -05:00
|
|
|
if ( is_multisite() ) {
|
2010-01-06 23:33:41 -05:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/ms.php');
|
2010-01-25 14:46:24 -05:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
|
|
|
|
}
|