mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-17 11:02:55 +02:00
* Galleries are managed in the widget in the same way they are managed in the post editor, both using the media manager. * Gallery widget is merged from the Core Media Widgets v0.2.0 feature plugin and it extends `WP_Widget_Media` in the same way as is done for image, audio, and video widgets. * Model syncing logic is updated to support booleans and arrays (of integers). * Placeholder areas in media widgets are now clickable shortcuts for selecting media. * Image widget placeholder is updated to match gallery widget where clicking preview is shortcut for editing media. Props westonruter, joemcgill, timmydcrawford, m1tk00, obenland, melchoyce. See #32417. Fixes #41914. Built from https://develop.svn.wordpress.org/trunk@41590 git-svn-id: http://core.svn.wordpress.org/trunk@41423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
66 lines
2.1 KiB
PHP
66 lines
2.1 KiB
PHP
<?php
|
|
/**
|
|
* Widget API: Default core widgets
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Widgets
|
|
* @since 2.8.0
|
|
*/
|
|
|
|
/** WP_Widget_Pages class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-pages.php' );
|
|
|
|
/** WP_Widget_Links class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-links.php' );
|
|
|
|
/** WP_Widget_Search class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-search.php' );
|
|
|
|
/** WP_Widget_Archives class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-archives.php' );
|
|
|
|
/** WP_Widget_Media class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-media.php' );
|
|
|
|
/** WP_Widget_Media_Audio class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-media-audio.php' );
|
|
|
|
/** WP_Widget_Media_Image class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-media-image.php' );
|
|
|
|
/** WP_Widget_Media_Video class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-media-video.php' );
|
|
|
|
/** WP_Widget_Media_Gallery class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-media-gallery.php' );
|
|
|
|
/** WP_Widget_Meta class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-meta.php' );
|
|
|
|
/** WP_Widget_Calendar class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-calendar.php' );
|
|
|
|
/** WP_Widget_Text class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-text.php' );
|
|
|
|
/** WP_Widget_Categories class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-categories.php' );
|
|
|
|
/** WP_Widget_Recent_Posts class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-recent-posts.php' );
|
|
|
|
/** WP_Widget_Recent_Comments class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-recent-comments.php' );
|
|
|
|
/** WP_Widget_RSS class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-rss.php' );
|
|
|
|
/** WP_Widget_Tag_Cloud class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-tag-cloud.php' );
|
|
|
|
/** WP_Nav_Menu_Widget class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-nav-menu-widget.php' );
|
|
|
|
/** WP_Widget_Custom_HTML class */
|
|
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-custom-html.php' );
|