You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Publish button in the settings sidebar may show a tooltip that just repeats the visible text in the button. The button used to truncate the visible text (at least in the Site editor). It was recently changed to show the full date / time so that the tooltip seems unnecessary now and it just clutters the UI.
See #56319 and #56196
However, when the Timezone setting is set to the user actual time zone, the visible text is a shorter version of the expansion shown in the tooltip. Only when the Timezone setting is different, the visible text and the tooltip text are the same.
Screenshots:
Step-by-step reproduction instructions
Go to the WordPress admin, Settings > General Settings > Timezone.
Set the Timezone value to a value other than your actual time zone.
Edit a post.
Hover the publish date button.
Observe the tooltip just repeats the visible text.
Go to the WordPress admin, Settings > General Settings > Timezone.
Set the Timezone value to your actual time zone.
Edit a post.
Hover the publish date button.
Observe the tooltip contains more information than the visible text.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Activity
afercia commentedon Dec 4, 2023
Worth reminding special cases like the 'Immediately' string that needs expansion and the 'same day' date case. E.g.:
Anyways, when the visible text and the tooltip text are the same, the tooltip should not be used.