Docs: Clarify the file header summary for wp-includes/default-widgets.php, the top-level file for bringing in the core widget classes.

Also adds inline DocBlocks for the widget classes now brought in via `require_once()` as of [33843].

See #33413. See #33701.

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


git-svn-id: http://core.svn.wordpress.org/trunk@34372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-09-22 13:36:25 +00:00
parent df81151f24
commit f980e7b9bb
2 changed files with 28 additions and 2 deletions

View File

@ -1,21 +1,47 @@
<?php <?php
/** /**
* Default Widgets * Widget API: Default core widgets
* *
* @package WordPress * @package WordPress
* @subpackage Widgets * @subpackage Widgets
* @since 2.8.0
*/ */
/** WP_Widget_Pages class */
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-pages.php' ); require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-pages.php' );
/** WP_Widget_Links class */
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-links.php' ); require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-links.php' );
/** WP_Widget_Search class */
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-search.php' ); require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-search.php' );
/** WP_Widget_Archives class */
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-archives.php' ); require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-archives.php' );
/** WP_Widget_Meta class */
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-meta.php' ); require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-meta.php' );
/** WP_Widget_Calendar class */
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-calendar.php' ); require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-calendar.php' );
/** WP_Widget_Text class */
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-text.php' ); require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-text.php' );
/** WP_Widget_Categories class */
require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-categories.php' ); 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' ); 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' ); 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' ); 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' ); 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' ); require_once( ABSPATH . WPINC . '/widgets/class-wp-nav-menu-widget.php' );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-34407'; $wp_version = '4.4-alpha-34408';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.