Child Theme Configurator - Version 2.5.2

Version Description

  • Logic to prevent malformed style properties
  • Minor cosmetic changes
Download this release

Release Info

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

Code changes from version 2.5.1 to 2.5.2

child-theme-configurator.php CHANGED
@@ -6,7 +6,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
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.1
10
  Author: Lilaea Media
11
  Author URI: http://www.lilaeamedia.com
12
  Text Domain: child-theme-configurator
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.2
10
  Author: Lilaea Media
11
  Author URI: http://www.lilaeamedia.com
12
  Text Domain: child-theme-configurator
includes/classes/CSS.php CHANGED
@@ -6,7 +6,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
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.1
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.1';
176
 
177
  // do not set enqueue, not being set is used to flag old versions
178
 
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.2
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.2';
176
 
177
  // do not set enqueue, not being set is used to flag old versions
178
 
includes/classes/Core.php CHANGED
@@ -14,7 +14,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
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.1' );
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' );
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.2' );
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/forms/parent-child.php CHANGED
@@ -310,8 +310,8 @@ if ( !defined( 'ABSPATH' ) )exit;
310
  <?php _e( 'Customize the Child Theme Name, Description, Author, Version, etc.:', 'child-theme-configurator' ); ?>
311
  </strong>
312
  </div>
313
- <div class="ctc-input-cell">
314
- <input type="button" class="ctc-section-toggle button-secondary" value="<?php _e( 'Show/Hide Child Theme Attributes', 'child-theme-configurator' ); ?>" id="ctc_theme_attributes" title="<?php _e( 'Click to toggle form', 'child-theme-configurator' ); ?>" /></div>
315
  <div class="ctc-clear ctc-section-toggle-content" id="ctc_theme_attributes_content">
316
  <div class="ctc-input-row clearfix ctc-themeonly-container" id="input_row_child_name">
317
  <div class="ctc-input-cell">
@@ -396,10 +396,10 @@ if ( !defined( 'ABSPATH' ) )exit;
396
  <label for="ctc_parent_mods">
397
  <input class="ctc_checkbox ctc-themeonly" id="ctc_parent_mods" name="ctc_parent_mods" type="checkbox"
398
  value="1" />
399
- <strong>
400
- <?php _e( 'NOTE:', 'child-theme-configurator' ); ?>
401
- </strong>
402
- <?php _e( "This option replaces the Child Theme's existing Menus, Widgets and other Customizer Settings with those from the Parent Theme. You should only need to use this option the first time you configure a Child Theme. <strong>Some themes use additional options that cannot be copied with the free verson of CTC. Click the \"Upgrade\" tab for more information.</strong>", 'child-theme-configurator' ); ?>
403
  </label>
404
 
405
 
310
  <?php _e( 'Customize the Child Theme Name, Description, Author, Version, etc.:', 'child-theme-configurator' ); ?>
311
  </strong>
312
  </div>
313
+ <div class="ctc-input-cell-wide">
314
+ <button class="ctc-section-toggle button-secondary" id="ctc_theme_attributes" title="<?php _e( 'Click to toggle form', 'child-theme-configurator' ); ?>"><?php _e( 'Click to Edit Child Theme Attributes', 'child-theme-configurator' ); ?> &nbsp;</button></div>
315
  <div class="ctc-clear ctc-section-toggle-content" id="ctc_theme_attributes_content">
316
  <div class="ctc-input-row clearfix ctc-themeonly-container" id="input_row_child_name">
317
  <div class="ctc-input-cell">
396
  <label for="ctc_parent_mods">
397
  <input class="ctc_checkbox ctc-themeonly" id="ctc_parent_mods" name="ctc_parent_mods" type="checkbox"
398
  value="1" />
399
+ <?php _e( "This option replaces the Child Theme's existing Menus, Widgets and other Customizer Settings with those from the Parent Theme. You should only need to use this option the first time you configure a Child Theme.", 'child-theme-configurator' ); ?>
400
+ <h3>
401
+ <?php _e( 'IMPORTANT: Some "premium" themes use unsupported options that cannot be copied with the free verson of CTC. If you purchased this theme from a website such as "ThemeForest," child themes may not work correctly. Click the "Upgrade" tab for more information.', 'child-theme-configurator' ); ?>
402
+ </h3>
403
  </label>
404
 
405
 
includes/help/en_US.php CHANGED
@@ -4,9 +4,10 @@ if ( !defined( 'ABSPATH' ) ) exit;
4
  ?>
5
  <!-- BEGIN tab -->
6
  <h3 id="ctc_tutorial">Start Here: Tutorial Videos</h3>
7
- <p><a href="<?php echo CHLD_THM_CFG_DOCS_URL; ?>/tutorial-videos" target="_blank">Click here to view videos.</a></p>
 
8
  <a target="_blank" href="<?php echo LILAEAMEDIA_URL; ?>/product/hook-highlighter/" title="<?php _e( 'Learn more about Hook Highlighter', 'child-theme-configurator' ); ?>">
9
- <img src="<?php echo CHLD_THM_CFG_URL . 'css/hook-highlighter-box.png'; ?>" width="430" height="430" /></a>
10
  <p><?php _e( '<strong>Now with time and memory benchmarks!</strong>', 'child-theme-configurator' ); ?></p>
11
  <p><?php _e( 'Hook Highlighter provides insight into the internal program flow of WordPress when activated on any front-facing page of a website.', 'child-theme-configurator' ); ?></p>
12
  <p><?php _e( 'Display action and filter hooks, program files and backtrace information inline for the current page.', 'child-theme-configurator' ); ?></p>
4
  ?>
5
  <!-- BEGIN tab -->
6
  <h3 id="ctc_tutorial">Start Here: Tutorial Videos</h3>
7
+ <h3><a href="<?php echo CHLD_THM_CFG_DOCS_URL; ?>/tutorial-videos" target="_blank">Click here to view videos. <i class="dashicons dashicons-external" style="text-decoration:none"></i></a></h3>
8
+ <hr/>
9
  <a target="_blank" href="<?php echo LILAEAMEDIA_URL; ?>/product/hook-highlighter/" title="<?php _e( 'Learn more about Hook Highlighter', 'child-theme-configurator' ); ?>">
10
+ <img src="<?php echo CHLD_THM_CFG_URL . 'css/hook-highlighter-box.png'; ?>" width="430" height="430" style="width:50%;height:auto;max-width:250px;float:left;margin-right:2rem" /></a>
11
  <p><?php _e( '<strong>Now with time and memory benchmarks!</strong>', 'child-theme-configurator' ); ?></p>
12
  <p><?php _e( 'Hook Highlighter provides insight into the internal program flow of WordPress when activated on any front-facing page of a website.', 'child-theme-configurator' ); ?></p>
13
  <p><?php _e( 'Display action and filter hooks, program files and backtrace information inline for the current page.', 'child-theme-configurator' ); ?></p>
js/chldthmcfg.js CHANGED
@@ -2,7 +2,7 @@
2
  * Script: chldthmcfg.js
3
  * Plugin URI: http://www.childthemeconfigurator.com/
4
  * Description: Handles jQuery, AJAX and other UI
5
- * Version: 2.5.1
6
  * Author: Lilaea Media
7
  * Author URI: http://www.lilaeamedia.com/
8
  * License: GPLv2
2
  * Script: chldthmcfg.js
3
  * Plugin URI: http://www.childthemeconfigurator.com/
4
  * Description: Handles jQuery, AJAX and other UI
5
+ * Version: 2.5.2
6
  * Author: Lilaea Media
7
  * Author URI: http://www.lilaeamedia.com/
8
  * License: GPLv2
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.2
8
- Stable tag: 2.5.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -15,6 +15,7 @@ When using the Customizer is not enough - Create a child theme from your install
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
  = Take Control of Your Child Themes =
19
 
20
  Child Theme Configurator parses and indexes your stylesheets so that every CSS media query, selector, property and value are at your fingertips. Second, it shows you how each customization you make will look before you commit it to the child theme. Finally, it saves your work so that you can customize styles in your child themes without the risk of losing your edits.
@@ -298,6 +299,9 @@ https://www.youtube.com/watch?v=iBiiAgsK4G4
298
  7. Files tab
299
 
300
  == Changelog ==
 
 
 
301
  = 2.5.0 =
302
  * Preview class now evaluates stylesheet hooks as they fire instead of calling them again to prevent function exists errors.
303
  * Tested for PHP version 7.1
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.4
8
+ Stable tag: 2.5.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
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 =
20
 
21
  Child Theme Configurator parses and indexes your stylesheets so that every CSS media query, selector, property and value are at your fingertips. Second, it shows you how each customization you make will look before you commit it to the child theme. Finally, it saves your work so that you can customize styles in your child themes without the risk of losing your edits.
299
  7. Files tab
300
 
301
  == Changelog ==
302
+ = 2.5.2 =
303
+ * Logic to prevent malformed style properties
304
+ * Minor cosmetic changes
305
  = 2.5.0 =
306
  * Preview class now evaluates stylesheet hooks as they fire instead of calling them again to prevent function exists errors.
307
  * Tested for PHP version 7.1