[wp-trac] [WordPress Trac] #29890: Make menu descriptions available to be displayed on the front-end

WordPress Trac noreply at wordpress.org
Wed Oct 8 15:49:34 UTC 2014


#29890: Make menu descriptions available to be displayed on the front-end
-------------------------+-----------------------
 Reporter:  obenland     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.1
Component:  Menus        |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  template
-------------------------+-----------------------

Comment (by obenland):

 Hm, looks like I ended up not submitting a comment I had written.

 In [attachment:29890.2.diff]:

 * Added a leading whitespace to the span element to avoid title and
 description running into each other.
 * Renamed the `wp_nav_menu()` argument to `show_description` to make it
 clearer it expects a boolean.

 I do like Drew's suggestion of `show_descriptions`, to make it clearer
 it's about multiple item descriptions, and not a possible menu
 description.

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


More information about the wp-trac mailing list