[wp-trac] [WordPress Trac] #33974: Theme preview breaks HTML code in theme menu

WordPress Trac noreply at wordpress.org
Wed Oct 7 13:57:13 UTC 2015


#33974: Theme preview breaks HTML code in theme menu
--------------------------+------------------------------
 Reporter:  progmastery   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui, template
--------------------------+------------------------------

Comment (by hvianna):

 Same problem here, with 4.4-alpha-34884

 I verified the problem only occurs when you have 'container' => false in
 wp_nav_menu() and there's no menu assigned to that location (i.e., menu is
 generated automatically by WP). It then adds a blank tag (the container,
 that shouldn't be added) which breaks the layout.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33974#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list