Skip to content

Query Block: Parents Filter Missing Since 14.1 #44621

@eric-michel

Description

@eric-michel

Description

In Gutenberg 13.3.0, the excellent parents filter was added to the Query Loop block for hierarchical post types. It appears that 14.1 broke the editor functionality for this feature. The filter continues to work for Query Loop blocks that enabled it, but it can no longer be added or modified in the block settings sidebar.

Step-by-step reproduction instructions

On a fresh site with Twenty Twenty-Two and the Gutenberg 14.0.3 plugin installed:

  • add a Query Loop block
  • select the Page post type
  • click + next to Filters

See that the Parents filter is an option.

Update the Gutenberg plugin to 14.2.0. Follow the same steps above, and see that the Parents filter is no longer an option.

Screenshots, screen recording, code snippet

In 14.0.3:
image

In 14.2.0:
image

Environment info

WP version 6.0.2
Gutenberg versions 14.0.3 and 14.2.0 (problem seen in 14.2.0)
Chrome Browser
Desktop with Windows 10

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

[Block] Query LoopAffects the Query Loop Block[Type] RegressionRelated to a regression in the latest release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions