[wp-trac] [WordPress Trac] #30540: Docblock for wp_get_nav_menu_to_edit in /wp-admin/includes/nav-menu.php incorrectly declares $menu_id param as string

WordPress Trac noreply at wordpress.org
Sun Nov 30 04:20:52 UTC 2014


#30540: Docblock for wp_get_nav_menu_to_edit in /wp-admin/includes/nav-menu.php
incorrectly declares $menu_id param as string
--------------------------+-------------------
 Reporter:  dustyf        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.1
Component:  Menus         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-------------------

Comment (by DrewAPicture):

 Hi Jaime,

 Just two things to note for future reference that I've adjusted in
 [attachment:30540.2.patch]:
 * The parameter is optional so we need to mark it as such with the default
 value
 * Patches should be generated from the project root directory

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30540#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list