WordPress/wp-includes/default-widgets.php
Scott Taylor 9b8169bd30 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.

Built from https://develop.svn.wordpress.org/trunk@33843


git-svn-id: http://core.svn.wordpress.org/trunk@33811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-01 13:49:21 +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' );