Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
7e8198d
Add Terms Query block
mikachan Jul 14, 2025
001a8ae
Create test fixtures
mikachan Jul 14, 2025
27a3b07
Make block experimental
mikachan Jul 14, 2025
05cd427
Update docs
mikachan Jul 14, 2025
1c28168
Update test fixture
mikachan Jul 14, 2025
824d60d
Fix render_block_core_terms_query
mikachan Jul 16, 2025
97cdd68
Fix render_block_core_terms_query
mikachan Jul 16, 2025
37442c4
Use termQuery and termQueryId
mikachan Jul 29, 2025
fbad8e3
Remove separate showOnlyTopLevel option
mikachan Jul 29, 2025
eb6cf92
Merge branch 'trunk' into add/terms-query-block-container
mikachan Jul 29, 2025
5b76c63
Update tests
mikachan Jul 29, 2025
d2d95c6
Update parsed fixture
mikachan Jul 29, 2025
428f355
Update test fixture
mikachan Jul 29, 2025
8dba15b
Add Core backport PR ref
mikachan Jul 30, 2025
77efc0b
Update readme example
mikachan Jul 31, 2025
cc5f368
Remove term count styling for now
mikachan Jul 31, 2025
5bcd841
Remove editorStyle
mikachan Jul 31, 2025
96d2395
Move all inspector controls into TermsQueryInspectorControls
mikachan Aug 1, 2025
e29d786
Merge branch 'trunk' into add/terms-query-block-container
mikachan Aug 1, 2025
f50051e
Add Term Template block (#70747)
mikachan Aug 6, 2025
1d807da
Add Term Template inner blocks (#71122)
mikachan Aug 18, 2025
e5fdc1e
Merge branch 'trunk' into add/terms-query-block-container
mikachan Aug 20, 2025
9294f16
Use 6.9.0
mikachan Aug 20, 2025
d75b7c0
Remove ternary
mikachan Aug 20, 2025
9979371
Add perPage param in editor
mikachan Aug 20, 2025
56e244d
Remove wrapper div
mikachan Aug 20, 2025
697b177
Add layout options
mikachan Aug 26, 2025
9a96508
Add columns to grid layout
mikachan Aug 27, 2025
dbb3d2a
Use ToggleControlGroup for layout selection
mikachan Aug 27, 2025
f96f6f8
Tidy up styles
mikachan Aug 27, 2025
c0d3cda
Fix linting
mikachan Aug 27, 2025
4ed2351
Fix more spacing
mikachan Aug 27, 2025
677c0e8
Regenerate test fixture
mikachan Aug 27, 2025
489ec29
Disable grid layout if show hierarchy is enabled
mikachan Aug 27, 2025
208ab8c
Switch useMemo to useEffect
mikachan Aug 27, 2025
b170d83
Try using layout support rather than group blocks
mikachan Aug 28, 2025
b2023fa
Simplify layout controls
mikachan Aug 28, 2025
755e79f
Regenerate fixtures
mikachan Aug 28, 2025
2d3b4f2
Add layout controls to block toolbar
mikachan Aug 29, 2025
3a0801a
Add innerblocks variable to variations
mikachan Aug 29, 2025
de054eb
Add term template class to frontend
mikachan Aug 29, 2025
844e7ed
Merge branch 'trunk' into add/terms-query-block-container
mikachan Sep 1, 2025
28048ca
Terms Query: add Max Terms control (#71358)
kmanijak Sep 1, 2025
b973dc3
Terms Query: Add link to term-data block bindings (#71376)
cr0ybot Sep 1, 2025
a187d83
Add missing class from editor
mikachan Sep 2, 2025
7173f82
Add help text to layout controls
mikachan Sep 2, 2025
45dfa23
Remove Block Variations readme section
mikachan Sep 2, 2025
32013b6
Update packages/block-library/src/term-template/editor.scss
mikachan Sep 4, 2025
8a0f499
Update packages/block-library/src/term-template/edit.js
mikachan Sep 4, 2025
a28366c
Update packages/block-library/src/terms-query/inspector-controls.js
mikachan Sep 4, 2025
f674fd4
Update packages/block-library/src/terms-query/inspector-controls.js
mikachan Sep 4, 2025
ee656b4
Update packages/block-library/src/terms-query/inspector-controls.js
mikachan Sep 4, 2025
77210f4
Update packages/block-library/src/terms-query/index.php
mikachan Sep 4, 2025
bd974c7
Import layout icon
mikachan Sep 4, 2025
2a6f7ce
Remove layout field from Terms Query
mikachan Sep 4, 2025
9101b46
Remove unused context and attribute
mikachan Sep 4, 2025
d04f9ac
Remove Terms Query readme
mikachan Sep 4, 2025
8fd0ca4
Remove $block conditional
mikachan Sep 4, 2025
972d952
Allow all blocks in Term Template
mikachan Sep 4, 2025
ab582bf
Remove variations
mikachan Sep 4, 2025
793337e
Revert "Remove variations"
mikachan Sep 4, 2025
fc9cb2d
Add namespace attr back
mikachan Sep 4, 2025
c37da74
Update term template block.json for variation API
mikachan Sep 4, 2025
e321549
Term Template: Use native layout controls (#71488)
mikachan Sep 5, 2025
6e45569
Fix experimental block setting
mikachan Sep 9, 2025
47423d4
Move Term Template to experimental array
mikachan Sep 10, 2025
51bdfae
Update test fixtures
mikachan Sep 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove ternary
  • Loading branch information
mikachan committed Aug 20, 2025
commit d75b7c056d9f7586f52eb3df2b600bea88111ce1
4 changes: 1 addition & 3 deletions packages/editor/src/bindings/term-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ function createDataFields( termDataValues, idValue ) {
},
count: {
label: __( 'Count' ),
value: termDataValues?.count
? `(${ termDataValues.count })`
: `(${ termDataValues?.count })`,
value: `(${ termDataValues?.count ?? 0 })`,
type: 'string',
},
};
Expand Down