[wp-trac] [WordPress Trac] #62457: Custom templates in 2012 are not copied during update

WordPress Trac noreply at wordpress.org
Mon Nov 18 13:04:41 UTC 2024


#62457: Custom templates in 2012 are not copied during update
--------------------------+------------------------------
 Reporter:  petergekko    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  6.7
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by knutsp):

 * keywords:   => close


Comment:

 Hello @petergekko and welcome to Trac!

 Updates to themes (and plugins) never copy any additions (or changes) from
 the old to the new. This is by design, not a defect. If you want custom
 templates they must reside in a child theme. The child theme is first
 checked when WP is looking for a template, then the parent theme.

 See https://developer.wordpress.org/themes/advanced-topics/child-themes/

 For further assistance I can recommend the support forums.

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


More information about the wp-trac mailing list