[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 09:53:01 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
--------------------------+------------------------------
Changes (by mukesh27):

 * focuses:   => docs


Comment:

 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:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list