Skip to content

Commit

Permalink
Administration: Capitalize "Collapse Menu" string for better consiste…
Browse files Browse the repository at this point in the history
…ncy.

This changeset brings more consistency by capitalizing the "Collapse Menu" string localted in the main admin menu.

Props alireyad, bijit027, amimulihsanmahdi, csesumonpro.
Fixes #59133.



git-svn-id: https://develop.svn.wordpress.org/trunk@59847 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Feb 20, 2025
1 parent b6d285f commit 26ed02b
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 @@ -284,7 +284,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">' .
'<span class="collapse-button-icon" aria-hidden="true"></span>' .
'<span class="collapse-button-label">' . __( 'Collapse menu' ) . '</span>' .
'<span class="collapse-button-label">' . __( 'Collapse Menu' ) . '</span>' .
'</button></li>';
}

Expand Down

0 comments on commit 26ed02b

Please sign in to comment.