2007-05-25 03:16:21 -04:00
|
|
|
<?php
|
2008-08-11 16:26:31 -04:00
|
|
|
/**
|
2015-10-14 18:32:24 -04:00
|
|
|
* Core Administration API
|
2008-08-11 16:26:31 -04:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
2015-10-14 18:32:24 -04:00
|
|
|
* @since 2.3.0
|
2008-08-11 16:26:31 -04:00
|
|
|
*/
|
2007-05-25 03:16:21 -04:00
|
|
|
|
2017-11-30 18:11:00 -05:00
|
|
|
if ( ! defined( 'WP_ADMIN' ) ) {
|
2014-07-17 05:14:16 -04: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 17:19:56 -05:00
|
|
|
load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' );
|
|
|
|
}
|
|
|
|
|
2015-05-29 13:04:26 -04:00
|
|
|
/** WordPress Administration Hooks */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/admin-filters.php' );
|
2015-05-29 13:04:26 -04:00
|
|
|
|
2008-08-11 16:26:31 -04:00
|
|
|
/** WordPress Bookmark Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/bookmark.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Comment Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/comment.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Administration File API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/file.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Image Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Media Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/media.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Import Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/import.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Misc Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/misc.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
2015-09-10 17:45:24 -04:00
|
|
|
/** WordPress Options Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/options.php' );
|
2015-09-10 17:45:24 -04:00
|
|
|
|
2008-08-11 16:26:31 -04:00
|
|
|
/** WordPress Plugin Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Post Administration API */
|
2017-11-30 18:11:00 -05: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 */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-screen.php' );
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/screen.php' );
|
2011-09-26 17:32:10 -04:00
|
|
|
|
2008-08-11 16:26:31 -04:00
|
|
|
/** WordPress Taxonomy Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/taxonomy.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress Template Administration API */
|
2017-11-30 18:11:00 -05: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 */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table-compat.php' );
|
|
|
|
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 */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/theme.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
|
|
|
/** WordPress User Administration API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/user.php' );
|
2008-08-11 16:26:31 -04:00
|
|
|
|
2016-08-31 12:31:29 -04:00
|
|
|
/** WordPress Site Icon API */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-site-icon.php' );
|
2016-08-31 12:31:29 -04:00
|
|
|
|
2008-08-11 16:26:31 -04:00
|
|
|
/** WordPress Update Administration API */
|
2017-11-30 18:11:00 -05: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 */
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/deprecated.php' );
|
2010-01-25 13:50:01 -05:00
|
|
|
|
2011-11-30 19:36:19 -05:00
|
|
|
/** WordPress Multisite support API */
|
2010-01-25 14:46:24 -05:00
|
|
|
if ( is_multisite() ) {
|
2017-11-30 18:11:00 -05:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/ms-admin-filters.php' );
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/ms.php' );
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/ms-deprecated.php' );
|
2010-01-25 14:46:24 -05:00
|
|
|
}
|