[wp-trac] [WordPress Trac] #47524: Predefined value of param is wrong in \Walker_Nav_Menu::start_lvl
WordPress Trac
noreply at wordpress.org
Tue Jun 11 10:44:26 UTC 2019
#47524: Predefined value of param is wrong in \Walker_Nav_Menu::start_lvl
--------------------------+------------------------------
Reporter: trasweb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: | Focuses: docs
--------------------------+------------------------------
Comment (by trasweb):
Hi, @mukesh27. You're welcome
I think that is not good option. To that method, it's passed `$args` as an
object. So that, comment is perfect. Predetermined value is the wrong.
Replying to [comment:1 mukesh27]:
> Hi @trasweb, welcome to WordPress Trac! Thanks for the ticket.
>
> Can we use below doc changes
>
> {{{* @param stdClass $args An object of wp_nav_menu() arguments.}}}
>
> Replace to
>
> {{{* @param array $args An array of arguments. @see
wp_nav_menu()}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47524#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list