Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Block: Parents Filter Missing Since 14.1 #44621

Closed
eric-michel opened this issue Sep 30, 2022 · 0 comments · Fixed by #44630
Closed

Query Block: Parents Filter Missing Since 14.1 #44621

eric-michel opened this issue Sep 30, 2022 · 0 comments · Fixed by #44630
Assignees
Labels
[Block] Query Loop Affects the Query Loop Block [Type] Regression Related to a regression in the latest release

Comments

@eric-michel
Copy link

eric-michel commented Sep 30, 2022

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

@Mamaduka Mamaduka added [Type] Regression Related to a regression in the latest release [Block] Query Loop Affects the Query Loop Block labels Oct 2, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Oct 2, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Query Loop Affects the Query Loop Block [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants