Opened 2 years ago
#17409 new defect (bug)
Entity & in menu title breaks XHTML 1.0 Strict validation
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Menus | Version: | 3.1.2 |
| Severity: | normal | Keywords: | xmlParseEntityRef, wp_get_nav_menu_items |
| Cc: | domains@… |
Description
If i use & in the menu title and use $my_menu = wp_get_nav_menu_items("my_menu") and loop with foreach($my_menu as $menu_item) and connect for building the Menu on $menu_item->title, then an & in the page title or on the menu navigation label is convertet to a simple &, witch returns the validation error "xmlParseEntityRef: no name".
Note: See
TracTickets for help on using
tickets.
