[wp-trac] [WordPress Trac] #55437: Bugfix: Display correct theme in site editor
WordPress Trac
noreply at wordpress.org
Tue Mar 22 03:31:29 UTC 2022
#55437: Bugfix: Display correct theme in site editor
-------------------------+-------------------------------------------------
Reporter: ptahdunbar | Owner: (none)
Type: defect | Status: new
(bug) |
Priority: normal | Milestone: Awaiting Review
Component: | Version: trunk
Administration |
Severity: normal | Keywords: has-patch needs-testing 2nd-opinion
Focuses: ui, |
administration |
-------------------------+-------------------------------------------------
Scenario:
Child themes inherit template parts from the parent theme but on the site
editor page, the "Added by" column defaults to displaying the child theme
even though the template parts are inherited from the parent.
This creates confusion as to where the actual templates are located.
Patch:
https://github.com/ptahdunbar/WordPress/commit/25bbf034af03c9a4ea33a79d01f4d9c079750344
Probably should look into _build_block_template_result_from_post() as
well.
Possibly related to [52062]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55437>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list