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.


git-svn-id: https://develop.svn.wordpress.org/trunk@33869 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2015-09-03 02:49:39 +00:00
parent b75e5cdfd8
commit 4c5276edcf

View File

@@ -1,6 +1,6 @@
<?php
/**
* WP_Widget class, base class for creating widgets
* Widgets API: WP_Widget base class
*
* @package WordPress
* @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()
* and WP_Widget::form() need to be overridden.