Docs: Properly mark the $classname parameter as optional.

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-12-19 08:59:49 +00:00
parent bb8067b666
commit 44fc67cc24

View File

@ -2100,7 +2100,7 @@ function attribute_escape( $text ) {
* *
* @param string|int $name Widget ID. * @param string|int $name Widget ID.
* @param callable $output_callback Run when widget is called. * @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. * @param mixed $params ,... Widget parameters.
*/ */
function register_sidebar_widget($name, $output_callback, $classname = '') { function register_sidebar_widget($name, $output_callback, $classname = '') {