Opened 3 years ago
Closed 3 years ago
#55317 closed defect (bug) (duplicate)
get_header() function does not work with block based themes
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | blocker | Version: | 5.9.1 |
Component: | Themes | Keywords: | |
Focuses: | template | Cc: |
Description
Block based themes like Twenty Twenty-Two do not contain php templates.
Since,get_header() function use php header templates, it generate a warning
"Deprecated: Theme without header.php is deprecated since version 3.0.0 with no alternative available. Please include a header.php template in your theme."
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #55023.