-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
readme.txt
110 lines (76 loc) · 3.68 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
=== Child Theme Check ===
Contributors: zodiac1978, drivingralle, fstaude, hinnerk, rkoller
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LCH9UVV7RKDFY
Tags: child, theme, check, child theme, child theme check
Requires at least: 3.6.0
Tested up to: 6.6
Stable tag: 1.0.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Warns you about outdated template files in your child theme and shows a diff view of the changes between parent and child theme template.
== Description ==
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](https://krautpress.de/2016/child-theme-dilemma/) (German)
* [WP Tavern](https://wptavern.com/child-theme-check-plugin-helps-wordpress-users-navigate-parent-theme-updates) (English)
* [Elmastudio](http://www.elmastudio.de/en/wordpress-plugins-child-theme-check/) (English)
* [Elmastudio](http://www.elmastudio.de/wordpress-plugin-tipp-child-theme-check/) (German)
These themes from [Elmastudio](http://www.elmastudio.de/en/) 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 :)
== Installation ==
1. Upload the zip file from this plugin on your plugins page or search for `Child Theme Check` and install it directly from the repository
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Activate a child theme and run the child theme check from your tools menu
== Frequently Asked Questions ==
= 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.
== Screenshots ==
1. Status View
2. Diff View
== Changelog ==
= 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
== Upgrade Notice ==
= 1.0.1 =
* Minor string changes