WordPress.org

Make WordPress Core

Ticket #12812: menu_bug.html

File menu_bug.html, 2.9 KB (added by ryanhellyer, 4 years ago)

HTML showing ancestor/parent bugs

Line 
1<ul id="menu-menu-1" class="nav sf-menu"><li id="menu-item-1086" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/">Home</a></li> 
2<li id="menu-item-1013" class="menu-item menu-item-type-post_type current-page-ancestor current-menu-ancestor current-page-parent current_page_ancestor"><a href="http://localhost/wordpress/case-studies/">Case Studies</a></li> 
3<li id="menu-item-1025" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/services/">Services</a> 
4<ul class="sub-menu"> 
5        <li id="menu-item-1102" class="menu-item menu-item-type-custom"><a href="#">Column 1</a> 
6        <ul class="sub-menu"> 
7                <li id="menu-item-1095" class="menu-item menu-item-type-post_type current-menu-parent current_page_parent"><a href="http://localhost/wordpress/logo-design/services-provided/">Stability</a> 
8                <ul class="sub-menu"> 
9                        <li id="menu-item-1101" class="menu-item menu-item-type-post_type current-menu-item page_item page-item-562 current_page_item"><a href="http://localhost/wordpress/case-studies/premium-support/">Premium Support for menus</a></li> 
10                </ul> 
11</li> 
12                <li id="menu-item-1097" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/case-studies/pixopoint-menu-modules/">PixoPoint Menu Modules</a></li> 
13                <li id="menu-item-1096" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/case-studies/theme-integrator/">Installation of the PixoPoint theme Integrator</a></li> 
14        </ul> 
15</li> 
16        <li id="menu-item-1103" class="menu-item menu-item-type-custom"><a href="#">Column 2</a> 
17        <ul class="sub-menu"> 
18                <li id="menu-item-1100" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/case-studies/wordpress-development/">WordPress Development</a></li> 
19                <li id="menu-item-1099" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/case-studies/advanced-features/">Advanced Features</a></li> 
20                <li id="menu-item-1098" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/case-studies/pixopoint-menu/">Help for the PixoPoint menu plugin</a></li> 
21        </ul> 
22</li> 
23</ul> 
24</li> 
25<li id="menu-item-1083" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/logo-design/news-views/">News &#038; Views</a></li> 
26<li id="menu-item-1084" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/menu-generator/">Example</a></li> 
27<li id="menu-item-1087" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/case-studies/testimonials/">Testimonials</a></li> 
28<li id="menu-item-1088" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/case-studies/portfolio/">Portfolio</a></li> 
29<li id="menu-item-1085" class="menu-item menu-item-type-post_type"><a href="http://localhost/wordpress/blog/">Blog</a></li> 
30</ul>