[wp-trac] [WordPress Trac] #47154: Prevent "Call to undefined function: get_header()" error in theme files

WordPress Trac noreply at wordpress.org
Fri Apr 5 11:13:51 UTC 2024


#47154: Prevent "Call to undefined function: get_header()" error in theme files
---------------------------+------------------------------
 Reporter:  devonto        |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.1.1
 Severity:  minor          |  Resolution:
 Keywords:  close          |     Focuses:
---------------------------+------------------------------
Changes (by karmatosed):

 * keywords:   => close


Comment:

 Unless I am mistaken this is possibly not something should be fixed inside
 the theme. I would like clarification of that though particularly
 considering the time that has gone by. For now, I am going to cautiously
 add the keyword 'close' and leave for opinions incase we need to pivot
 from that.

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


More information about the wp-trac mailing list