/tl-template-checker

A WordPress plugin that warns you about old template files in your child theme.

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

TL Template Checker

============= A WordPress plugin that warns you about old template files in your child theme. Still in early development! Do not use on non-development sites.

Why?

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.

Requirements

You have to use a child theme. If a child theme is active, you have an additional entry under Tools called Template Check.

For full usage of the plugin you have to define the version of the template file in the header of the PHP file with an additional @version info.

For example: * @version 1.0.0

If this is the case you will see a warning if the version of the parent theme file is higher than your child theme file. And you can see the differences between the parent theme file and the child theme file per wp_text_diff()-function like in revisions.

Changelog

0.1.0

  • Initial release. (Proof-of-concept / Beta - DO NOT USE ON PRODUCTION SITES!)