Make WordPress Core

Changeset 36027


Ignore:
Timestamp:
12/19/2015 08:59:49 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Properly mark the $classname parameter as optional.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r36026 r36027  
    20992099 * @see wp_register_sidebar_widget()
    21002100 *
    2101  * @param string|int $name Widget ID.
    2102  * @param callable $output_callback Run when widget is called.
    2103  * @param string $classname Classname widget option.
    2104  * @param mixed $params ,... Widget parameters.
     2101 * @param string|int $name            Widget ID.
     2102 * @param callable   $output_callback Run when widget is called.
     2103 * @param string     $classname       Optional. Classname widget option. Default empty.
     2104 * @param mixed      $params ,...    Widget parameters.
    21052105 */
    21062106function register_sidebar_widget($name, $output_callback, $classname = '') {
Note: See TracChangeset for help on using the changeset viewer.