[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
Fri Jul 28 16:06:00 UTC 2023


#58866: Avoid consts inside `locate_template` as it gives incorrect template path
after switch_theme
--------------------------+------------------------
 Reporter:  thekt12       |       Owner:  thekt12
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  has-patch     |     Focuses:  template
--------------------------+------------------------
Changes (by joemcgill):

 * status:  assigned => closed
 * resolution:   => duplicate
 * milestone:  6.4 =>


Comment:

 Duplicate of #18298.

 Let's go ahead and close this as a duplicate and pick up conversation in
 the other ticket.

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


More information about the wp-trac mailing list