Changeset 48963 for trunk/src/wp-admin/menu-header.php
- Timestamp:
- 09/09/2020 04:13:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/menu-header.php
r47785 r48963 166 166 ) { 167 167 $admin_is_parent = true; 168 echo "<a href='admin.php?page={$submenu_items[0][2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style >$img</div><div class='wp-menu-name'>$title</div></a>";168 echo "<a href='admin.php?page={$submenu_items[0][2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>$title</div></a>"; 169 169 } else { 170 echo "\n\t<a href='{$submenu_items[0][2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style >$img</div><div class='wp-menu-name'>$title</div></a>";170 echo "\n\t<a href='{$submenu_items[0][2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>$title</div></a>"; 171 171 } 172 172 } elseif ( ! empty( $item[2] ) && current_user_can( $item[1] ) ) { … … 185 185 ) { 186 186 $admin_is_parent = true; 187 echo "\n\t<a href='admin.php?page={$item[2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style >$img</div><div class='wp-menu-name'>{$item[0]}</div></a>";187 echo "\n\t<a href='admin.php?page={$item[2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>{$item[0]}</div></a>"; 188 188 } else { 189 echo "\n\t<a href='{$item[2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style >$img</div><div class='wp-menu-name'>{$item[0]}</div></a>";189 echo "\n\t<a href='{$item[2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>{$item[0]}</div></a>"; 190 190 } 191 191 }
Note: See TracChangeset
for help on using the changeset viewer.