Changeset 19261 for trunk/wp-includes/class-wp-admin-bar.php
- Timestamp:
- 11/12/2011 12:26:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r19248 r19261 143 143 } 144 144 145 if ( ! empty( $this->root->children->secondary ) ): 146 ?><ul class="ab-top-menu top-secondary"><?php 147 148 foreach ( $this->root->children->secondary as $node ) { 149 $this->recursive_render( $node ); 150 } 151 152 ?></ul><?php 153 endif; 145 ?></ul> 146 <ul class="ab-top-menu ab-top-secondary"><?php 147 148 foreach ( $this->root->children->secondary as $node ) { 149 $this->recursive_render( $node ); 150 } 151 154 152 ?></ul> 155 153 </div> … … 188 186 ?>><?php 189 187 190 if ( $is_parent ) :191 ?><span><?php192 endif;193 194 188 echo $node->title; 195 196 if ( $is_parent ) :197 ?></span><?php198 endif;199 189 200 190 ?></a> … … 202 192 <?php 203 193 if ( $is_parent ) : 204 ?><ul ><?php194 ?><ul class="ab-submenu"><?php 205 195 foreach ( $node->children->primary as $child_node ) { 206 196 $this->recursive_render( $child_node ); … … 208 198 209 199 if ( ! empty( $node->children->secondary ) ): 210 ?><ul class=" sub-secondary"><?php200 ?><ul class="ab-sub-secondary"><?php 211 201 foreach ( $node->children->secondary as $child_node ) { 212 202 $this->recursive_render( $child_node );
Note: See TracChangeset
for help on using the changeset viewer.