[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:52:45 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
-------------------------+-----------------------
Description changed by obenland:

Old description:

> When the refreshed menu UI was introduced in r14248, it came with the
> possibility to add a description to each menu item. When that description
> textarea is displayed,
> [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-admin/includes
> /nav-menu.php#L182 it's accompanied by the help text]:
>
> {{{The description will be displayed in the menu if the current theme
> supports it.}}}
>
> Yet there is currently no way for themes (that I'm aware of) to actually
> display these descriptions. Let's change that!
>
> Added incentive would be one less callback in Twenty Fifteen.

New description:

 When the refreshed menu UI was introduced in r14248, it came with the
 possibility to add a description to each menu item. When that description
 textarea is displayed,
 [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-admin/includes
 /nav-menu.php#L182 it's accompanied by the help text]:

 {{{The description will be displayed in the menu if the current theme
 supports it.}}}

 Yet there is currently no way for themes (that I'm aware of) to actually
 display these descriptions. Let's change that!

 Added incentive would be one less callback in #29799 Twenty Fifteen.

--

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


More information about the wp-trac mailing list