[wp-trac] [WordPress Trac] #33974: Theme preview breaks HTML code in theme menu
WordPress Trac
noreply at wordpress.org
Wed Sep 23 11:02:42 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 | Keywords:
Focuses: ui, template |
--------------------------+-----------------------------
Theme preview modifies HTML code of navigation menu in some themes.
Here is an example:
https://wordpress.org/themes/best-magazine/
https://wp-themes.com/best-magazine/
This is how it should be
http://themedemo.web-dorado.com/bestmagazine/
nav menu call parameters:
wp_nav_menu( array(
'show_home' => true,
'theme_location' => 'primary-menu',
'container' => false,
'container_class' => '',
'container_id' => '',
'menu_class' => 'top-nav-list',
'menu_id' => '',
'echo' => false,
'fallback_cb' => 'wp_page_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul id="top-nav-list" class=" %2$s">%3$s</ul>',
'depth' => 0,
'walker' => ''
));
It seems there is some problem with wrapping menu, but I don't know if
this is site issue or something related with WordPress version
(ver=4.4-alpha-34443). Therefore I submitted this ticket here , not in
w.org meta.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33974>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list