-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Terms Query: simplify controls and layout #72121
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
Merged
ntsekouras
merged 31 commits into
WordPress:trunk
from
cr0ybot:update/terms-query-cleanup
Oct 8, 2025
Merged
Changes from 23 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0d1af90
move edit component and controls into edit folder
cr0ybot e3c03e7
remove hierarchical layout control
cr0ybot d4c73cc
remove hierarchical layout
cr0ybot ce4c9f0
Revert "remove hierarchical layout control"
cr0ybot 7928067
fix max terms control all value
cr0ybot cf83912
break up "terms to show" into hierarchical and inherit controls, remo…
cr0ybot 4eca79a
only include parent in query if not 0
cr0ybot 9dccaf1
handle parent and hierarchical as mutually exclusive
cr0ybot f043e52
turn off hierarchical with inherit
cr0ybot bf37d81
Merge branch 'master' into update/terms-query-cleanup
cr0ybot a50a051
use setAttributes updater function
cr0ybot fb73926
move usePublicTaxonomies to shared utils file
cr0ybot 9e29e72
taxonomy control single responsibility
cr0ybot b450519
order control single responsibility
cr0ybot 7d5dcbb
empty terms control single responsibility
cr0ybot abf4d90
pass onChange directly when possible
cr0ybot d568af4
inherit control single responsibility
cr0ybot 39f54af
hierarchy control single responsibility
cr0ybot 1cd1049
rename hierarchy control to nested terms control to match empty terms…
cr0ybot 904e70e
max terms control single responsibility
cr0ybot 2f0af12
don't repeat labels
cr0ybot a96fffa
use "value" prop where appropriate
cr0ybot dd050ec
fix hierarchical=false on front end
cr0ybot 0e35655
more verbose comment about setting parent vs nested terms
cr0ybot 896e368
Revert changes to edit component
cr0ybot c1cd91f
add inherit=false to default termQuery
cr0ybot 4d92669
simplify current_term_id conditional
cr0ybot 491b66a
better comment about is_tax() check
cr0ybot a01713c
cleanup unnecessary comment
cr0ybot a4c4303
set parent from current term id regardless of whether it might be 0
cr0ybot fa4d46b
explicitly fall back to parent=0
cr0ybot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.