Changeset 19548 for trunk/wp-includes/class-wp-admin-bar.php
- Timestamp:
- 12/05/2011 05:47:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r19519 r19548 227 227 ?> 228 228 <div id="wpadminbar" class="<?php echo $class; ?>" role="navigation"> 229 <div class="quicklinks" role="menubar">229 <div class="quicklinks"> 230 230 <?php foreach ( $this->get_node( 'root' )->children as $group ) { 231 231 $this->_render_group( $group, 'ab-top-menu' ); … … 264 264 $class .= ' ' . $node->meta['class']; 265 265 266 ?><ul id="<?php echo esc_attr( "wp-admin-bar-{$node->id}" ); ?>" class="<?php echo esc_attr( $class ); ?>" role="menu"><?php266 ?><ul id="<?php echo esc_attr( "wp-admin-bar-{$node->id}" ); ?>" class="<?php echo esc_attr( $class ); ?>"><?php 267 267 foreach ( $node->children as $item ) { 268 268 $this->_render_item( $item ); … … 272 272 // Wrap the subgroups in a div and render each individual subgroup. 273 273 elseif ( ! $is_single_group ) : 274 ?><div id="<?php echo esc_attr( "wp-admin-bar-{$node->id}-container" ); ?>" class="ab-group-container" role="menu"><?php274 ?><div id="<?php echo esc_attr( "wp-admin-bar-{$node->id}-container" ); ?>" class="ab-group-container"><?php 275 275 foreach ( $groups as $group ) { 276 276 $this->_render_group( $group, $class ); … … 290 290 291 291 $menuclass = ''; 292 $aria_attributes = 'tabindex="' . $tabindex . '" role="menuitem"';292 $aria_attributes = 'tabindex="' . $tabindex . '"'; 293 293 294 294 if ( $is_parent ) {
Note: See TracChangeset
for help on using the changeset viewer.