Docs: Improve the file header for class-wp-widget.php to describe what the file contains.

Also rewrites the class DocBlock summary for `WP_Widget` to better describe the '''purpose''' of the class.

See #33413. See #33701.

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


git-svn-id: http://core.svn.wordpress.org/trunk@33837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-09-03 02:50:21 +00:00
parent ab990ac594
commit a92dc6aeed
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
/** /**
* WP_Widget class, base class for creating widgets * Widgets API: WP_Widget base class
* *
* @package WordPress * @package WordPress
* @subpackage Widgets * @subpackage Widgets
@ -8,7 +8,7 @@
*/ */
/** /**
* Class extended to register widgets for the core Widgets API. * Core base class extended to register widgets.
* *
* This class must be extended for each widget and WP_Widget::widget(), WP_Widget::update() * This class must be extended for each widget and WP_Widget::widget(), WP_Widget::update()
* and WP_Widget::form() need to be overridden. * and WP_Widget::form() need to be overridden.

View File

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