[wp-trac] [WordPress Trac] #58866: Avoid consts inside `locate_template` as it gives incorrect template path after switch_theme

WordPress Trac noreply at wordpress.org
Thu Jul 20 18:55:05 UTC 2023


#58866: Avoid consts inside `locate_template` as it gives incorrect template path
after switch_theme
--------------------------+-----------------------
 Reporter:  thekt12       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.4
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  template
--------------------------+-----------------------
Changes (by audrasjb):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 6.4


Comment:

 The logic of your proposal sounds good.
 Let's consider this for 6.4.

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


More information about the wp-trac mailing list