Correct a few `@param` docs for `$walker`.

Props dnaber-de.
Fixes #29011.


git-svn-id: https://develop.svn.wordpress.org/trunk@29293 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-07-24 22:24:07 +00:00
parent 6e74d46d94
commit f0318988c4
2 changed files with 2 additions and 2 deletions

View File

@ -1889,7 +1889,7 @@ class Walker_Comment extends Walker {
* @param string|array $args {
* 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 string $style The style of list ordering. Default 'ul'. Accepts 'ul', 'ol'.
* @type string $callback Callback function to use. Default null.

View File

@ -215,7 +215,7 @@ class Walker_Nav_Menu extends Walker {
* @type string $link_after Text after the link. Default empty.
* @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 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()
* 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.