Reset aria_arrtibutes when reaching admin submenu, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4408443814
commit
69cd88fc6f
|
@ -111,6 +111,7 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
|
|||
if ( ! current_user_can( $sub_item[1] ) )
|
||||
continue;
|
||||
|
||||
$aria_attributes = 'tabindex="1" role="menuitem"';
|
||||
$class = array();
|
||||
if ( $first ) {
|
||||
$class[] = 'wp-first-item';
|
||||
|
|
Loading…
Reference in New Issue