Version Description
Modified preview to include all registered stylesheets in queue Disable Autoptimize in preview
Download this release
Release Info
Developer | lilaeamedia |
Plugin | Child Theme Configurator |
Version | 2.2.9 |
Comparing to | |
See all releases |
Code changes from version 2.2.8.1 to 2.2.9
- child-theme-configurator.php +2 -2
- includes/classes/Admin.php +2 -2
- includes/classes/Analysis.php +1 -1
- includes/classes/CSS.php +3 -3
- includes/classes/Core.php +1 -1
- includes/classes/Preview.php +1 -1
- includes/classes/UI.php +3 -3
- js/chldthmcfg.js +2 -2
- js/spectrum.js +1 -1
- readme.txt +5 -2
child-theme-configurator.php
CHANGED
@@ -6,13 +6,13 @@ 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.2.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com
|
12 |
Text Domain: child-theme-configurator
|
13 |
Domain Path: /lang
|
14 |
License: GPLv2
|
15 |
-
Copyright (C) 2014-
|
16 |
*/
|
17 |
// define CTC constants
|
18 |
defined( 'LF' ) or define( 'LF', "\n" );
|
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.2.9
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com
|
12 |
Text Domain: child-theme-configurator
|
13 |
Domain Path: /lang
|
14 |
License: GPLv2
|
15 |
+
Copyright (C) 2014-2018 Lilaea Media
|
16 |
*/
|
17 |
// define CTC constants
|
18 |
defined( 'LF' ) or define( 'LF', "\n" );
|
includes/classes/Admin.php
CHANGED
@@ -6,13 +6,13 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
6 |
Class: ChildThemeConfiguratorAdmin
|
7 |
Plugin URI: http://www.childthemeconfigurator.com/
|
8 |
Description: Main Controller Class
|
9 |
-
Version: 2.2.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: child-theme-configurator
|
13 |
Domain Path: /lang
|
14 |
License: GPLv2
|
15 |
-
Copyright (C) 2014-
|
16 |
*/
|
17 |
class ChildThemeConfiguratorAdmin {
|
18 |
|
6 |
Class: ChildThemeConfiguratorAdmin
|
7 |
Plugin URI: http://www.childthemeconfigurator.com/
|
8 |
Description: Main Controller Class
|
9 |
+
Version: 2.2.9
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: child-theme-configurator
|
13 |
Domain Path: /lang
|
14 |
License: GPLv2
|
15 |
+
Copyright (C) 2014-2018 Lilaea Media
|
16 |
*/
|
17 |
class ChildThemeConfiguratorAdmin {
|
18 |
|
includes/classes/Analysis.php
CHANGED
@@ -12,7 +12,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
12 |
Text Domain: child-theme-configurator
|
13 |
Domain Path: /lang
|
14 |
License: GPLv2
|
15 |
-
Copyright (C) 2014-
|
16 |
*/
|
17 |
class ChildThemeConfiguratorAnalysis {
|
18 |
|
12 |
Text Domain: child-theme-configurator
|
13 |
Domain Path: /lang
|
14 |
License: GPLv2
|
15 |
+
Copyright (C) 2014-2018 Lilaea Media
|
16 |
*/
|
17 |
class ChildThemeConfiguratorAnalysis {
|
18 |
|
includes/classes/CSS.php
CHANGED
@@ -6,13 +6,13 @@ 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.2.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
13 |
Domain Path: /lang
|
14 |
License: GPLv2
|
15 |
-
Copyright (C) 2014-
|
16 |
*/
|
17 |
|
18 |
class ChildThemeConfiguratorCSS {
|
@@ -167,7 +167,7 @@ class ChildThemeConfiguratorCSS {
|
|
167 |
$this->parnt = '';
|
168 |
$this->ignoreparnt = 0;
|
169 |
$this->qpriority = 10;
|
170 |
-
$this->version = '2.2.
|
171 |
|
172 |
// do not set enqueue, not being set is used to flag old versions
|
173 |
|
6 |
Class: ChildThemeConfiguratorCSS
|
7 |
Plugin URI: http://www.childthemeconfigurator.com/
|
8 |
Description: Handles all CSS input, output, parsing, normalization and storage
|
9 |
+
Version: 2.2.9
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
13 |
Domain Path: /lang
|
14 |
License: GPLv2
|
15 |
+
Copyright (C) 2014-2018 Lilaea Media
|
16 |
*/
|
17 |
|
18 |
class ChildThemeConfiguratorCSS {
|
167 |
$this->parnt = '';
|
168 |
$this->ignoreparnt = 0;
|
169 |
$this->qpriority = 10;
|
170 |
+
$this->version = '2.2.9';
|
171 |
|
172 |
// do not set enqueue, not being set is used to flag old versions
|
173 |
|
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.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' );
|
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.2.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/Preview.php
CHANGED
@@ -64,7 +64,7 @@ class ChildThemeConfiguratorPreview {
|
|
64 |
public function parse_stylesheet() {
|
65 |
echo '<script>/*<![CDATA[' . LF;
|
66 |
global $wp_styles, $wp_filter;
|
67 |
-
$queue = implode( "\n", $wp_styles->
|
68 |
echo 'BEGIN WP QUEUE' . LF . $queue . LF . 'END WP QUEUE' . LF;
|
69 |
if ( is_child_theme() ):
|
70 |
// check for signals that indicate specific settings
|
64 |
public function parse_stylesheet() {
|
65 |
echo '<script>/*<![CDATA[' . LF;
|
66 |
global $wp_styles, $wp_filter;
|
67 |
+
$queue = implode( "\n", array_keys( $wp_styles->registered ) );
|
68 |
echo 'BEGIN WP QUEUE' . LF . $queue . LF . 'END WP QUEUE' . LF;
|
69 |
if ( is_child_theme() ):
|
70 |
// check for signals that indicate specific settings
|
includes/classes/UI.php
CHANGED
@@ -5,13 +5,13 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
5 |
Class: ChildThemeConfiguratorUI
|
6 |
Plugin URI: http://www.childthemeconfigurator.com/
|
7 |
Description: Handles the plugin User Interface
|
8 |
-
Version: 2.2.
|
9 |
Author: Lilaea Media
|
10 |
Author URI: http://www.lilaeamedia.com/
|
11 |
Text Domain: chld_thm_cfg
|
12 |
Domain Path: /lang
|
13 |
License: GPLv2
|
14 |
-
Copyright (C) 2014-
|
15 |
*/
|
16 |
class ChildThemeConfiguratorUI {
|
17 |
|
@@ -267,7 +267,7 @@ class ChildThemeConfiguratorUI {
|
|
267 |
$localize_array = apply_filters( 'chld_thm_cfg_localize_script', array(
|
268 |
'converted' => $this->css()->get_prop( 'converted' ),
|
269 |
'ssl' => is_ssl(),
|
270 |
-
'homeurl' => home_url( '/' ) . '?ModPagespeed=off&preview_ctc=1',
|
271 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
272 |
'theme_uri' => get_theme_root_uri(),
|
273 |
'page' => CHLD_THM_CFG_MENU,
|
5 |
Class: ChildThemeConfiguratorUI
|
6 |
Plugin URI: http://www.childthemeconfigurator.com/
|
7 |
Description: Handles the plugin User Interface
|
8 |
+
Version: 2.2.9
|
9 |
Author: Lilaea Media
|
10 |
Author URI: http://www.lilaeamedia.com/
|
11 |
Text Domain: chld_thm_cfg
|
12 |
Domain Path: /lang
|
13 |
License: GPLv2
|
14 |
+
Copyright (C) 2014-2018 Lilaea Media
|
15 |
*/
|
16 |
class ChildThemeConfiguratorUI {
|
17 |
|
267 |
$localize_array = apply_filters( 'chld_thm_cfg_localize_script', array(
|
268 |
'converted' => $this->css()->get_prop( 'converted' ),
|
269 |
'ssl' => is_ssl(),
|
270 |
+
'homeurl' => home_url( '/' ) . '?ModPagespeed=off&ao_noptimize=1&preview_ctc=1',
|
271 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
272 |
'theme_uri' => get_theme_root_uri(),
|
273 |
'page' => CHLD_THM_CFG_MENU,
|
js/chldthmcfg.js
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
* Script: chldthmcfg.js
|
3 |
* Plugin URI: http://www.childthemeconfigurator.com/
|
4 |
* Description: Handles jQuery, AJAX and other UI
|
5 |
-
* Version: 2.2.
|
6 |
* Author: Lilaea Media
|
7 |
* Author URI: http://www.lilaeamedia.com/
|
8 |
* License: GPLv2
|
9 |
-
* Copyright (C) 2014-
|
10 |
*/
|
11 |
|
12 |
// ** for multiple property values: **
|
2 |
* Script: chldthmcfg.js
|
3 |
* Plugin URI: http://www.childthemeconfigurator.com/
|
4 |
* Description: Handles jQuery, AJAX and other UI
|
5 |
+
* Version: 2.2.9
|
6 |
* Author: Lilaea Media
|
7 |
* Author URI: http://www.lilaeamedia.com/
|
8 |
* License: GPLv2
|
9 |
+
* Copyright (C) 2014-2018 Lilaea Media
|
10 |
*/
|
11 |
|
12 |
// ** for multiple property values: **
|
js/spectrum.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
// https://github.com/bgrins/spectrum
|
3 |
// Author: Brian Grinstead
|
4 |
// License: MIT
|
5 |
-
// Modifications for CTC (c)
|
6 |
|
7 |
(function (factory) {
|
8 |
"use strict";
|
2 |
// https://github.com/bgrins/spectrum
|
3 |
// Author: Brian Grinstead
|
4 |
// License: MIT
|
5 |
+
// Modifications for CTC (c) 2018 Lilaea Media LLC
|
6 |
|
7 |
(function (factory) {
|
8 |
"use strict";
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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 |
Tested up to: 4.9
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -287,6 +287,9 @@ https://www.youtube.com/watch?v=iBiiAgsK4G4
|
|
287 |
7. Files tab
|
288 |
|
289 |
== Changelog ==
|
|
|
|
|
|
|
290 |
= 2.2.8.1 =
|
291 |
Added support for General Sibling Selector (~)
|
292 |
= 2.2.8 =
|
@@ -748,4 +751,4 @@ Go to http://www.childthemeconfigurator.com/
|
|
748 |
|
749 |
Serbo-Croatian translation courtesy of Borisa Djuraskovic borisad@webhostinghub.com http://www.webhostinghub.com
|
750 |
|
751 |
-
Copyright: (C) 2014-
|
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 |
Tested up to: 4.9
|
7 |
+
Stable tag: 2.2.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
287 |
7. Files tab
|
288 |
|
289 |
== Changelog ==
|
290 |
+
= 2.2.9 =
|
291 |
+
Modified preview to include all registered stylesheets in queue
|
292 |
+
Disable Autoptimize in preview
|
293 |
= 2.2.8.1 =
|
294 |
Added support for General Sibling Selector (~)
|
295 |
= 2.2.8 =
|
751 |
|
752 |
Serbo-Croatian translation courtesy of Borisa Djuraskovic borisad@webhostinghub.com http://www.webhostinghub.com
|
753 |
|
754 |
+
Copyright: (C) 2014-2018 Lilaea Media
|