#12544 closed defect (bug) (fixed)
nav menu - need to strip tags from item descriptions
| Reported by: | yoavf | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Menus | Version: | 3.0 |
| Severity: | major | Keywords: | has-patch |
| Cc: | Focuses: |
Description
wp_setup_nav_menu_item( ) uses $menu_item->post_content as a fallback for $menu_item->description.
It needs to be stripped of tags or else the HTML might break the post editing menu
Attachments (1)
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)
We should probably create filters for the menu fields and add them to the approproate places in default-filters.php.