Description
When selecting "0" for max terms, all terms should be displayed. However, in the editor, I'm seeing "No Terms Found".
cc @cr0ybot @ntsekouras @mikachan @t-hamano
Step-by-step reproduction instructions
- Insert a "Terms Query" block and select a term template.
- Select "0" for "Max Terms".
- See that we're displaying "No Terms Found" in the admin.
Screenshots, screen recording, code snippet
Environment info
- Gutenberg: trunk
- Theme: Twenty Twenty-Five
- Browser: Chrome 141.0.7390.66
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.