Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13349 closed defect (bug) (fixed)

remove p from wp_nav_menu_container_allowedtags

Reported by: jorbin's profile jorbin Owned by: jorbin's profile jorbin
Milestone: 3.0 Priority: low
Severity: minor Version: 3.0
Component: Menus Keywords: has-patch
Focuses: Cc:

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 14 years ago.
remove p from allowed tags

Download all attachments as: .zip

Change History (3)

@jorbin
14 years ago

remove p from allowed tags

#1 @jorbin
14 years ago

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

#2 @nacin
14 years ago

  • 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.