[Block Library]Rename QueryLoop to PostTemplate and change Query label#32514
[Block Library]Rename QueryLoop to PostTemplate and change Query label#32514youknowriad merged 5 commits intotrunkfrom
Conversation
|
Regarding @jameskoster comment here: #32283 (comment)
I've no strong opinions here... --cc @mtias |
070cb2b to
fe59e9f
Compare
There was a problem hiding this comment.
This is looking good to me. Let's try to get this quickly to backport it. Any final thoughts/objections @jameskoster @mtias
|
Size Change: -741 B (0%) Total Size: 1.03 MB
ℹ️ View Unchanged
|
|
Looks good — I'll tweak the description separately. |
|
per discussion in DM with Nik, it seems we need the block fallback in the server as well. |
If it serves as inspiration, Social Icons also needed fallbacks on the server when we consolidated them with block variations: #20098. |
Description
Part of: #30910
This PR renames
QueryLooptoPostTemplateand changesQueryblock's label toQuery Loop.Notes
QueryLoopblocks are handled in the parser level by renaming them toPost Templateblocks, so they will be still functional.Please test carefully and if you have some time it would be great to check about any missing strings that might be used for example in css class names or such details. I think I've covered it all but lots of moving parts with renaming.
Testing instructions
Queryblock in a page/FSE and make changes in editor and view front-end as well.Testing previous Query with QueryLoop
Query and QueryLoop.If you edit the page/post the
parserwill update theQueryLoopblock and will be saved as the renamed block onsave.