I need to edit some code in header.php.
In the WP codex I read
—–
If you want to change more than just the stylesheet, your child theme can override any file in the parent theme: simply include a file of the same name in the child theme directory, and it will override the equivalent file in the parent theme directory when your site loads. For instance, if you want to change the PHP code for the site header, you can include a header.php in your child theme’s directory, and that file will be used instead of the parent theme’s header.php.
—–
Now if I understand it rightthe website will use the header.php of the child theme.
But after like 1 year this will be an old header.php file, and will this still work well with all the other files that have been updated over that year ?
As I see it I will have an old header.php file with my edited code, in a site where all other files have been updated.
Or do I see this wrong ?
Thanks