Skip to content

Customizer widget editor does not publish changes #31177

@draganescu

Description

@draganescu

Description

When having a legacy widget added in the standalone editor saving works. However, when moving to the Customizer and editing the legacy widget, publishing changes fails with the error Unable to save due to 1 invalid setting.

Step-by-step reproduction instructions

  1. Have Gutenberg trunk and TT1 theme active
  2. Install and activate the Site Origin widgets bundle.
  3. Go to Appearance > Widgets
  4. Add a heading block.
  5. Add a legacy widget, pick Site Origin Button Widget
  6. Edit the legacy widget - set button label - and save the changes
  7. Go to Appearance > Customize > Footer
  8. Edit the legacy widget - change the button label
  9. Publish
  10. Notice the error on top of the sidebar Unable to save due to 1 invalid setting.

Expected behaviour

Changes are published.

Actual behaviour

Changes are not published.

Screenshots or screen recording (optional)

invalid-setting

Metadata

Metadata

Assignees

Labels

[Feature] Widgets CustomizerAbility to add and edit blocks in Customize → Widgets.[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