Full Site Editing: Add Support for Templates Default and Custom Titles and Descriptions (PHP Side)#27036
Conversation
|
Size Change: 0 B Total Size: 1.19 MB ℹ️ View Unchanged
|
|
It looks like there is one merge issue to resolve now, but overall it all looks good. Thank you for breaking up #26636 into smaller PRs 😍, I didn't feel confident to accept the previous PR but those changes seem to be a nice improvement. You might still want to validate with someone more familiar with FSE 😅 |
4fbac9c to
8c907a6
Compare
@noahtallen in the JS counterpart to this PR (#27038) I've updated the description selector from: |
8c907a6 to
7eef161
Compare
|
There are some e2e test failures in specs covering reusable blocks. Is there any chance it's related to this PR? |
@gziolo I've tried running them a few times, always receiving different fails. First time there was something going on with the Embed block. This PR shouldn't affect any blocks, but it does remove the |
Yes, no idea where it's coming from 🙁 |
7eef161 to
61eae5b
Compare
david-szabo97
left a comment
There was a problem hiding this comment.
- Cleaned auto-drafts
- New auto-drafts are created with the correct title and description
- Opened site editor
- Correct template loaded
- Templates title and description match
👍 ✅


Description
This PR was originally part of #26636.
excerptsto thewp_templateCPT, used to store the template description.default_template_typesfilter, already used to temporarily remove theembeddefinition which it's currently not supported.getDefaultTemplateTypes(),getDefaultTemplateType(), andgetTemplateInfo()selectors ofcore/edit-site.How has this been tested?
See #27038
Types of changes
New feature (non-breaking change which adds functionality)
Checklist: