Child Theme Configurator - Version 2.5.9

Version Description

  • Preview class now evaluates stylesheet hooks as they fire instead of calling them again to prevent function exists errors.
  • Tested for PHP version 7.1
  • See changelog for details.
Download this release

Release Info

Developer lilaeamedia
Plugin Icon 128x128 Child Theme Configurator
Version 2.5.9
Comparing to
See all releases

Code changes from version 2.5.8 to 2.5.9

child-theme-configurator.php CHANGED
@@ -4,9 +4,9 @@ if ( !defined( 'ABSPATH' ) ) exit;
4
 
5
  /*
6
  Plugin Name: Child Theme Configurator
7
- Plugin URI: http://www.childthemeconfigurator.com
8
  Description: When using the Customizer is not enough - Create child themes and customize styles, templates, functions and more.
9
- Version: 2.5.8
10
  Author: Lilaea Media
11
  Author URI: http://www.lilaeamedia.com
12
  Text Domain: child-theme-configurator
4
 
5
  /*
6
  Plugin Name: Child Theme Configurator
7
+ Plugin URI: http://www.childthemeplugin.com
8
  Description: When using the Customizer is not enough - Create child themes and customize styles, templates, functions and more.
9
+ Version: 2.5.9
10
  Author: Lilaea Media
11
  Author URI: http://www.lilaeamedia.com
12
  Text Domain: child-theme-configurator
includes/classes/Admin.php CHANGED
@@ -4,7 +4,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
4
 
5
  /*
6
  Class: ChildThemeConfiguratorAdmin
7
- Plugin URI: http://www.childthemeconfigurator.com/
8
  Description: Main Controller Class
9
  Author: Lilaea Media
10
  Author URI: http://www.lilaeamedia.com/
4
 
5
  /*
6
  Class: ChildThemeConfiguratorAdmin
7
+ Plugin URI: http://www.childthemeplugin.com/
8
  Description: Main Controller Class
9
  Author: Lilaea Media
10
  Author URI: http://www.lilaeamedia.com/
includes/classes/Analysis.php CHANGED
@@ -4,7 +4,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
4
 
5
  /*
6
  Class: ChildThemeConfiguratorAnalysis
7
- Plugin URI: http://www.childthemeconfigurator.com/
8
  Description: Theme Analyzer Class
9
  Version: 2.1.3
10
  Author: Lilaea Media
4
 
5
  /*
6
  Class: ChildThemeConfiguratorAnalysis
7
+ Plugin URI: http://www.childthemeplugin.com/
8
  Description: Theme Analyzer Class
9
  Version: 2.1.3
10
  Author: Lilaea Media
includes/classes/CSS.php CHANGED
@@ -4,9 +4,9 @@ if ( !defined( 'ABSPATH' ) ) exit;
4
 
5
  /*
6
  Class: ChildThemeConfiguratorCSS
7
- Plugin URI: http://www.childthemeconfigurator.com/
8
  Description: Handles all CSS input, output, parsing, normalization and storage
9
- Version: 2.5.8
10
  Author: Lilaea Media
11
  Author URI: http://www.lilaeamedia.com/
12
  Text Domain: chld_thm_cfg
@@ -172,7 +172,7 @@ class ChildThemeConfiguratorCSS {
172
  $this->ignoreparnt = 0;
173
  $this->qpriority = 10;
174
  $this->mpriority = 10;
175
- $this->version = '2.5.8';
176
 
177
  // do not set enqueue, not being set is used to flag old versions
178
 
4
 
5
  /*
6
  Class: ChildThemeConfiguratorCSS
7
+ Plugin URI: http://www.childthemeplugin.com/
8
  Description: Handles all CSS input, output, parsing, normalization and storage
9
+ Version: 2.5.9
10
  Author: Lilaea Media
11
  Author URI: http://www.lilaeamedia.com/
12
  Text Domain: chld_thm_cfg
172
  $this->ignoreparnt = 0;
173
  $this->qpriority = 10;
174
  $this->mpriority = 10;
175
+ $this->version = '2.5.9';
176
 
177
  // do not set enqueue, not being set is used to flag old versions
178
 
includes/classes/Core.php CHANGED
@@ -13,8 +13,8 @@ if ( !defined( 'ABSPATH' ) ) exit;
13
  defined( 'LILAEAMEDIA_URL' ) or
14
  define( 'LILAEAMEDIA_URL', "http://www.lilaeamedia.com" );
15
  defined( 'CHLD_THM_CFG_DOCS_URL' ) or
16
- define( 'CHLD_THM_CFG_DOCS_URL', "http://www.childthemeconfigurator.com" );
17
- define( 'CHLD_THM_CFG_VERSION', '2.5.8' );
18
  define( 'CHLD_THM_CFG_PREV_VERSION', '1.7.9.1' );
19
  define( 'CHLD_THM_CFG_MIN_WP_VERSION', '3.7' );
20
  define( 'CHLD_THM_CFG_PRO_MIN_VERSION', '2.2.0' );
13
  defined( 'LILAEAMEDIA_URL' ) or
14
  define( 'LILAEAMEDIA_URL', "http://www.lilaeamedia.com" );
15
  defined( 'CHLD_THM_CFG_DOCS_URL' ) or
16
+ define( 'CHLD_THM_CFG_DOCS_URL', "http://www.childthemeplugin.com" );
17
+ define( 'CHLD_THM_CFG_VERSION', '2.5.9' );
18
  define( 'CHLD_THM_CFG_PREV_VERSION', '1.7.9.1' );
19
  define( 'CHLD_THM_CFG_MIN_WP_VERSION', '3.7' );
20
  define( 'CHLD_THM_CFG_PRO_MIN_VERSION', '2.2.0' );
includes/classes/UI.php CHANGED
@@ -3,7 +3,7 @@
3
  if ( !defined( 'ABSPATH' ) ) exit;
4
  /*
5
  Class: ChildThemeConfiguratorUI
6
- Plugin URI: http://www.childthemeconfigurator.com/
7
  Description: Handles the plugin User Interface
8
  Author: Lilaea Media
9
  Author URI: http://www.lilaeamedia.com/
@@ -321,7 +321,7 @@ class ChildThemeConfiguratorUI {
321
  'anlz5_txt' => sprintf( __( '<p>First, verify you can <a href="%s">preview your home page with the Customizer</a> and try analyzing again.</p><p>If that does not work, try temporarily disabling plugins that <strong>minify CSS</strong> or that <strong>force redirects between HTTP and HTTPS</strong>.</p>', 'child-theme-configurator' ), admin_url( '/customize.php' ) ), // . '?page=' . CHLD_THM_CFG_MENU ),
322
  'anlz6_txt' => __( 'Click to show/hide PHP debug output', 'child-theme-configurator' ),
323
  // php error description modified v2.3.0
324
- 'anlz7_txt' => __( '<p><strong>PLEASE NOTE:</strong></p><p><em>The analyzer reveals errors that may otherwise go undetected. Unless this is a fatal error, WordPress may appear to work correctly; however, PHP will continue to log the error until it is resolved. Please contact the author of any theme or plugin</em> <strong>mentioned above</strong> <em>and cut/paste the error from the text area.</em> <strong>Do not use a screen capture as it may cut off part of the error text.</strong> <em>Additional information about the error may also be available in the <a href="http://www.childthemeconfigurator.com/child-theme-faqs/" target="_blank">CTC documentation</a>.</em></p>', 'child-theme-configurator' ),
325
  'anlz8_txt' => __( 'Do Not Activate "%s"! A PHP FATAL ERROR has been detected.', 'child-theme-configurator' ),
326
  'anlz9_txt' => __( 'This theme loads stylesheets after the wp_styles queue.', 'child-theme-configurator' ),
327
  'anlz10_txt' => __( '<p>This makes it difficult for plugins to override these styles. You can try to resolve this using the "Repair header template" option (Step 6, "Additional handling options", below).</p>', 'child-theme-configurator' ),
@@ -352,7 +352,7 @@ class ChildThemeConfiguratorUI {
352
  'anlzrtl2_txt' => __( 'Use the Web Fonts tab to add a link to the parent RTL stylesheet. See the documentation for more information.</p>', 'child-theme-configurator' ), // added 2.3.0
353
  'anlzcache1_txt' => __( 'Both WP Rocket and Autoptimize plugins are enabled.', 'child-theme-configurator' ),
354
  'anlzcache2_txt' => __( 'The combination of these two plugins interferes with the Analysis results. Please temporarily deactivate one of them and Analyze again.', 'child-theme-configurator' ),
355
- 'anlzconfig_txt' => __( '<p><strong>The WordPress configuration file has been modified incorrectly.</strong> Please see <a href="http://www.childthemeconfigurator.com/child-theme-faqs/#constants" target="_blank">this FAQ</a> for more information.</p>', 'child-theme-configurator' ),
356
  'dismiss_txt' => __( 'Dismiss this notice.', 'child-theme-configurator' ),
357
  ) );
358
  wp_localize_script(
3
  if ( !defined( 'ABSPATH' ) ) exit;
4
  /*
5
  Class: ChildThemeConfiguratorUI
6
+ Plugin URI: http://www.childthemeplugin.com/
7
  Description: Handles the plugin User Interface
8
  Author: Lilaea Media
9
  Author URI: http://www.lilaeamedia.com/
321
  'anlz5_txt' => sprintf( __( '<p>First, verify you can <a href="%s">preview your home page with the Customizer</a> and try analyzing again.</p><p>If that does not work, try temporarily disabling plugins that <strong>minify CSS</strong> or that <strong>force redirects between HTTP and HTTPS</strong>.</p>', 'child-theme-configurator' ), admin_url( '/customize.php' ) ), // . '?page=' . CHLD_THM_CFG_MENU ),
322
  'anlz6_txt' => __( 'Click to show/hide PHP debug output', 'child-theme-configurator' ),
323
  // php error description modified v2.3.0
324
+ 'anlz7_txt' => __( '<p><strong>PLEASE NOTE:</strong></p><p><em>The analyzer reveals errors that may otherwise go undetected. Unless this is a fatal error, WordPress may appear to work correctly; however, PHP will continue to log the error until it is resolved. Please contact the author of any theme or plugin</em> <strong>mentioned above</strong> <em>and cut/paste the error from the text area.</em> <strong>Do not use a screen capture as it may cut off part of the error text.</strong> <em>Additional information about the error may also be available in the <a href="http://www.childthemeplugin.com/child-theme-faqs/" target="_blank">CTC documentation</a>.</em></p>', 'child-theme-configurator' ),
325
  'anlz8_txt' => __( 'Do Not Activate "%s"! A PHP FATAL ERROR has been detected.', 'child-theme-configurator' ),
326
  'anlz9_txt' => __( 'This theme loads stylesheets after the wp_styles queue.', 'child-theme-configurator' ),
327
  'anlz10_txt' => __( '<p>This makes it difficult for plugins to override these styles. You can try to resolve this using the "Repair header template" option (Step 6, "Additional handling options", below).</p>', 'child-theme-configurator' ),
352
  'anlzrtl2_txt' => __( 'Use the Web Fonts tab to add a link to the parent RTL stylesheet. See the documentation for more information.</p>', 'child-theme-configurator' ), // added 2.3.0
353
  'anlzcache1_txt' => __( 'Both WP Rocket and Autoptimize plugins are enabled.', 'child-theme-configurator' ),
354
  'anlzcache2_txt' => __( 'The combination of these two plugins interferes with the Analysis results. Please temporarily deactivate one of them and Analyze again.', 'child-theme-configurator' ),
355
+ 'anlzconfig_txt' => __( '<p><strong>The WordPress configuration file has been modified incorrectly.</strong> Please see <a href="http://www.childthemeplugin.com/child-theme-faqs/#constants" target="_blank">this FAQ</a> for more information.</p>', 'child-theme-configurator' ),
356
  'dismiss_txt' => __( 'Dismiss this notice.', 'child-theme-configurator' ),
357
  ) );
358
  wp_localize_script(
includes/forms/notices.php CHANGED
@@ -103,7 +103,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
103
  </a></p>
104
  <p class="howto">
105
  <?php _e( 'For more information, please open the Help tab at the top right or ', 'child-theme-configurator' ) ?>
106
- <a href="http://www.childthemeconfigurator.com/tutorial-videos/" target="_blank">
107
  <?php _e( 'click here to view the latest videos.', 'child-theme-configurator' ); ?>
108
  </a></p>
109
  <?php if ( $child ): ?>
103
  </a></p>
104
  <p class="howto">
105
  <?php _e( 'For more information, please open the Help tab at the top right or ', 'child-theme-configurator' ) ?>
106
+ <a href="http://www.childthemeplugin.com/tutorial-videos/" target="_blank">
107
  <?php _e( 'click here to view the latest videos.', 'child-theme-configurator' ); ?>
108
  </a></p>
109
  <?php if ( $child ): ?>
includes/help/de_DE.php CHANGED
@@ -6,7 +6,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
6
  <h3 id="ctc_tutorial">Hier starten: Anleitungs-Videos</h3>
7
  <!-- p><iframe width="560" height="315" src="https://www.youtube.com/embed/xL0YmieF6d0?rel=0&modestbranding=1" frameborder="0" allowfullscreen></iframe></p>
8
  <p><iframe width="560" height="315" src="https://www.youtube.com/embed/vhQ5oi20rYE?rel=0&modestbranding=1" frameborder="0" allowfullscreen></iframe></p -->
9
- <p>Wir betten aus Leistungsgründen keine Anleitungsvideos mehr ein. <a href="http://www.childthemeconfigurator.com/tutorial-videos" target="_blank">Hier klicken, um die Videos anzuschauen.</a></p><!-- END tab -->
10
  <!-- BEGIN tab -->
11
  <h3 id="ctc_getting_started">Eltern/Kind-Tab</h3>
12
  <ol><li><strong>Eine Aktion auswählen:</strong>
@@ -214,7 +214,7 @@ Das Plugin lädt den Hauptteil des Codes im Admin nur, wenn Sie das Tool benutze
214
  <h4 id="ctc_help_sidebar">Links/Verknüpfungen</h4>
215
  <ul>
216
  <li><a href="http://www.lilaeamedia.com/about/contact/">Uns kontaktieren</a></li>
217
- <li><a href="http://www.childthemeconfigurator.com/">Plugin-Webseite</a></li>
218
  <li><a href="http://codex.wordpress.org/Child_Themes">WordPress Codex</a></li>
219
  <li><a href="http://wordpress.stackexchange.com/">WordPress Development (StackExchange)</a></li>
220
  </ul>
6
  <h3 id="ctc_tutorial">Hier starten: Anleitungs-Videos</h3>
7
  <!-- p><iframe width="560" height="315" src="https://www.youtube.com/embed/xL0YmieF6d0?rel=0&modestbranding=1" frameborder="0" allowfullscreen></iframe></p>
8
  <p><iframe width="560" height="315" src="https://www.youtube.com/embed/vhQ5oi20rYE?rel=0&modestbranding=1" frameborder="0" allowfullscreen></iframe></p -->
9
+ <p>Wir betten aus Leistungsgründen keine Anleitungsvideos mehr ein. <a href="http://www.childthemeplugin.com/tutorial-videos" target="_blank">Hier klicken, um die Videos anzuschauen.</a></p><!-- END tab -->
10
  <!-- BEGIN tab -->
11
  <h3 id="ctc_getting_started">Eltern/Kind-Tab</h3>
12
  <ol><li><strong>Eine Aktion auswählen:</strong>
214
  <h4 id="ctc_help_sidebar">Links/Verknüpfungen</h4>
215
  <ul>
216
  <li><a href="http://www.lilaeamedia.com/about/contact/">Uns kontaktieren</a></li>
217
+ <li><a href="http://www.childthemeplugin.com/">Plugin-Webseite</a></li>
218
  <li><a href="http://codex.wordpress.org/Child_Themes">WordPress Codex</a></li>
219
  <li><a href="http://wordpress.stackexchange.com/">WordPress Development (StackExchange)</a></li>
220
  </ul>
js/chldthmcfg.js CHANGED
@@ -1,6 +1,6 @@
1
  /*!
2
  * Script: chldthmcfg.js
3
- * Plugin URI: http://www.childthemeconfigurator.com/
4
  * Description: Handles jQuery, AJAX and other UI
5
  * Version: 2.3.4
6
  * Author: Lilaea Media
1
  /*!
2
  * Script: chldthmcfg.js
3
+ * Plugin URI: http://www.childthemeplugin.com/
4
  * Description: Handles jQuery, AJAX and other UI
5
  * Version: 2.3.4
6
  * Author: Lilaea Media
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: child, theme, child theme, child themes, custom styles, customize styles, customize theme, css, responsive, css editor, child theme editor, child theme generator, child theme creator, style, stylesheet, customizer, childtheme, childthemes
5
  Requires at least: 4.0
6
  Requires PHP: 5.6.36
7
- Tested up to: 5.7
8
- Stable tag: 2.5.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -13,7 +13,7 @@ When using the Customizer is not enough - Create a child theme from your install
13
 
14
  == Description ==
15
 
16
- Child Theme Configurator is a fast and easy to use utility that allows you to analyze any theme for common problems, create a child theme and customize it beyond the options of the Customizer. Designed for WordPress users who want to be able to customize child theme stylesheets directly, Child Theme Configurator lets you easily identify and override the exact CSS attributes you want to customize. The Analyzer scans the rendered theme and automatically configures your child theme. It correctly enqueues theme and font stylesheets for optimum performance and handles vendor-specific syntax, giving you unlimited control over the Child Theme look and feel while leaving your Parent Theme untouched. [Learn more about how to create a child theme](http://www.childthemeconfigurator.com).
17
 
18
 
19
  = Take Control of Your Child Themes =
@@ -65,7 +65,7 @@ Apply the CSS customizing power of Child Theme Configurator to any WordPress Plu
65
 
66
  https://www.youtube.com/watch?v=fktwCk43a8c
67
 
68
- Learn more at http://www.childthemeconfigurator.com/child-theme-configurator-pro
69
 
70
  = Unlimited Widget Content With a Single Plugin =
71
 
@@ -137,15 +137,15 @@ Learn more at https://www.lilaeamedia.com/product/hook-highlighter
137
 
138
  = How do I move changes I have already made to my theme into a Child Theme? =
139
 
140
- Follow these steps: http://www.childthemeconfigurator.com/how-to-use/#child_from_modified_parent
141
 
142
  = When I run the analyzer I get "Constants Already Defined" notice in PHP Debug Output =
143
 
144
- This is a misconfiguration created by the Bluehost auto-installer. http://www.childthemeconfigurator.com/child-theme-faqs/#constants" class="scroll-to">How to fix.</a></p>
145
 
146
  = Is there a tutorial? =
147
 
148
- There are videos under the "Help" tab at the top right of the page. You can also view them at http://www.childthemeconfigurator.com/tutorial-videos
149
 
150
  = If the parent theme changes (e.g., upgrade), do I have to update the child theme? =
151
 
@@ -167,7 +167,7 @@ Yes. Go to "Network Admin > Themes > Child Themes." Child themes must be "Networ
167
 
168
  = Does it work with plugins? =
169
 
170
- Child Theme Configurator PRO brings the CSS editing power of Child Theme Configurator to any WordPress Plugin installed on your website by scanning your plugins and creating custom CSS in your Child Themes. Learn more at http://www.childthemeconfigurator.com/child-theme-configurator-pro
171
 
172
  = Why doesn't this work with my [insert vendor here] theme? =
173
 
@@ -679,7 +679,7 @@ Some themes (particularly commercial themes) do not correctly load parent templa
679
 
680
  == Documentation ==
681
 
682
- Go to http://www.childthemeconfigurator.com/
683
 
684
  Serbo-Croatian translation courtesy of Borisa Djuraskovic borisad@webhostinghub.com http://www.webhostinghub.com
685
 
4
  Tags: child, theme, child theme, child themes, custom styles, customize styles, customize theme, css, responsive, css editor, child theme editor, child theme generator, child theme creator, style, stylesheet, customizer, childtheme, childthemes
5
  Requires at least: 4.0
6
  Requires PHP: 5.6.36
7
+ Tested up to: 5.9
8
+ Stable tag: 2.5.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
13
 
14
  == Description ==
15
 
16
+ Child Theme Configurator is a fast and easy to use utility that allows you to analyze any theme for common problems, create a child theme and customize it beyond the options of the Customizer. Designed for WordPress users who want to be able to customize child theme stylesheets directly, Child Theme Configurator lets you easily identify and override the exact CSS attributes you want to customize. The Analyzer scans the rendered theme and automatically configures your child theme. It correctly enqueues theme and font stylesheets for optimum performance and handles vendor-specific syntax, giving you unlimited control over the Child Theme look and feel while leaving your Parent Theme untouched. [Learn more about how to create a child theme](http://www.childthemeplugin.com).
17
 
18
 
19
  = Take Control of Your Child Themes =
65
 
66
  https://www.youtube.com/watch?v=fktwCk43a8c
67
 
68
+ Learn more at http://www.childthemeplugin.com/child-theme-configurator-pro
69
 
70
  = Unlimited Widget Content With a Single Plugin =
71
 
137
 
138
  = How do I move changes I have already made to my theme into a Child Theme? =
139
 
140
+ Follow these steps: http://www.childthemeplugin.com/how-to-use/#child_from_modified_parent
141
 
142
  = When I run the analyzer I get "Constants Already Defined" notice in PHP Debug Output =
143
 
144
+ This is a misconfiguration created by the Bluehost auto-installer. http://www.childthemeplugin.com/child-theme-faqs/#constants" class="scroll-to">How to fix.</a></p>
145
 
146
  = Is there a tutorial? =
147
 
148
+ There are videos under the "Help" tab at the top right of the page. You can also view them at http://www.childthemeplugin.com/tutorial-videos
149
 
150
  = If the parent theme changes (e.g., upgrade), do I have to update the child theme? =
151
 
167
 
168
  = Does it work with plugins? =
169
 
170
+ Child Theme Configurator PRO brings the CSS editing power of Child Theme Configurator to any WordPress Plugin installed on your website by scanning your plugins and creating custom CSS in your Child Themes. Learn more at http://www.childthemeplugin.com/child-theme-configurator-pro
171
 
172
  = Why doesn't this work with my [insert vendor here] theme? =
173
 
679
 
680
  == Documentation ==
681
 
682
+ Go to http://www.childthemeplugin.com/
683
 
684
  Serbo-Croatian translation courtesy of Borisa Djuraskovic borisad@webhostinghub.com http://www.webhostinghub.com
685