[wp-trac] [WordPress Trac] #57289: Allow child themes to use template parts from parent themes in Full Screen Editor
WordPress Trac
noreply at wordpress.org
Wed Dec 7 05:34:05 UTC 2022
#57289: Allow child themes to use template parts from parent themes in Full Screen
Editor
--------------------------+-----------------------------
Reporter: catacaustic | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.1.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Creating template parts in a theme for the Full Site Editor does not allow
template parts from a parent theme to be used by a child theme. These will
show when editing a template, and allow you to insert/update/delete them
when editing templates, but an error message shows on the public-facing
page - "Template part has been deleted or is unavailable: *template-
name*".
All that is needed is an additional check if a child theme is active and
if so check against the parent theme as well as the child theme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57289>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list