Make WordPress Core


Ignore:
Timestamp:
06/28/2020 11:47:45 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for optional parameters per the documentation standards.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r48067 r48197  
    547547         * @since 3.4.0
    548548         *
    549          * @param mixed $default A default value which is used as a fallback. Default is null.
     549         * @param mixed $default A default value which is used as a fallback. Default null.
    550550         * @return mixed The default value on failure, otherwise the sanitized and validated value.
    551551         */
    … …  
    849849         * @param $root
    850850         * @param $keys
    851          * @param bool $create Default is false.
     851         * @param bool $create Default false.
    852852         * @return array|void Keys are 'root', 'node', and 'key'.
    853853         */
    … …  
    930930         * @param $root
    931931         * @param $keys
    932          * @param mixed $default A default value which is used as a fallback. Default is null.
     932         * @param mixed $default A default value which is used as a fallback. Default null.
    933933         * @return mixed The requested value or the default value.
    934934         */
Note: See TracChangeset for help on using the changeset viewer.