Skip to content

[WordPress 6.7 RC2] Template Parts: aria-label is [object Object] on preview button #66585

@kmanijak

Description

@kmanijak

Description

Template Parts: aria-label is [object Object] on preview button

Step-by-step reproduction instructions

  1. Go to Editor > Patterns > All Template Parts
  2. Inspect on any Preview

Expected: aria-label is the Template Part name (case from WordPress 6.6)
Actual: aria-label is [object Object]

Screenshots, screen recording, code snippet

Image

Environment info

WordPress 6.7 RC 2

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[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