Skip to content

Save Entities modal shows 'Untitled' for terms with updated term metaΒ #54350

@bvlgn

Description

@bvlgn

Description

When the user updates post related term meta the related terms are labeled 'Untitled' in the Save dialog
This should show the name of the updated term(s).

Step-by-step reproduction instructions

  1. Install and activate the attached issue test/demo plugin on a test site:
    Term Meta Save Entities Bug Demo Plugin.zip
    The plugin basically only registers a test term meta field and adds a inspector panel with a text control for the test term meta field.

  2. Edit a post

  3. Make sure a category is assigned to the post

  4. Open the test panel added by the test plugin:

panel

  1. Edit the text in the input from 'Hello ' to e.g. 'Hello everybody'
  2. Click on the Update button
  3. Have a look at the modal and see that the label of the term is 'Untitled' instead of the name of the term:

modal

Screenshots, screen recording, code snippet

No response

Environment info

WP 6.3.1
GB 16.6.0 (same problem when not active)

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

[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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions