[wp-trac] [WordPress Trac] #31218: nav-menu.js menu item added event

WordPress Trac noreply at wordpress.org
Fri Feb 20 13:59:57 UTC 2015


#31218: nav-menu.js menu item added event
------------------------------------+------------------------------
 Reporter:  welcher                 |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Menus                   |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  javascript
------------------------------------+------------------------------

Comment (by welcher):

 Replying to [comment:11 adamsilverstein]:
 > [attachment:31218_5.diff​]: slight code standards cleanup (whitespace!).
 >
 > @welcher - Thanks for the JS docs, now seems sorely lacking from the
 addMenuItemToTop function, can you add that? :)
 >

 Patch updated. I also remove an extraneous parameter in the JS docs that
 didn't exists in either method declaration and indicated how each of the
 method adds the new menu item.

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


More information about the wp-trac mailing list