[wp-trac] [WordPress Trac] #50171: HTML Comment references Kubrick
WordPress Trac
noreply at wordpress.org
Thu May 14 19:55:45 UTC 2020
#50171: HTML Comment references Kubrick
--------------------------+-----------------------------
Reporter: ritterml | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Themes | Version: 5.4
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by SergeyBiryukov):
Replying to [comment:4 ritterml]:
> Why is this reference even here? My theme has nothing to do with Kubrick
and this comment should not be in the core HTML.
The files from `wp-includes/theme-compat` directory are indeed inherited
from Kubrick, but they only exist in core for backward compatibility.
These files are only included as a fallback if your theme doesn't have a
required template. If you create a `footer.php` file in your theme, then
the one from `theme-compat` won't be included.
See [14365], #12425, and #13009 for more details.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50171#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list