Changeset 19270 for trunk/wp-includes/class-wp-admin-bar.php
- Timestamp:
- 11/14/2011 11:05:37 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r19261 r19270 192 192 <?php 193 193 if ( $is_parent ) : 194 ?><ul class="ab-submenu"><?php 195 foreach ( $node->children->primary as $child_node ) { 196 $this->recursive_render( $child_node ); 197 } 198 199 if ( ! empty( $node->children->secondary ) ): 200 ?><ul class="ab-sub-secondary"><?php 201 foreach ( $node->children->secondary as $child_node ) { 194 ?><div class="ab-sub-wrapper"><?php 195 196 // Render primary submenu 197 ?><ul class="ab-submenu"><?php 198 foreach ( $node->children->primary as $child_node ) { 202 199 $this->recursive_render( $child_node ); 203 200 } 204 201 ?></ul><?php 205 endif; 206 ?></ul><?php 202 203 // Render secondary submenu 204 if ( ! empty( $node->children->secondary ) ): 205 ?><ul class="ab-submenu ab-sub-secondary"><?php 206 foreach ( $node->children->secondary as $child_node ) { 207 $this->recursive_render( $child_node ); 208 } 209 ?></ul><?php 210 endif; 211 212 ?></div><?php 207 213 endif; 208 214
Note: See TracChangeset
for help on using the changeset viewer.