Docs: Properly mark the `$classname` parameter as optional.

See #32246.

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


git-svn-id: http://core.svn.wordpress.org/trunk@35992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-12-19 09:00:26 +00:00
parent eb158d65c7
commit 543420158f
2 changed files with 5 additions and 5 deletions

View File

@ -2100,7 +2100,7 @@ function attribute_escape( $text ) {
*
* @param string|int $name Widget ID.
* @param callable $output_callback Run when widget is called.
* @param string $classname Classname widget option.
* @param string $classname Optional. Classname widget option. Default empty.
* @param mixed $params ,... Widget parameters.
*/
function register_sidebar_widget($name, $output_callback, $classname = '') {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36026';
$wp_version = '4.5-alpha-36027';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.