Description
In Terms Query Block, Max terms does not work on pages for non-hierarchical taxonomies : all terms are always displayed.
Step-by-step reproduction instructions
- Start a new playground instance https://playground.wordpress.net/#{}
- In the admin, quick edit Hello world post and add 3 tags
- Pages > Add page > Add block -> Terms Query -> Name variation
- In the block panel set :
- Taxonomy = Tags
- Max terms = 2
- Publish the page
- Visit the new page
Results
The editor displays 2 tags, but the page displays 3.
#74130 fix the problem.
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
In Terms Query Block, Max terms does not work on pages for non-hierarchical taxonomies : all terms are always displayed.
Step-by-step reproduction instructions
Results
The editor displays 2 tags, but the page displays 3.
#74130 fix the problem.
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.