From 543420158f86ae8cd3ed35a1670bc3a2f7d3f611 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 19 Dec 2015 09:00:26 +0000 Subject: [PATCH] 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 --- wp-includes/deprecated.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 39f3e43802..041f9717f6 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -2098,10 +2098,10 @@ function attribute_escape( $text ) { * @deprecated 2.8.0 Use wp_register_sidebar_widget() * @see wp_register_sidebar_widget() * - * @param string|int $name Widget ID. - * @param callable $output_callback Run when widget is called. - * @param string $classname Classname widget option. - * @param mixed $params ,... Widget parameters. + * @param string|int $name Widget ID. + * @param callable $output_callback Run when widget is called. + * @param string $classname Optional. Classname widget option. Default empty. + * @param mixed $params ,... Widget parameters. */ function register_sidebar_widget($name, $output_callback, $classname = '') { _deprecated_function( __FUNCTION__, '2.8', 'wp_register_sidebar_widget()' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 83518a325a..c6c9f9b8d3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.