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
|
|
|
|
2012-01-27 17:19:56 -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 */
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/admin-filters.php');
|
|
|
|
|
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
|
|
|
|
2015-09-10 17:45:24 -04:00
|
|
|
/** WordPress Options Administration API */
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/options.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 */
|
2015-09-15 00:08:24 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-screen.php');
|
2011-09-26 17:32:10 -04:00
|
|
|
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
|
|
|
|
Introducing Site Icon, favicon management for WordPress.
This v1 marries Jetpack's Site Icon module with the Media Modal, reusing code
from the Custom Header admin. For now, the core-provided icons will be limited
to a favicon, an iOS app icon, and a Windows tile icon, leaving `.ico` support
and additional icons to plugins to add.
Props obenland, tyxla, flixos90, jancbeck, markjaquith, scruffian.
See #16434.
Built from https://develop.svn.wordpress.org/trunk@32994
git-svn-id: http://core.svn.wordpress.org/trunk@32965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-29 08:58:25 -04:00
|
|
|
/** WordPress Site Icon API */
|
2015-06-30 10:37:27 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-site-icon.php');
|
Introducing Site Icon, favicon management for WordPress.
This v1 marries Jetpack's Site Icon module with the Media Modal, reusing code
from the Custom Header admin. For now, the core-provided icons will be limited
to a favicon, an iOS app icon, and a Windows tile icon, leaving `.ico` support
and additional icons to plugins to add.
Props obenland, tyxla, flixos90, jancbeck, markjaquith, scruffian.
See #16434.
Built from https://develop.svn.wordpress.org/trunk@32994
git-svn-id: http://core.svn.wordpress.org/trunk@32965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-29 08:58:25 -04:00
|
|
|
|
2016-03-03 14:56:26 -05:00
|
|
|
/** WordPress Custom Logo API */
|
2016-03-03 14:59:27 -05:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/class-wp-custom-logo.php');
|
Customize: Introduce Logo support for themes.
Allows a common theme feature to have a common implementation provided by core and available in a consistent location for users.
See https://make.wordpress.org/core/2016/02/24/theme-logo-support/
Props kwight, enejb, jeherve, bhubbard, samhotchkiss, zinigor, eliorivero, adamsilverstein, melchoyce, ryan, mikeschroder, westonruter, pento, karmatosed, celloexpressions, obenland.
See #33755.
Built from https://develop.svn.wordpress.org/trunk@36698
git-svn-id: http://core.svn.wordpress.org/trunk@36665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-24 17:10:26 -05:00
|
|
|
|
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() ) {
|
2015-05-29 13:04:26 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/ms-admin-filters.php');
|
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');
|
|
|
|
}
|