Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#13349 closed defect (bug) (fixed)

remove p from wp_nav_menu_container_allowedtags

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


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.


Attachments (1)

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

Download all attachments as: .zip

Change History (3)

8 years ago

remove p from allowed tags

#1 @jorbin
8 years ago

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

#2 @nacin
8 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.