mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Correct a few @param
docs for $walker
.
Props dnaber-de. Fixes #29011. Built from https://develop.svn.wordpress.org/trunk@29293 git-svn-id: http://core.svn.wordpress.org/trunk@29075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c82fb81e14
commit
0005433983
@ -1889,7 +1889,7 @@ class Walker_Comment extends Walker {
|
|||||||
* @param string|array $args {
|
* @param string|array $args {
|
||||||
* Optional. Formatting options.
|
* Optional. Formatting options.
|
||||||
*
|
*
|
||||||
* @type string $walker The Walker class used to list comments. Default null.
|
* @type object $walker Instance of a Walker class to list comments. Default null.
|
||||||
* @type int $max_depth The maximum comments depth. Default empty.
|
* @type int $max_depth The maximum comments depth. Default empty.
|
||||||
* @type string $style The style of list ordering. Default 'ul'. Accepts 'ul', 'ol'.
|
* @type string $style The style of list ordering. Default 'ul'. Accepts 'ul', 'ol'.
|
||||||
* @type string $callback Callback function to use. Default null.
|
* @type string $callback Callback function to use. Default null.
|
||||||
|
@ -215,7 +215,7 @@ class Walker_Nav_Menu extends Walker {
|
|||||||
* @type string $link_after Text after the link. Default empty.
|
* @type string $link_after Text after the link. Default empty.
|
||||||
* @type bool $echo Whether to echo the menu or return it. Default true.
|
* @type bool $echo Whether to echo the menu or return it. Default true.
|
||||||
* @type int $depth How many levels of the hierarchy are to be included. 0 means all. Default 0.
|
* @type int $depth How many levels of the hierarchy are to be included. 0 means all. Default 0.
|
||||||
* @type string $walker Allows a custom walker class to be specified. Default empty.
|
* @type object $walker Instance of a custom walker class. Default empty.
|
||||||
* @type string $theme_location Theme location to be used. Must be registered with register_nav_menu()
|
* @type string $theme_location Theme location to be used. Must be registered with register_nav_menu()
|
||||||
* in order to be selectable by the user.
|
* in order to be selectable by the user.
|
||||||
* @type string $items_wrap How the list items should be wrapped. Default is a ul with an id and class.
|
* @type string $items_wrap How the list items should be wrapped. Default is a ul with an id and class.
|
||||||
|
Loading…
Reference in New Issue
Block a user