mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Docs: Switch to the more common syntax for variadic function documentation.
See #37402 git-svn-id: https://develop.svn.wordpress.org/trunk@45418 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2109,7 +2109,7 @@ function attribute_escape( $text ) {
|
||||
* @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.
|
||||
* @param mixed ...$params Widget parameters.
|
||||
*/
|
||||
function register_sidebar_widget($name, $output_callback, $classname = '') {
|
||||
_deprecated_function( __FUNCTION__, '2.8.0', 'wp_register_sidebar_widget()' );
|
||||
|
||||
Reference in New Issue
Block a user