Ticket #37513: 37513.3.diff
File 37513.3.diff, 2.5 KB (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-admin-bar.php
483 483 $tabindex = ( isset( $node->meta['tabindex'] ) && is_numeric( $node->meta['tabindex'] ) ) ? (int) $node->meta['tabindex'] : ''; 484 484 $aria_attributes = ( '' !== $tabindex ) ? ' tabindex="' . $tabindex . '"' : ''; 485 485 486 $menuclass = $arrow _right= '';486 $menuclass = $arrow = ''; 487 487 488 488 if ( $is_parent ) { 489 489 $menuclass = 'menupop '; … … 490 490 $aria_attributes .= ' aria-haspopup="true"'; 491 491 } 492 492 493 // Print the right arrow icon for the primarymenu children with children.493 // Print the arrow icon for the menu children with children. 494 494 if ( ! $is_root_top_item && ! $is_top_secondary_item && $is_parent ) { 495 $arrow _right = '<span class="wp-admin-bar-arrow-right" aria-hidden="true"></span>';495 $arrow = '<span class="wp-admin-bar-arrow" aria-hidden="true"></span>'; 496 496 } 497 497 498 498 if ( ! empty( $node->meta['class'] ) ) … … 539 539 ?>><?php 540 540 endif; 541 541 542 echo $arrow _right. $node->title;542 echo $arrow . $node->title; 543 543 544 544 if ( $has_link ) : 545 545 ?></a><?php -
src/wp-includes/css/admin-bar.css
235 235 #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, 236 236 #wpadminbar .ab-icon, 237 237 #wpadminbar .ab-item:before, 238 .wp-admin-bar-arrow -right{238 .wp-admin-bar-arrow { 239 239 position: relative; 240 240 float: left; 241 241 font: normal 20px/1 dashicons; … … 313 313 color: #00b9eb; 314 314 } 315 315 316 #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow -right:before,316 #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow:before, 317 317 #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { 318 318 position: absolute; 319 319 font: normal 17px/1 dashicons; … … 327 327 padding-right: 2em; 328 328 } 329 329 330 #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow -right:before {330 #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow:before { 331 331 top: 1px; 332 332 right: 10px; 333 333 padding: 4px 0; … … 340 340 padding-right: 1em; 341 341 } 342 342 343 #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item :before {343 #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item .wp-admin-bar-arrow:before { 344 344 top: 1px; 345 345 left: 6px; 346 346 content: "\f141";