Child Theme Check
Child Themes are used to avoid overwriting your customizations. But if you preserve a file in a child theme, then you maybe preserve a security risk. After an update from the parent theme you always should check the changes and maybe add them to your child theme. This plugin helps you keeping track of these changes in the parent theme.
For full usage of the plugin your parent theme has to define the version of the template file in the header of the PHP file with an additional @version info.
Например: @version 1.0.0.
В этом случае Вы увидите предупреждение, если версия файла родительской темы выше, чем файл Вашей дочерней темы. И Вы сможете увидеть различия между файлом родительской темы и файлом дочерней темы с помощью функции wp_text_diff()- как в ревизиях.
Some posts about this plugin:
- KrautPress (немецкий)
- WP Tavern (английский)
- Elmastudio (английский)
- Elmastudio (немецкий)
These themes from Elmastudio are already using the @version info in the header:
- Uku
- Uku Light
- Weta
- Pukeko
- Zeitreise
- Werkstatt
- Neubau
- Hawea
Please spread the word and if you are a theme developer, please add this to your themes too! Thanks 🙂
