[wp-trac] [WordPress Trac] #55023: get_header() notice: Theme without header.php is deprecated

WordPress Trac noreply at wordpress.org
Fri Sep 16 11:33:02 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
--------------------------+------------------------

Comment (by manfcarlo):

 Replying to [comment:24 sabernhardt]:
 > We may need to prioritize the refactoring tickets in the next release
 cycle (#31928 and #33500).

 Addressing those tickets would certainly be welcome, but it would not
 solve this particular issue.
 https://github.com/WordPress/gutenberg/issues/33989 indicates that the
 same problem occurred through a plugin that was calling the `get_header`
 and `get_footer` functions, which plugins are (and should be) allowed to
 do.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55023#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list