#62457 closed defect (bug) (worksforme)
Custom templates in 2012 are not copied during update
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.7 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
Description
On a regular basis the custom template, in a 2012 theme, is not copied during update. Resulting in broken pages. Adding the template solves the problem
Change History (3)
Note: See
TracTickets for help on using
tickets.
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.