Skip to content

Commit

Permalink
Administration: Capitalize "Collapse Main Menu" aria-label string for…
Browse files Browse the repository at this point in the history
… better consistency.

Follow-up to [59847].

Props swissspidy.
Fixes #59133.



git-svn-id: https://develop.svn.wordpress.org/trunk@59849 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Feb 20, 2025
1 parent 889d6e2 commit 6bc569a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-admin/menu-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
}

echo '<li id="collapse-menu" class="hide-if-no-js">' .
'<button type="button" id="collapse-button" aria-label="' . esc_attr__( 'Collapse Main menu' ) . '" aria-expanded="true">' .
'<button type="button" id="collapse-button" aria-label="' . esc_attr__( 'Collapse Main Menu' ) . '" aria-expanded="true">' .
'<span class="collapse-button-icon" aria-hidden="true"></span>' .
'<span class="collapse-button-label">' . __( 'Collapse Menu' ) . '</span>' .
'</button></li>';
Expand Down

0 comments on commit 6bc569a

Please sign in to comment.