Opened 8 months ago
Closed 8 months ago
#63055 closed defect (bug) (fixed)
Template parts missing from 6.8 beta 1
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.8 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Editor | Keywords: | needs-patch |
| Focuses: | Cc: |
Description
In the recently released 6.8 beta 1, template parts are missing in the site editor. They were previously found under the patterns menu, but they are no longer listed.
To replicate, you can go to Appearance → Editor → Patterns to see the missing template parts section.
The problem occurs even with the default theme with no other plugins active.
Attachments (1)
Change History (9)
#1
@
8 months ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 6.8
- Owner set to joemcgill
- Status changed from new to reviewing
- Version set to trunk
#2
@
8 months ago
Replying to joemcgill:
Judging from some 500 errors I'm seeing in the console log, I suspect that this is a side effect of https://core.trac.wordpress.org/ticket/56481#comment:45.
After a bit more testing, I think I've ruled out this theory. Even when the HEAD requests are fixed, these are still not displaying. I can confirm that the component is being rendered, but no templatePartAreas seem to be returned from the useTemplatePartAreas() hook.
#3
@
8 months ago
I think it's because the template part area hasn't been added to the REST API index yet. Once the following PR is merged, this issue should be resolved.
https://github.com/WordPress/wordpress-develop/pull/8422
cc @Mamaduka
#4
@
8 months ago
Thanks for the ping, @wildworks, and for reporting the issue, @mmcalister!
This was expected and will be fixed via #62574 in Beta 2.
#5
@
8 months ago
Thanks for the info, @wildworks and @Mamaduka! I'll keep an eye on this for the next beta.
Thanks, @mmcalister! I can confirm that this is reproducible in WP 6.8 Beta 1, but not in the latest nightly of the Gutenberg plugin. Judging from some 500 errors I'm seeing in the console log, I suspect that this is a side effect of https://core.trac.wordpress.org/ticket/56481#comment:45.