Version Description
April 6, 2014, dev time: 0.5 hours
- Fix: Color sanitization was distorting 0 characters in the color hex.
- Fix: Properly sanitizing ColorAlpha controls
- Fix: Sanitizing more properties in the Fields class
- Fix: removing remnant double-sanitization calls from the controls classes
Download this release
Release Info
| Developer | aristath |
| Plugin | |
| Version | 0.8.4 |
| Comparing to | |
| See all releases | |
Code changes from version 0.8.3 to 0.8.4
- assets/css/customizer.scss +0 -0
- assets/css/hint.css +0 -0
- assets/css/kirki-styles.css +0 -0
- assets/images/jquery.fs.stepper-arrows.png +0 -0
- assets/images/transparency-grid.png +0 -0
- assets/js/jquery.fs.stepper.min.js +0 -0
- assets/js/serialize.js +0 -0
- assets/json/webfonts.json +0 -0
- assets/xml/colourlovers-top.xml +0 -0
- composer.json +0 -0
- includes/Helpers/helpers.php +1 -1
- includes/Helpers/libraries/class-kirki-color.php +1 -1
- includes/Kirki.php +1 -1
- kirki.php +1 -1
- readme.txt +22 -3
assets/css/customizer.scss
CHANGED
|
File without changes
|
assets/css/hint.css
CHANGED
|
File without changes
|
assets/css/kirki-styles.css
CHANGED
|
File without changes
|
assets/images/jquery.fs.stepper-arrows.png
CHANGED
|
File without changes
|
assets/images/transparency-grid.png
CHANGED
|
File without changes
|
assets/js/jquery.fs.stepper.min.js
CHANGED
|
File without changes
|
assets/js/serialize.js
CHANGED
|
File without changes
|
assets/json/webfonts.json
CHANGED
|
File without changes
|
assets/xml/colourlovers-top.xml
CHANGED
|
File without changes
|
composer.json
CHANGED
|
File without changes
|
includes/Helpers/helpers.php
CHANGED
|
@@ -52,7 +52,7 @@ function kirki_update() {
|
|
| 52 |
}
|
| 53 |
|
| 54 |
}
|
| 55 |
-
add_action( 'wp', 'kirki_update' );
|
| 56 |
|
| 57 |
/**
|
| 58 |
* Get the value of a field.
|
| 52 |
}
|
| 53 |
|
| 54 |
}
|
| 55 |
+
// add_action( 'wp', 'kirki_update' );
|
| 56 |
|
| 57 |
/**
|
| 58 |
* Get the value of a field.
|
includes/Helpers/libraries/class-kirki-color.php
CHANGED
|
@@ -33,7 +33,7 @@ class Kirki_Color {
|
|
| 33 |
for ( $i = 0; $i <= 5; $i++ ) {
|
| 34 |
$default = ( 0 == $i ) ? 'F' : ( $substr[$i-1] );
|
| 35 |
$substr[$i] = substr( $color, $i, 1 );
|
| 36 |
-
$substr[$i] = (
|
| 37 |
}
|
| 38 |
$hex = implode( '', $substr );
|
| 39 |
|
| 33 |
for ( $i = 0; $i <= 5; $i++ ) {
|
| 34 |
$default = ( 0 == $i ) ? 'F' : ( $substr[$i-1] );
|
| 35 |
$substr[$i] = substr( $color, $i, 1 );
|
| 36 |
+
$substr[$i] = ( false === $substr[$i] || ! ctype_xdigit( $substr[$i] ) ) ? $default : $substr[$i];
|
| 37 |
}
|
| 38 |
$hex = implode( '', $substr );
|
| 39 |
|
includes/Kirki.php
CHANGED
|
@@ -24,7 +24,7 @@ class Kirki {
|
|
| 24 |
public static $instance = null;
|
| 25 |
|
| 26 |
/** @var string Version number */
|
| 27 |
-
public static $version = '0.8.
|
| 28 |
|
| 29 |
/** @var Config Configuration */
|
| 30 |
public $config = null;
|
| 24 |
public static $instance = null;
|
| 25 |
|
| 26 |
/** @var string Version number */
|
| 27 |
+
public static $version = '0.8.4';
|
| 28 |
|
| 29 |
/** @var Config Configuration */
|
| 30 |
public $config = null;
|
kirki.php
CHANGED
|
@@ -5,7 +5,7 @@ Plugin URI: http://kirki.org
|
|
| 5 |
Description: An options framework using and extending the WordPress Customizer
|
| 6 |
Author: Aristeides Stathopoulos
|
| 7 |
Author URI: http://aristeides.com
|
| 8 |
-
Version: 0.8.
|
| 9 |
Text Domain: kirki
|
| 10 |
*/
|
| 11 |
|
| 5 |
Description: An options framework using and extending the WordPress Customizer
|
| 6 |
Author: Aristeides Stathopoulos
|
| 7 |
Author URI: http://aristeides.com
|
| 8 |
+
Version: 0.8.4
|
| 9 |
Text Domain: kirki
|
| 10 |
*/
|
| 11 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: customizer, options famework, theme mods
|
|
| 4 |
Donate link: http://kirki.org/
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.2
|
| 7 |
-
Stable tag: 0.8.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -60,6 +60,15 @@ Please visit http://kirki.org for documentation and instructions.
|
|
| 60 |
|
| 61 |
== Changelog ==
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
= 0.8.3 =
|
| 64 |
|
| 65 |
April 5, 2014, dev time: 28 hours
|
|
@@ -161,14 +170,14 @@ March 2, 2015, dev time: 3 hours
|
|
| 161 |
|
| 162 |
= 0.6.1 =
|
| 163 |
|
| 164 |
-
|
| 165 |
|
| 166 |
* Fix: Sortables controls had a JS conflict
|
| 167 |
* Fix: Switches & Toggles were not properly working
|
| 168 |
|
| 169 |
= 0.6.0 =
|
| 170 |
|
| 171 |
-
|
| 172 |
|
| 173 |
* Fix: Tooltips now properly working
|
| 174 |
* New: Added checkbox switches
|
|
@@ -185,11 +194,15 @@ March 2, 2015, dev time: 3 hours
|
|
| 185 |
|
| 186 |
= 0.5.1 =
|
| 187 |
|
|
|
|
|
|
|
| 188 |
* Fix: Transport defaults to refresh instead of postMessage
|
| 189 |
* Fix: undefined index notice.
|
| 190 |
|
| 191 |
= 0.5 =
|
| 192 |
|
|
|
|
|
|
|
| 193 |
* New: Automatic output of styles for generic controls.
|
| 194 |
* New: Automatic output of styles + scripts for fonts (including googlefonts )
|
| 195 |
* New: The \'output\' argument on background controls is now an array for consistency with other controls. Older syntax is still compatible though. :)
|
|
@@ -206,6 +219,8 @@ March 2, 2015, dev time: 3 hours
|
|
| 206 |
|
| 207 |
= 0.4 =
|
| 208 |
|
|
|
|
|
|
|
| 209 |
* Fix: bugfix for selector
|
| 210 |
* New: Change the Kirki theme based on which admin theme is selected.
|
| 211 |
* Fix: Tranlsation domain issue
|
|
@@ -216,9 +231,13 @@ March 2, 2015, dev time: 3 hours
|
|
| 216 |
|
| 217 |
= 0.3 =
|
| 218 |
|
|
|
|
|
|
|
| 219 |
* new: added background field
|
| 220 |
* new: added \'output\' argument to directly output the CSS
|
| 221 |
|
| 222 |
= 0.2 =
|
| 223 |
|
|
|
|
|
|
|
| 224 |
* Initial version
|
| 4 |
Donate link: http://kirki.org/
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.2
|
| 7 |
+
Stable tag: 0.8.4
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 60 |
|
| 61 |
== Changelog ==
|
| 62 |
|
| 63 |
+
= 0.8.4 =
|
| 64 |
+
|
| 65 |
+
April 6, 2014, dev time: 0.5 hours
|
| 66 |
+
|
| 67 |
+
* Fix: Color sanitization was distorting 0 characters in the color hex.
|
| 68 |
+
* Fix: Properly sanitizing ColorAlpha controls
|
| 69 |
+
* Fix: Sanitizing more properties in the Fields class
|
| 70 |
+
* Fix: removing remnant double-sanitization calls from the controls classes
|
| 71 |
+
|
| 72 |
= 0.8.3 =
|
| 73 |
|
| 74 |
April 5, 2014, dev time: 28 hours
|
| 170 |
|
| 171 |
= 0.6.1 =
|
| 172 |
|
| 173 |
+
February 25, 2015, dev time: 1 hours
|
| 174 |
|
| 175 |
* Fix: Sortables controls had a JS conflict
|
| 176 |
* Fix: Switches & Toggles were not properly working
|
| 177 |
|
| 178 |
= 0.6.0 =
|
| 179 |
|
| 180 |
+
February 25, 2015, dev time: 9 hours
|
| 181 |
|
| 182 |
* Fix: Tooltips now properly working
|
| 183 |
* New: Added checkbox switches
|
| 194 |
|
| 195 |
= 0.5.1 =
|
| 196 |
|
| 197 |
+
January 22, 2015
|
| 198 |
+
|
| 199 |
* Fix: Transport defaults to refresh instead of postMessage
|
| 200 |
* Fix: undefined index notice.
|
| 201 |
|
| 202 |
= 0.5 =
|
| 203 |
|
| 204 |
+
January 21, 2015
|
| 205 |
+
|
| 206 |
* New: Automatic output of styles for generic controls.
|
| 207 |
* New: Automatic output of styles + scripts for fonts (including googlefonts )
|
| 208 |
* New: The \'output\' argument on background controls is now an array for consistency with other controls. Older syntax is still compatible though. :)
|
| 219 |
|
| 220 |
= 0.4 =
|
| 221 |
|
| 222 |
+
October 25, 2014
|
| 223 |
+
|
| 224 |
* Fix: bugfix for selector
|
| 225 |
* New: Change the Kirki theme based on which admin theme is selected.
|
| 226 |
* Fix: Tranlsation domain issue
|
| 231 |
|
| 232 |
= 0.3 =
|
| 233 |
|
| 234 |
+
May 26, 2014
|
| 235 |
+
|
| 236 |
* new: added background field
|
| 237 |
* new: added \'output\' argument to directly output the CSS
|
| 238 |
|
| 239 |
= 0.2 =
|
| 240 |
|
| 241 |
+
May 9, 2014
|
| 242 |
+
|
| 243 |
* Initial version
|
