Skip to content

"Save as pending" and "Save draft" button labels duplicated when toolbar UI preference is set to show labels #38773

Description

@nekohayo

Description

When "Display button labels" is turned on, the toolbar shows "Save as draftSave as draft" or "Save as pendingSave as pending".

Step-by-step reproduction instructions

  1. Go to the post editor
  2. Click the three-dots icon in the top-right, go to Preferences
  3. Turn on "Display button labels"

Screenshots, screen recording, code snippet

Screenshot from 2022-02-13 18-49-36

Environment info

  • Wordpress 5.9 with its built-in Gutenberg version
  • Firefox on Fedora Linux

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

General InterfaceParts of the UI which don't fall neatly under other labels.[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions