2007-05-25 09:16:21 +02:00
|
|
|
<?php
|
2008-08-11 22:26:31 +02:00
|
|
|
/**
|
2015-10-15 00:32:24 +02:00
|
|
|
* Core Administration API
|
2008-08-11 22:26:31 +02:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
2015-10-15 00:32:24 +02:00
|
|
|
* @since 2.3.0
|
2008-08-11 22:26:31 +02:00
|
|
|
*/
|
2007-05-25 09:16:21 +02:00
|
|
|
|
2017-12-01 00:11:00 +01:00
|
|
|
if ( ! defined( 'WP_ADMIN' ) ) {
|
2014-07-17 11:14:16 +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:04:26 +02:00
|
|
|
/** WordPress Administration Hooks */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/admin-filters.php' );
|
2015-05-29 19:04:26 +02:00
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Bookmark Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/bookmark.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Comment Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/comment.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Administration File API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/file.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Image Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Media Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/media.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Import Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/import.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Misc Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/misc.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
2019-05-26 22:50:53 +02:00
|
|
|
/** WordPress Misc Administration API */
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php' );
|
|
|
|
|
2015-09-10 23:45:24 +02:00
|
|
|
/** WordPress Options Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/options.php' );
|
2015-09-10 23:45:24 +02:00
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Plugin Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Post Administration API */
|
2017-12-01 00:11:00 +01: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 */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-screen.php' );
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/screen.php' );
|
2011-09-26 23:32:10 +02:00
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Taxonomy Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/taxonomy.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** WordPress Template Administration API */
|
2017-12-01 00:11:00 +01: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 */
|
2017-12-01 00:11:00 +01: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 20:08:42 +02:00
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Theme Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/theme.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
2019-05-26 22:50:53 +02:00
|
|
|
/** WordPress Privacy Functions */
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/privacy-tools.php' );
|
|
|
|
|
|
|
|
/** WordPress Privacy List Table classes. */
|
2020-01-29 01:45:18 +01:00
|
|
|
// Previously in wp-admin/includes/user.php. Need to be loaded for backward compatibility.
|
2019-05-26 22:50:53 +02:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-requests-table.php' );
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php' );
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php' );
|
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress User Administration API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/user.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
2016-08-31 18:31:29 +02:00
|
|
|
/** WordPress Site Icon API */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/class-wp-site-icon.php' );
|
2016-08-31 18:31:29 +02:00
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** WordPress Update Administration API */
|
2017-12-01 00:11:00 +01: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 */
|
2017-12-01 00:11:00 +01:00
|
|
|
require_once( ABSPATH . 'wp-admin/includes/deprecated.php' );
|
2010-01-25 19:50:01 +01:00
|
|
|
|
2011-12-01 01:36:19 +01:00
|
|
|
/** WordPress Multisite support API */
|
2010-01-25 20:46:24 +01:00
|
|
|
if ( is_multisite() ) {
|
2017-12-01 00:11:00 +01: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 20:46:24 +01:00
|
|
|
}
|