Opened 3 years ago

Closed 3 years ago

#13349 closed defect (bug) (fixed)

remove p from wp_nav_menu_container_allowedtags

Reported by: jorbin Owned by: jorbin
Priority: low Milestone: 3.0
Component: Menus Version: 3.0
Severity: minor Keywords: has-patch
Cc: aaron@…

Description

p tags only shouldn't contain block level elements such as unordered lists. There for we should remove it from the default nav menu container tags.

http://www.w3.org/TR/html401/struct/text.html#h-9.3.1

Attachments (1)

nav-menu-template.diff (687 bytes) - added by jorbin 3 years ago.
remove p from allowed tags

Download all attachments as: .zip

Change History (3)

jorbin3 years ago

remove p from allowed tags

  • Cc aaron@… added
  • Keywords has-patch added
  • Owner set to jorbin
  • Status changed from new to assigned
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [14666]) Remove p tag from allowed nav menu container tags. Cannot validly contain block level elements. props Jorbin, fixes #13349.

Note: See TracTickets for help on using tickets.