Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dashboard button tooltips in the site editor #52465

Merged
merged 1 commit into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function SidebarNavigationScreen( {
icon={ icon }
label={
! isPreviewingTheme()
? __( 'Go back to the Dashboard' )
? __( 'Go to the Dashboard' )
: __( 'Go back to the theme showcase' )
}
href={
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/site-hub/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const SiteHub = forwardRef( ( props, ref ) => {
const siteIconButtonProps = isBackToDashboardButton
? {
href: dashboardLink,
label: __( 'Go back to the Dashboard' ),
label: __( 'Go to the Dashboard' ),
}
: {
href: dashboardLink, // We need to keep the `href` here so the component doesn't remount as a `<button>` and break the animation.
Expand Down