mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
Docs: Improve documentation for optional parameters per the documentation standards.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48197 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -546,7 +546,7 @@ class WP_Customize_Setting {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @param mixed $default A default value which is used as a fallback. Default is null.
|
||||
* @param mixed $default A default value which is used as a fallback. Default null.
|
||||
* @return mixed The default value on failure, otherwise the sanitized and validated value.
|
||||
*/
|
||||
final public function post_value( $default = null ) {
|
||||
@@ -848,7 +848,7 @@ class WP_Customize_Setting {
|
||||
*
|
||||
* @param $root
|
||||
* @param $keys
|
||||
* @param bool $create Default is false.
|
||||
* @param bool $create Default false.
|
||||
* @return array|void Keys are 'root', 'node', and 'key'.
|
||||
*/
|
||||
final protected function multidimensional( &$root, $keys, $create = false ) {
|
||||
@@ -929,7 +929,7 @@ class WP_Customize_Setting {
|
||||
*
|
||||
* @param $root
|
||||
* @param $keys
|
||||
* @param mixed $default A default value which is used as a fallback. Default is null.
|
||||
* @param mixed $default A default value which is used as a fallback. Default null.
|
||||
* @return mixed The requested value or the default value.
|
||||
*/
|
||||
final protected function multidimensional_get( $root, $keys, $default = null ) {
|
||||
|
||||
Reference in New Issue
Block a user