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

WordPress Trac noreply at wordpress.org
Thu Oct 8 18:26:15 UTC 2015


#33974: Theme preview breaks HTML code in theme menu
-------------------------------+---------------------------
 Reporter:  progmastery        |       Owner:  obenland
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  3.0
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  ui, template
-------------------------------+---------------------------
Changes (by obenland):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34950"]:
 {{{
 #!CommitTicketReference repository="" revision="34950"
 Template: Add fallback for empty containers.

 Since [14031] the container can be omitted in `wp_nav_menu()`. It can not
 however in `wp_page_menu()`, which creates a conflict if it is set as
 the fallback, Let's make sure there is always a valid container tag.

 Fixes #33974.
 }}}

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


More information about the wp-trac mailing list