[wp-trac] [WordPress Trac] #55023: get_header() notice: Theme without header.php is deprecated
WordPress Trac
noreply at wordpress.org
Thu Sep 15 14:42:05 UTC 2022
#55023: get_header() notice: Theme without header.php is deprecated
--------------------------+------------------------
Reporter: kpdaa | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.1
Component: Themes | Version: 5.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
--------------------------+------------------------
Changes (by sabernhardt):
* keywords: has-patch => needs-patch
Comment:
I did not think the deprecation notice was appropriate when the problem is
in Core, but it does tell theme authors how they might ''work around''
that problem.
I tried adding block theme markup to the theme-compat files and attached
it here in case someone would like to continue working on that concept. It
seems less and less like a viable solution, even temporary.
- The styles and scripts are still wrong, yet disallowing the separate
assets option helped some.
- The pages lack a skip to content link.
- At first, the title and viewport meta tags were not included with
`wp_head`. Updating the `_wp_render_title_tag` function and removing its
Gutenberg replacement might help, regardless of whether the other changes
are made.
We may need to prioritize the refactoring tickets in the next release
cycle (#31928 and #33500).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55023#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list