Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Child Theme Check

Descrizione

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:

  • https://krautpress.de/2016/child-theme-dilemma/ (German)
  • http://www.elmastudio.de/en/wordpress-plugins-child-theme-check/ (English)
  • http://www.elmastudio.de/wordpress-plugin-tipp-child-theme-check/ (German)

These themes from Elmastudio are already using the @version info in the header:

  • Uku
  • Uku Light
  • Weta
  • Zeitreise
  • Werkstatt
  • Neubau
  • Hawea

Please spread the word and if you are a theme developer, please add this to your themes too! Thanks 🙂

Screenshot (schermate di esempio)

  • Status View
  • Diff View

Installazione

  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
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Activate a child theme and run the child theme check from your tools menu

FAQ

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.

Recensioni

Settembre 13, 2016
Very useful and works just fine. Many thanks for your work!
Settembre 3, 2016
I was bored to verify if my child themes were up to date and this plugin is a great tool to see in a glimps if you have to rework your child theme.
Settembre 3, 2016
Thank you Thorsten et.al for this very useful plugin. I think it's a fantastic idea to check for a version header and this plugin is a good reminder of developing with a useful standard.
Settembre 3, 2016
Clear and fast overview about your changes with comparison view. I hope more theme developer would use to record the version in the files.
Leggi tutte le recensioni di 7

Crediti e riconoscimenti

“Child Theme Check” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

“Child Theme Check” è stato tradotto in 3 lingue. Grazie ai traduttori per i loro contributi.

Traduci “Child Theme Check” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

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