विवरण
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.
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.
Some posts about this plugin:
- KrautPress (German)
- WP Tavern (English)
- Elmastudio (English)
- Elmastudio (German)
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 🙂
स्क्रिनसटहरू
स्थापना
- Upload the zip file from this plugin on your plugins page or search for
Child Theme Check
and install it directly from the repository - Activate the plugin through the ‘Plugins’ menu in WordPress
- Activate a child theme and run the child theme check from your tools menu
प्रश्नोत्तर
-
I just get the error: Parent theme is missing version keyword.
-
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.
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.
समीक्षाहरू
योगदानकर्ता र डेभलपरहरू
“Child Theme Check” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Child Theme Check” 3 लोकेलहरूमा अनुवाद गरिएका छन्। योगदानको लागि अनुवादकहरूलाई धन्यवाद।
“Child Theme Check” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
1.0.9
- Tested with WordPress 6.6
1.0.8
- Upublished because of problems with SVN
1.0.7
- Tested with WordPress 6.5
1.0.6
- Fix CSS
1.0.5
- Fix broken layout in WordPress 5.7 (Thanks to Torsten Bulk for the report)
- Fix PHP warning
- Tested up to 5.7
1.0.4
- not released
1.0.3
- Fix flashing of first diff view
- More i18n improvements (Thanks @pedromendonca)
- Tested up to 5.4
1.0.2
- fixed some WordPress coding standards issues
- added Github Updater Metadata
- updated readme.txt
- i18n improvements (Thanks @pedromendonca)
- Tested up to 5.3
1.0.1
- Fixed typo in German translation (Thanks @pixolin)
- Changed text for action link on plugins page (Thanks @presskopp)
- Tested up to 4.6.1
1.0.0
- Initial release