Skip to content

Gallery: Updating caption in the Edit Gallery interface is not reflected #71131

@karthikeya-io

Description

@karthikeya-io

Description

When the caption for images in the Gallery is updated using the Edit Gallery interface, the change is not reflected.
Other ways of updating the caption work, such as using RichText or replacing the image from the image block controls.

Step-by-step reproduction instructions

  1. Create a post and add Gallery block with some images
  2. Click Add > Open Media Library from the Gallery Block controls
  3. Navigate to Edit gallery and update caption for a image
  4. Update Gallery
  5. Notice that the caption is not updated.

Screenshots, screen recording, code snippet

Screen.Recording.2025-08-08.at.12.50.34.PM.mov

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.

  • Yes

Please confirm which theme type you used for testing.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DecisionNeeds a decision to be actionable or relevant[Block] GalleryAffects the Gallery Block - used to display groups of images[Feature] MediaAnything that impacts the experience of managing media[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