Opened 13 years ago
Closed 12 years ago
#26880 closed enhancement (wontfix)
Allow html in nav menu item descriptions
| Reported by: | schonert | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Menus | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Atm. the wp menu builder strips all html from the wp_nav_menu_description. In case the description needs to be multiple lines, it requires a hardfix - which prevents possible updates.
Removing the esc_html() from from the menu builder, and adding it to the walker, would give us as developers the ability to control this behavior.
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Due to the scaling issues with nav menus (#14134, etc.), and because not allowing html will probably result in generally smaller descriptions, I don't think we should do this.