Docs: Add a file header to wp-includes/class-wp-widget.php, created when the `WP_Widget` class was moved to its own file in [33746].
It's important for every file in WordPress, regardless of makeup or architecture, to have its own file header, even if the file contains nothing but a class. When parsed, files and classes are mutually exclusive and should be documented with this in mind. See [33746]. See #33413. Built from https://develop.svn.wordpress.org/trunk@33755 git-svn-id: http://core.svn.wordpress.org/trunk@33723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
10503cd3af
commit
2aa0a42661
|
@ -1,11 +1,20 @@
|
|||
<?php
|
||||
/**
|
||||
* This class must be extended for each widget and WP_Widget::widget(), WP_Widget::update()
|
||||
* and WP_Widget::form() need to be over-ridden.
|
||||
* Class file for WP_Widget
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Widgets
|
||||
* @since 4.4.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* WP_Widget class.
|
||||
*
|
||||
* This class must be extended for each widget and WP_Widget::widget(), WP_Widget::update()
|
||||
* and WP_Widget::form() need to be overridden.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 4.4.0 Moved to its own file from wp-includes/widgets.php
|
||||
*/
|
||||
class WP_Widget {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-33754';
|
||||
$wp_version = '4.4-alpha-33755';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue