Commit Graph

2 Commits

Author SHA1 Message Date
Drew Jaynes
f21cb339db Docs: Add a file header description and @since version to wp-includes/widget-functions.php, introduced in [33746].
Also adds sub-section headers per the inline documentation standards for syntax.

See [33746]. See #33413.

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


git-svn-id: http://core.svn.wordpress.org/trunk@33725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-26 07:57:20 +00:00
Scott Taylor
c3565b2cba Widgets: move classes into their own files, widgets.php loads the new files, so this is 100% BC if someone is loading widgets.php directly. New files created using svn cp.
Creates: 
`class-wp-widget.php` 
`class-wp-widget-factory.php` 
`widget-functions.php` 

`widgets.php` contains only top-level code. Class files only contain classes. Functions file only contains functions.

See #33413.

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


git-svn-id: http://core.svn.wordpress.org/trunk@33714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-26 02:40:23 +00:00