wordpress-develop/src/wp-includes/default-widgets.php
Scott Taylor 1e084b6eaa Move widget classes to their own files in wp-includes/widgets:
* `default-widgets.php` now requires all of the individual classes
* Move the functions scattered about this file to `widget-functions.php`, which loads before `default-widgets.php`, which only conditionally loads anyway in `wp_maybe_load_widgets()`, which is hooked on `plugins_loaded` 

See #33413, #23012.


git-svn-id: https://develop.svn.wordpress.org/trunk@33843 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-01 13:49:00 +00:00

22 lines
1.0 KiB
PHP

<?php
/**
* Default Widgets
*
* @package WordPress
* @subpackage Widgets
*/
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-pages.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-links.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-search.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-archives.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-meta.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-calendar.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-text.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-categories.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-recent-posts.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-recent-comments.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-rss.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-tag-cloud.php' );
require_once( ABSPATH . WPINC . '/widgets/class-wp-nav-menu-widget.php' );