Docs: Add inline-docblocks for the `require_once()` calls that now bring in the `WP_Widget` and `WP_Widget_Factory` classes, as well as general core widgets functionality, as of [33746].

See [33746]. See #33413.

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


git-svn-id: http://core.svn.wordpress.org/trunk@33726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-08-26 08:01:20 +00:00
parent f21cb339db
commit fb75e4b938
2 changed files with 13 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-33757'; $wp_version = '4.4-alpha-33758';
/** /**
* 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.

View File

@ -1,7 +1,9 @@
<?php <?php
/** /**
* API for creating dynamic sidebar without hardcoding functionality into * API for creating dynamic sidebar without hardcoding functionality into
* themes. Includes both internal WordPress routines and theme use routines. * themes
*
* Includes both internal WordPress routines and theme use routines.
* *
* This functionality was found in a plugin before WordPress 2.2 release which * This functionality was found in a plugin before WordPress 2.2 release which
* included it in the core from that point on. * included it in the core from that point on.
@ -13,7 +15,9 @@
* @subpackage Widgets * @subpackage Widgets
*/ */
/* Global Variables */ //
// Global Variables
//
/** @ignore */ /** @ignore */
global $wp_registered_sidebars, $wp_registered_widgets, $wp_registered_widget_controls, $wp_registered_widget_updates; global $wp_registered_sidebars, $wp_registered_widgets, $wp_registered_widget_controls, $wp_registered_widget_updates;
@ -83,6 +87,11 @@ $GLOBALS['_wp_deprecated_widgets_callbacks'] = array(
'wp_widget_recent_comments_control' 'wp_widget_recent_comments_control'
); );
/** WP_Widget class */
require_once( ABSPATH . WPINC . '/class-wp-widget.php' ); require_once( ABSPATH . WPINC . '/class-wp-widget.php' );
/** WP_Widget_Factory class */
require_once( ABSPATH . WPINC . '/class-wp-widget-factory.php' ); require_once( ABSPATH . WPINC . '/class-wp-widget-factory.php' );
require_once( ABSPATH . WPINC . '/widget-functions.php' );
/** Core widgets functionality */
require_once( ABSPATH . WPINC . '/widget-functions.php' );