mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +01:00
e24681632e
While these classes are intended for admin use, there are developers out there who include `wp-admin/includes/template.php` to access them in other contexts. There is no intention to continue to support this indefinitely, but a breaking change like that would need to happen very early in a cycle and communicated loudly. In the meantime, if you're reading this commit message and you do the above, please update your code to not do that. Thank you :) fixes #33413. Built from https://develop.svn.wordpress.org/trunk@35740 git-svn-id: http://core.svn.wordpress.org/trunk@35704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
87 lines
2.8 KiB
PHP
87 lines
2.8 KiB
PHP
<?php
|
|
/**
|
|
* Core Administration API
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
* @since 2.3.0
|
|
*/
|
|
|
|
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' );
|
|
}
|
|
|
|
/** WordPress Administration Hooks */
|
|
require_once(ABSPATH . 'wp-admin/includes/admin-filters.php');
|
|
|
|
/** WordPress Bookmark Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/bookmark.php');
|
|
|
|
/** WordPress Comment Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/comment.php');
|
|
|
|
/** WordPress Administration File API */
|
|
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
|
|
|
/** WordPress Image Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/image.php');
|
|
|
|
/** WordPress Media Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/media.php');
|
|
|
|
/** WordPress Import Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/import.php');
|
|
|
|
/** WordPress Misc Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/misc.php');
|
|
|
|
/** WordPress Options Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/options.php');
|
|
|
|
/** WordPress Plugin Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
|
|
|
/** WordPress Post Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/post.php');
|
|
|
|
/** WordPress Administration Screen API */
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-screen.php');
|
|
require_once(ABSPATH . 'wp-admin/includes/screen.php');
|
|
|
|
/** WordPress Taxonomy Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/taxonomy.php');
|
|
|
|
/** WordPress Template Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/template.php');
|
|
|
|
/** WordPress List Table Administration API and base class */
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
|
|
require_once(ABSPATH . 'wp-admin/includes/list-table.php');
|
|
|
|
/** WordPress Theme Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/theme.php');
|
|
|
|
/** WordPress User Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/user.php');
|
|
|
|
/** WordPress Site Icon API */
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-site-icon.php');
|
|
|
|
/** WordPress Update Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/update.php');
|
|
|
|
/** WordPress Deprecated Administration API */
|
|
require_once(ABSPATH . 'wp-admin/includes/deprecated.php');
|
|
|
|
/** WordPress Multisite support API */
|
|
if ( is_multisite() ) {
|
|
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');
|
|
}
|