Version Description
March 17, 2016, dev time: 3 hours
- FIX: Alpha channel was always enabled for color controls
- FIX: PHP Notices in the class-kirki-output-control-typography.php file
- FIX: PHP Fatal error on PHP 5.2
- FIX: PHP Notice in the class-kirki-field.php file
- FIX: PHP Fatal error when using background-position in the output argument
- TWEAK: Removed unused languages from CodeMirror to reduce the plugin's size
Download this release
Release Info
Developer | aristath |
Plugin | Kirki |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- .codeclimate.yml +28 -0
- .coveralls.yml +3 -0
- .csslintrc +2 -0
- .gitignore +18 -0
- .simplecov +7 -0
- .travis.yml +48 -0
- LICENSE +0 -0
- README.md +477 -465
- assets/css/customizer.css +0 -0
- assets/css/customizer.css.map +0 -0
- assets/css/customizer.min.css +0 -0
- assets/css/transparency-grid.png +0 -0
- assets/images/jquery.fs.stepper-arrows.png +0 -0
- assets/images/kirki-toolkit.png +0 -0
- assets/js/controls/checkbox.js +0 -0
- assets/js/controls/dimension.js +0 -0
- assets/js/controls/editor.js +0 -0
- assets/js/controls/multicheck.js +0 -0
- assets/js/controls/number.js +0 -0
- assets/js/controls/palette.js +0 -0
- assets/js/controls/preset.js +0 -0
- assets/js/controls/radio-buttonset.js +0 -0
- assets/js/controls/radio-image.js +0 -0
- assets/js/controls/radio.js +0 -0
- assets/js/controls/repeater.js +0 -0
- assets/js/controls/select.js +0 -0
- assets/js/controls/slider.js +0 -0
- assets/js/controls/sortable.js +0 -0
- assets/js/controls/spacing.js +0 -0
- assets/js/controls/switch.js +0 -0
- assets/js/controls/toggle.js +0 -0
- assets/js/controls/typography.js +0 -0
- assets/js/customizer.js +0 -0
- assets/js/customizer.min.js +0 -0
- assets/js/customizer.min.js.map +0 -0
- assets/js/vendor/selectize.js +0 -0
- assets/js/vendor/serialize.js +0 -0
- assets/scss/controls/checkbox.scss +0 -0
- assets/scss/controls/code.scss +0 -0
- assets/scss/controls/dimension.scss +0 -0
- assets/scss/controls/multicheck.scss +0 -0
- assets/scss/controls/number.scss +0 -0
- assets/scss/controls/palette.scss +0 -0
- assets/scss/controls/radio-buttonset.scss +0 -0
- assets/scss/controls/radio-image.scss +0 -0
- assets/scss/controls/radio.scss +0 -0
- assets/scss/controls/repeater.scss +0 -0
- assets/scss/controls/select.scss +0 -0
- assets/scss/controls/slider.scss +0 -0
- assets/scss/controls/sortable.scss +0 -0
- assets/scss/controls/spacing.scss +0 -0
- assets/scss/controls/switch.scss +0 -0
- assets/scss/controls/toggle.scss +0 -0
- assets/scss/controls/typography.scss +0 -0
- assets/scss/customizer.scss +0 -0
- assets/scss/global.scss +0 -0
- autoloader.php +1 -1
- includes/class-kirki-active-callback.php +0 -0
- includes/class-kirki-config.php +0 -0
- includes/class-kirki-control.php +0 -0
- includes/class-kirki-customize-control.php +0 -0
- includes/class-kirki-field.php +5 -1
- includes/class-kirki-helper.php +3 -0
- includes/class-kirki-init.php +0 -0
- includes/class-kirki-panel.php +0 -0
- includes/class-kirki-sanitize-values.php +0 -0
- includes/class-kirki-section.php +0 -0
- includes/class-kirki-settings.php +0 -0
- includes/class-kirki-toolkit.php +1 -1
- includes/class-kirki-values.php +0 -0
- includes/controls/class-kirki-controls-checkbox-control.php +0 -0
- includes/controls/class-kirki-controls-code-control.php +0 -0
- includes/controls/class-kirki-controls-color-alpha-control.php +2 -1
- includes/controls/class-kirki-controls-custom-control.php +0 -0
- includes/controls/class-kirki-controls-dimension-control.php +0 -0
- includes/controls/class-kirki-controls-editor-control.php +0 -0
- includes/controls/class-kirki-controls-multicheck-control.php +0 -0
- includes/controls/class-kirki-controls-number-control.php +0 -0
- includes/controls/class-kirki-controls-palette-control.php +0 -0
- includes/controls/class-kirki-controls-preset-control.php +0 -0
- includes/controls/class-kirki-controls-radio-buttonset-control.php +0 -0
- includes/controls/class-kirki-controls-radio-control.php +0 -0
- includes/controls/class-kirki-controls-radio-image-control.php +0 -0
- includes/controls/class-kirki-controls-repeater-control.php +0 -0
- includes/controls/class-kirki-controls-select-control.php +0 -0
- includes/controls/class-kirki-controls-slider-control.php +0 -0
- includes/controls/class-kirki-controls-sortable-control.php +0 -0
- includes/controls/class-kirki-controls-spacing-control.php +0 -0
- includes/controls/class-kirki-controls-switch-control.php +0 -0
- includes/controls/class-kirki-controls-toggle-control.php +0 -0
- includes/controls/class-kirki-controls-typography-control.php +0 -0
- includes/dynamic-css.php +0 -0
- includes/lib/class-kirki-colourlovers.php +0 -0
- includes/output/class-kirki-output.php +1 -0
- includes/output/control/class-kirki-output-control-typography.php +2 -0
- includes/output/property/class-kirki-output-property-background-position.php +2 -2
- includes/settings/class-kirki-settings-repeater-setting.php +0 -0
- includes/styles/class-kirki-styles-frontend.php +2 -8
- kirki.php +1 -1
- languages/kirki.pot +2 -2
- package.json +1 -1
- readme.txt +12 -1
.codeclimate.yml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
engines:
|
3 |
+
csslint:
|
4 |
+
enabled: true
|
5 |
+
duplication:
|
6 |
+
enabled: false
|
7 |
+
config:
|
8 |
+
languages:
|
9 |
+
- javascript
|
10 |
+
- php
|
11 |
+
fixme:
|
12 |
+
enabled: true
|
13 |
+
phpmd:
|
14 |
+
enabled: true
|
15 |
+
checks:
|
16 |
+
Controversial/CamelCaseMethodName:
|
17 |
+
enabled: false
|
18 |
+
ratings:
|
19 |
+
paths:
|
20 |
+
- "**.css"
|
21 |
+
- "**.js"
|
22 |
+
- "**.php"
|
23 |
+
exclude_paths:
|
24 |
+
- assets/css/customizer-dynamic-css-colors.css
|
25 |
+
- assets/js/customizer.js
|
26 |
+
- assets/js/vendor/*
|
27 |
+
- tests/*
|
28 |
+
- bin/*
|
.coveralls.yml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
coverage_clover: build/logs/clover.xml
|
2 |
+
service_name: travis-ci
|
3 |
+
json_path: tests/logs/coveralls-upload.json
|
.csslintrc
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
--exclude-exts=.min.css
|
2 |
+
--ignore=adjoining-classes,box-model,ids,order-alphabetical,unqualified-attributes
|
.gitignore
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# npm #
|
2 |
+
#######
|
3 |
+
node_modules
|
4 |
+
npm-debug.log
|
5 |
+
|
6 |
+
# grunt-contrib-sass #
|
7 |
+
######################
|
8 |
+
.sass-cache
|
9 |
+
|
10 |
+
# OS generated files #
|
11 |
+
######################
|
12 |
+
.DS_Store
|
13 |
+
.DS_Store?
|
14 |
+
._*
|
15 |
+
.Spotlight-V100
|
16 |
+
.Trashes
|
17 |
+
ehthumbs.db
|
18 |
+
Thumbs.db
|
.simplecov
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
require 'simplecov'
|
2 |
+
require 'coveralls'
|
3 |
+
|
4 |
+
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
5 |
+
SimpleCov.start do
|
6 |
+
add_filter "/test/"
|
7 |
+
end
|
.travis.yml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
language: php
|
2 |
+
|
3 |
+
sudo: false
|
4 |
+
|
5 |
+
notifications:
|
6 |
+
on_success: never
|
7 |
+
on_failure: change
|
8 |
+
|
9 |
+
php:
|
10 |
+
- 7.0
|
11 |
+
- hhvm
|
12 |
+
|
13 |
+
env:
|
14 |
+
- WP_VERSION=latest WP_MULTISITE=0
|
15 |
+
|
16 |
+
matrix:
|
17 |
+
# include:
|
18 |
+
# - php: 5.6
|
19 |
+
# env: WP_VERSION=latest WP_MULTISITE=1
|
20 |
+
exclude:
|
21 |
+
- php: hhvm
|
22 |
+
env: WP_VERSION=latest WP_MULTISITE=1
|
23 |
+
|
24 |
+
defore_install:
|
25 |
+
- pip install --user codecov
|
26 |
+
- composer require phpunit/phpunit:4.8.* satooshi/php-coveralls:dev-master
|
27 |
+
- composer install --dev
|
28 |
+
|
29 |
+
before_script:
|
30 |
+
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
|
31 |
+
- curl -s http://getcomposer.org/installer | php
|
32 |
+
- php composer.phar install --dev --no-interaction
|
33 |
+
|
34 |
+
script:
|
35 |
+
- mkdir -p build/logs
|
36 |
+
- phpunit --coverage-clover=coverage.clover
|
37 |
+
- find . \( -name '*kirki*.php' \) -exec php -lf {} \;
|
38 |
+
- ./vendor/bin/phpunit --coverage-clover ./tests/logs/clover.xml
|
39 |
+
|
40 |
+
after_script:
|
41 |
+
- php vendor/bin/coveralls
|
42 |
+
- wget https://scrutinizer-ci.com/ocular.phar
|
43 |
+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clove
|
44 |
+
|
45 |
+
after_success:
|
46 |
+
- coveralls
|
47 |
+
- codecov
|
48 |
+
- bash <(curl -s https://codecov.io/bash)
|
LICENSE
CHANGED
File without changes
|
README.md
CHANGED
@@ -1,465 +1,477 @@
|
|
1 |
-
# Kirki #
|
2 |
-
**Contributors:** aristath, fovoc, igmoweb
|
3 |
-
**Tags:** customizer,options framework, theme, mods, toolkit
|
4 |
-
**Donate link:** http://kirki.org/
|
5 |
-
**Requires at least:** 4.4
|
6 |
-
**Tested up to:** 4.5
|
7 |
-
**Stable tag:** 2.2.
|
8 |
-
**License:** GPLv2 or later
|
9 |
-
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
-
|
11 |
-
The ultimate toolkit for theme developers using the WordPress Customizer
|
12 |
-
|
13 |
-
|
14 |
-
## Description ##
|
15 |
-
|
16 |
-
[![Build Status](https://travis-ci.org/aristath/kirki.svg?branch=master)](https://travis-ci.org/aristath/kirki) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/aristath/kirki/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/aristath/kirki/?branch=master) [![Code Climate](https://codeclimate.com/github/aristath/kirki/badges/gpa.svg)](https://codeclimate.com/github/aristath/kirki) [![codecov.io](https://codecov.io/github/aristath/kirki/coverage.svg?branch=master)](https://codecov.io/github/aristath/kirki?branch=master) [![License](https://img.shields.io/badge/license-GPL--2.0%2B-red.svg)](https://raw.githubusercontent.com/aristath/kirki/master/LICENSE) [![Join the chat at https://gitter.im/aristath/kirki](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aristath/kirki?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
17 |
-
|
18 |
-
Kirki is a Toolkit allowing WordPress developers to use the Customizer and take advantage of its advanced features and flexibility by abstracting the code and making it easier for everyone to create beautiful and meaningful user experiences.
|
19 |
-
|
20 |
-
Kirki does not replace the WordPress Customizer API, you can still use the default WordPress methods and we advise you to familiarize yourselves with it. An excellent handbook for the WordPress Customizer can be found on the developer.wordpress.org website.
|
21 |
-
|
22 |
-
What Kirki does is save you time… LOTS of time!
|
23 |
-
|
24 |
-
Easily add configurations for your project, create panels, sections and add fields with ease.
|
25 |
-
|
26 |
-
Automatically create CSS from your fields, and make the customizer’s preview instant with our automatic postMessage scripts creation!
|
27 |
-
|
28 |
-
Add Google Fonts with our typography field, add tooltips to help your users and build awesome products!
|
29 |
-
|
30 |
-
You can find detailed documentation on how to use Kirki on [https://kirki.org](https://kirki.org)
|
31 |
-
|
32 |
-
## Installation ##
|
33 |
-
|
34 |
-
Simply install as a normal WordPress plugin and activate.
|
35 |
-
|
36 |
-
If you want to integrate Kirki in your theme or plugin, please read the instructions on [our ducumentation site](https://kirki.org/docs/advanced/integration.html).
|
37 |
-
|
38 |
-
## Changelog ##
|
39 |
-
|
40 |
-
### 2.2.
|
41 |
-
|
42 |
-
March
|
43 |
-
|
44 |
-
* FIX:
|
45 |
-
* FIX:
|
46 |
-
* FIX:
|
47 |
-
* FIX:
|
48 |
-
* FIX:
|
49 |
-
*
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
*
|
56 |
-
*
|
57 |
-
*
|
58 |
-
*
|
59 |
-
*
|
60 |
-
*
|
61 |
-
*
|
62 |
-
*
|
63 |
-
*
|
64 |
-
*
|
65 |
-
*
|
66 |
-
* NEW:
|
67 |
-
* NEW:
|
68 |
-
* NEW:
|
69 |
-
* NEW:
|
70 |
-
* NEW:
|
71 |
-
*
|
72 |
-
*
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
*
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
*
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
*
|
91 |
-
|
92 |
-
### 2.0
|
93 |
-
|
94 |
-
February
|
95 |
-
|
96 |
-
* FIX:
|
97 |
-
*
|
98 |
-
* NEW:
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
*
|
126 |
-
*
|
127 |
-
*
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
* FIX:
|
135 |
-
* FIX:
|
136 |
-
* FIX:
|
137 |
-
*
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
* FIX:
|
147 |
-
* FIX:
|
148 |
-
* FIX:
|
149 |
-
* FIX:
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
*
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
*
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
*
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
*
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
*
|
189 |
-
*
|
190 |
-
*
|
191 |
-
*
|
192 |
-
*
|
193 |
-
*
|
194 |
-
*
|
195 |
-
*
|
196 |
-
*
|
197 |
-
*
|
198 |
-
*
|
199 |
-
*
|
200 |
-
*
|
201 |
-
*
|
202 |
-
*
|
203 |
-
* TWEAK: Converted the `
|
204 |
-
* TWEAK: `
|
205 |
-
* TWEAK: `
|
206 |
-
* TWEAK: `
|
207 |
-
* TWEAK:
|
208 |
-
* TWEAK: `
|
209 |
-
* TWEAK: `
|
210 |
-
* TWEAK:
|
211 |
-
* TWEAK:
|
212 |
-
* TWEAK:
|
213 |
-
* TWEAK:
|
214 |
-
* TWEAK:
|
215 |
-
* TWEAK:
|
216 |
-
* TWEAK:
|
217 |
-
* TWEAK:
|
218 |
-
* TWEAK:
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
*
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
*
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
*
|
243 |
-
*
|
244 |
-
*
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
* NEW:
|
251 |
-
* NEW:
|
252 |
-
* NEW:
|
253 |
-
*
|
254 |
-
*
|
255 |
-
*
|
256 |
-
*
|
257 |
-
*
|
258 |
-
*
|
259 |
-
*
|
260 |
-
*
|
261 |
-
*
|
262 |
-
*
|
263 |
-
*
|
264 |
-
*
|
265 |
-
* FIX: Properly
|
266 |
-
* FIX:
|
267 |
-
*
|
268 |
-
*
|
269 |
-
*
|
270 |
-
*
|
271 |
-
*
|
272 |
-
*
|
273 |
-
*
|
274 |
-
*
|
275 |
-
*
|
276 |
-
*
|
277 |
-
*
|
278 |
-
*
|
279 |
-
* TWEAK:
|
280 |
-
* TWEAK:
|
281 |
-
* TWEAK:
|
282 |
-
* TWEAK:
|
283 |
-
*
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
*
|
290 |
-
*
|
291 |
-
*
|
292 |
-
*
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
*
|
302 |
-
*
|
303 |
-
*
|
304 |
-
* FIX:
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
*
|
311 |
-
*
|
312 |
-
* TWEAK:
|
313 |
-
* NEW:
|
314 |
-
*
|
315 |
-
*
|
316 |
-
* FIX:
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
*
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
* FIX:
|
329 |
-
|
330 |
-
### 0.8.
|
331 |
-
|
332 |
-
March 30, 2015, dev time:
|
333 |
-
|
334 |
-
*
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
* FIX:
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
*
|
347 |
-
* NEW:
|
348 |
-
*
|
349 |
-
*
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
*
|
356 |
-
*
|
357 |
-
*
|
358 |
-
*
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
*
|
368 |
-
*
|
369 |
-
*
|
370 |
-
* NEW: Added `
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
*
|
377 |
-
*
|
378 |
-
*
|
379 |
-
*
|
380 |
-
* TWEAK:
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
*
|
387 |
-
*
|
388 |
-
*
|
389 |
-
*
|
390 |
-
*
|
391 |
-
*
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
* FIX:
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
* FIX:
|
410 |
-
*
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
* FIX:
|
422 |
-
*
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
* FIX:
|
434 |
-
* FIX:
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
*
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
* FIX:
|
447 |
-
* NEW:
|
448 |
-
* FIX:
|
449 |
-
*
|
450 |
-
* FIX:
|
451 |
-
* FIX:
|
452 |
-
*
|
453 |
-
|
454 |
-
### 0.
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
*
|
459 |
-
* NEW:
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Kirki #
|
2 |
+
**Contributors:** aristath, fovoc, igmoweb
|
3 |
+
**Tags:** customizer,options framework, theme, mods, toolkit
|
4 |
+
**Donate link:** http://kirki.org/
|
5 |
+
**Requires at least:** 4.4
|
6 |
+
**Tested up to:** 4.5
|
7 |
+
**Stable tag:** 2.2.1
|
8 |
+
**License:** GPLv2 or later
|
9 |
+
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
+
|
11 |
+
The ultimate toolkit for theme developers using the WordPress Customizer
|
12 |
+
|
13 |
+
|
14 |
+
## Description ##
|
15 |
+
|
16 |
+
[![Build Status](https://travis-ci.org/aristath/kirki.svg?branch=master)](https://travis-ci.org/aristath/kirki) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/aristath/kirki/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/aristath/kirki/?branch=master) [![Code Climate](https://codeclimate.com/github/aristath/kirki/badges/gpa.svg)](https://codeclimate.com/github/aristath/kirki) [![codecov.io](https://codecov.io/github/aristath/kirki/coverage.svg?branch=master)](https://codecov.io/github/aristath/kirki?branch=master) [![License](https://img.shields.io/badge/license-GPL--2.0%2B-red.svg)](https://raw.githubusercontent.com/aristath/kirki/master/LICENSE) [![Join the chat at https://gitter.im/aristath/kirki](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aristath/kirki?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
17 |
+
|
18 |
+
Kirki is a Toolkit allowing WordPress developers to use the Customizer and take advantage of its advanced features and flexibility by abstracting the code and making it easier for everyone to create beautiful and meaningful user experiences.
|
19 |
+
|
20 |
+
Kirki does not replace the WordPress Customizer API, you can still use the default WordPress methods and we advise you to familiarize yourselves with it. An excellent handbook for the WordPress Customizer can be found on the developer.wordpress.org website.
|
21 |
+
|
22 |
+
What Kirki does is save you time… LOTS of time!
|
23 |
+
|
24 |
+
Easily add configurations for your project, create panels, sections and add fields with ease.
|
25 |
+
|
26 |
+
Automatically create CSS from your fields, and make the customizer’s preview instant with our automatic postMessage scripts creation!
|
27 |
+
|
28 |
+
Add Google Fonts with our typography field, add tooltips to help your users and build awesome products!
|
29 |
+
|
30 |
+
You can find detailed documentation on how to use Kirki on [https://kirki.org](https://kirki.org)
|
31 |
+
|
32 |
+
## Installation ##
|
33 |
+
|
34 |
+
Simply install as a normal WordPress plugin and activate.
|
35 |
+
|
36 |
+
If you want to integrate Kirki in your theme or plugin, please read the instructions on [our ducumentation site](https://kirki.org/docs/advanced/integration.html).
|
37 |
+
|
38 |
+
## Changelog ##
|
39 |
+
|
40 |
+
### 2.2.1 ###
|
41 |
+
|
42 |
+
March 17, 2016, dev time: 3 hours
|
43 |
+
|
44 |
+
* FIX: Alpha channel was always enabled for color controls
|
45 |
+
* FIX: PHP Notices in the class-kirki-output-control-typography.php file
|
46 |
+
* FIX: PHP Fatal error on PHP 5.2
|
47 |
+
* FIX: PHP Notice in the class-kirki-field.php file
|
48 |
+
* FIX: PHP Fatal error when using background-position in the output argument
|
49 |
+
* TWEAK: Removed unused languages from CodeMirror to reduce the plugin's size
|
50 |
+
|
51 |
+
### 2.2.0 ###
|
52 |
+
|
53 |
+
March 16, 2016, dev time: 120 hours
|
54 |
+
|
55 |
+
* FIX: Improved & simplified the `number` control.
|
56 |
+
* FIX: Improved & simplified the `spacing` control.
|
57 |
+
* FIX: Minor bugfix on the `select` control.
|
58 |
+
* FIX: WP Coding standards improvements.
|
59 |
+
* FIX: Bugfix for radio controls.
|
60 |
+
* FIX: Fixed repeater remove image not triggering save button to activate, and added a placeholder when the image is removed. (props @sayedwp)
|
61 |
+
* FIX: Fixed bug when using negative numbers as min value in the `number` field
|
62 |
+
* FIX: Typo in the textdomain for some strings (some strings were using "Kirki" instead of "kirki").
|
63 |
+
* FIX: Complete refactor & rewrite of the google-fonts implementation.
|
64 |
+
* FIX: IE11 bug on radio-image controls.
|
65 |
+
* FIX: Radio-image bug when used with serialized options.
|
66 |
+
* NEW: Complete refactor & rewrite of typography control.
|
67 |
+
* NEW: Refactored the CSS output methods.
|
68 |
+
* NEW: Added new mothods for detecting dependencies.
|
69 |
+
* NEW: Added font-subsets in typography controls.
|
70 |
+
* NEW: Google fonts now only show valid variants & subsets in typography controls.
|
71 |
+
* NEW: Implemented partial refreshes for WP 4.5 using a "partial_refresh" argument (formatted as an array).
|
72 |
+
* NEW: Better autoloader & improved file structure.
|
73 |
+
* NEW: Deprecated the `Kirki_Field_Sanitize` class in favor of a more simplified & robust implementation.
|
74 |
+
* NEW: Completely refactored the `Kirki_Field` class, we're migrating to a more OOP model.
|
75 |
+
* NEW: Added a new `kirki-generic` control.
|
76 |
+
* NEW: Deprecated the custom text control and used the new `kirki-generic` control instead.
|
77 |
+
* NEW: Deprecated the custom textarea control and used the new `kirki-generic` control instead.
|
78 |
+
* NEW: Renamed the `help` argument to `tooltip`. `help` will continue to work as an alias.
|
79 |
+
* NEW: Merged the `color` & color-alpha` controls. We now use the `color-alpha` control for all colors, and just modify the `data-alpha` property it has.
|
80 |
+
* NEW: Started an OOP rewrite of many classes
|
81 |
+
* NEW: Started rewriting the PHPUNIT tests & tweaked them so they can now run on localhosts (like VVV) and not just on travis-ci.
|
82 |
+
* NEW: Included the ariColor library for color calculations (https://aristath.github.io/ariColor/)
|
83 |
+
* TWEAK: Other code refactoring for improved performance
|
84 |
+
* TWEAK: Updated `grunt` packages.
|
85 |
+
|
86 |
+
### 2.1.0.1 ###
|
87 |
+
|
88 |
+
February 17, 2016, dev time: 5 minutes
|
89 |
+
|
90 |
+
* FIX: PHP Notices (undefined index)
|
91 |
+
|
92 |
+
### 2.1.0 ###
|
93 |
+
|
94 |
+
February 17, 2016, dev time: 4 hours
|
95 |
+
|
96 |
+
* FIX: Image field issues inside the Repeater field (props @sayedwp)
|
97 |
+
* NEW: Allow disabling output per-config
|
98 |
+
* NEW: Introduce 'postMessage' => 'auto' option in config (will auto-create `js_vars` using the `output` argument)
|
99 |
+
* NEW: New color control using a js-based template
|
100 |
+
* TWEAK: Branding script rewrite
|
101 |
+
* TWEAK: Color controls styling
|
102 |
+
* TWEAK: Coding improvements & cleanups
|
103 |
+
|
104 |
+
### 2.0.9 ###
|
105 |
+
|
106 |
+
February 13, 2016, dev time: 1 hour.
|
107 |
+
|
108 |
+
* FIX: Google fonts bug (use double quotes when font name contains a space character)
|
109 |
+
* FIX: Checkbox control bug (checkboxes were always displayed as checked, regardless of their actual value)
|
110 |
+
* NEW: Intruducing KIRKI_NO_OUTPUT constant that disables CSS output completely when set to true.
|
111 |
+
|
112 |
+
### 2.0.8 ###
|
113 |
+
|
114 |
+
February 10, 2016, dev time: 2 hours
|
115 |
+
|
116 |
+
* FIX: Only load Kirki styles when in the customizer
|
117 |
+
* FIX: Performance issue with Google Fonts
|
118 |
+
* NEW: Added radio-image controls to repeaters
|
119 |
+
* TWEAK: Better color handling in the Kirki_Color class
|
120 |
+
|
121 |
+
### 2.0.7 ###
|
122 |
+
|
123 |
+
January 19, 2016, dev time: 1 hour
|
124 |
+
|
125 |
+
* FIX: Narrow the scope of "multicheck" modification checker (props @chetzof)
|
126 |
+
* FIX: PHP warnings due to invalid callback method
|
127 |
+
* FIX: postMessage bug introduced in 2.0.6 (2 lines commented-out)
|
128 |
+
|
129 |
+
### 2.0.6 ###
|
130 |
+
|
131 |
+
January 18, 2016, dev time: 7 hours
|
132 |
+
|
133 |
+
* FIX: Fix active callback for multidimensional arrays. (props @andrezrv)
|
134 |
+
* FIX: Correctly check current value of checkbox control. (props @andrezrv)
|
135 |
+
* FIX: Bug in the sortable field (props @daviedR)
|
136 |
+
* FIX: Fixed some bugs that occured when using serialized options instead of theme_mods
|
137 |
+
* NEW: Added an image sub-field to repeater fields (props @sayedwp)
|
138 |
+
* NEW: Added a JS callback to js_vars (props @pingram3541)
|
139 |
+
* TWEAK: Settings sanitization
|
140 |
+
* TWEAK: Removed demo theme from the plugin. This is now provided separately on https://github.com/aristath/kirki-demo
|
141 |
+
|
142 |
+
### 2.0.5 ###
|
143 |
+
|
144 |
+
December 23, 2015, dev time: 2.5 hours
|
145 |
+
|
146 |
+
* FIX: Disabled the ajax-loading method for stylesheets. All styles are now added inline. Will be re-examined for a future release.
|
147 |
+
* FIX: Number controls were not properly triggering changes
|
148 |
+
* FIX: Styling for number controls
|
149 |
+
* FIX: In some cases the dynamic CSS was added before the main stylesheet. We now add them using a priority of 999 to ensure they are enqueued afterwards.
|
150 |
+
|
151 |
+
### 2.0.4 ###
|
152 |
+
|
153 |
+
December 19, 2015, dev time: 3 hours
|
154 |
+
|
155 |
+
* NEW: Added units support to the Typography field
|
156 |
+
* NEW: Default methods of enqueuing styles in now inline.
|
157 |
+
* NEW: Added 'inline_css' argument to config. set to false to add styles using AJAX.
|
158 |
+
* FIX: HTML mode for CodeMirror now functional
|
159 |
+
* FIX: PHP Notices when the config filter is used wrong
|
160 |
+
* FIX: Monor bugfix for text inputs
|
161 |
+
* FIX: Indentation & coding standards
|
162 |
+
* FIX: failing PHPUNIT test.
|
163 |
+
* TWEAK: Remove passing click event object
|
164 |
+
|
165 |
+
### 2.0.3 ###
|
166 |
+
|
167 |
+
December 6, 2015, dev time: 45 minutes
|
168 |
+
|
169 |
+
* Bugfix for updates
|
170 |
+
|
171 |
+
### 2.0.2 ###
|
172 |
+
|
173 |
+
December 6, 2015, dev time: 30 minutes
|
174 |
+
|
175 |
+
* FIX: Fatal error on update (not on new installations)
|
176 |
+
* FIX: Typo
|
177 |
+
|
178 |
+
### 2.0.1 ###
|
179 |
+
|
180 |
+
December 6, 2015, dev time: 10 minutes
|
181 |
+
|
182 |
+
* FIX: Some configurations were failing with the new autoloader. Reverted to a simpler file structure.
|
183 |
+
|
184 |
+
### 2.0 ###
|
185 |
+
|
186 |
+
December 6, 2015, dev time > 140 hours
|
187 |
+
|
188 |
+
* NEW: Added support for `sanitize_callback` arguments on each item in the CSS `output`.
|
189 |
+
* NEW: Added the ability to define an array as element in the `output`.
|
190 |
+
* NEW: Auto-prefixing CSS output for cross-browser compatibilities.
|
191 |
+
* NEW: Allow using arrays in settings.
|
192 |
+
* NEW: Dimension Field.
|
193 |
+
* NEW: Repeater Field.
|
194 |
+
* NEW: Code Field using the ACE editor.
|
195 |
+
* NEW: Typography Control.
|
196 |
+
* NEW: Preset Field.
|
197 |
+
* NEW: Demo theme.
|
198 |
+
* NEW: Spacing Control.
|
199 |
+
* REMOVED: Redux Framework compatibility.
|
200 |
+
* FIX: Minor bugfixes to the Kirki_Color class.
|
201 |
+
* FIX: kirki_get_option now uses Kirki::get_option().
|
202 |
+
* FIX: Various bugfixes.
|
203 |
+
* TWEAK: Converted the `checkbox` control to use the JS templating system.
|
204 |
+
* TWEAK: Converted the `custom` control to use the JS templating system.
|
205 |
+
* TWEAK: Converted the `multicheck` control to use the JS templating system.
|
206 |
+
* TWEAK: Converted the `number` control to use the JS templating system.
|
207 |
+
* TWEAK: Converted the `palette` control to use the JS templating system.
|
208 |
+
* TWEAK: Converted the `radio-buttonset` control to use the JS templating system.
|
209 |
+
* TWEAK: Converted the `radio-image` control to use the JS templating system.
|
210 |
+
* TWEAK: Converted the `radio` control to use the JS templating system.
|
211 |
+
* TWEAK: Converted the `select` control to use the JS templating system.
|
212 |
+
* TWEAK: Converted the `slider` control to use the JS templating system.
|
213 |
+
* TWEAK: Converted the `switch` control to use the JS templating system.
|
214 |
+
* TWEAK: Converted the `textarea` control to use the JS templating system.
|
215 |
+
* TWEAK: Converted the `toggle` control to use the JS templating system.
|
216 |
+
* TWEAK: `radio-buttonset` controls are now CSS-only.
|
217 |
+
* TWEAK: `radio-image` controls are now CSS-only.
|
218 |
+
* TWEAK: `select` controls nopw use [selectize](http://brianreavis.github.io/selectize.js/) instead of [Select2](https://select2.github.io/).
|
219 |
+
* TWEAK: Deprecated `select2` and `select2-multiple` controls. We now have a global `select` control. Previous implementations gracefully fallback to the current one.
|
220 |
+
* TWEAK: `switch` controls are now CSS-only.
|
221 |
+
* TWEAK: `toggle` controls are now CSS-only.
|
222 |
+
* TWEAK: Sliders now use an HTML5 "range" input instead of jQuery-UI.
|
223 |
+
* TWEAK: Better coding standards.
|
224 |
+
* TWEAK: Descriptions styling.
|
225 |
+
* TWEAK: Improved controls styling.
|
226 |
+
* TWEAK: Compiled CSS & JS for improved performance.
|
227 |
+
* TWEAK: Added prefix to the sanitized output array.
|
228 |
+
* TWEAK: Updated google-fonts.
|
229 |
+
* TWEAK: Grunt integration.
|
230 |
+
* TWEAK: Some Code refactoring.
|
231 |
+
|
232 |
+
### 1.0.2 ###
|
233 |
+
|
234 |
+
July 17, 2014, dev time: 5 minutes
|
235 |
+
|
236 |
+
* NEW: Added 'disable_output' and 'disable_google_fonts' arguments to the configuration.
|
237 |
+
|
238 |
+
### 1.0.1 ###
|
239 |
+
|
240 |
+
July 17, 2014, dev time: 1 hour
|
241 |
+
|
242 |
+
* FIX: Issues when using serialized options instead of theme_mods or individual options.
|
243 |
+
* FIX: Issues with the `output` argument on fields.
|
244 |
+
* FIX: Other minor bugfixes
|
245 |
+
|
246 |
+
### 1.0.0 ###
|
247 |
+
|
248 |
+
July 11, 2014, dev time: 177 hours
|
249 |
+
|
250 |
+
* NEW: Added PHPUnit tests
|
251 |
+
* NEW: Use wp_add_inline_style to add customizer styles
|
252 |
+
* NEW: Rebuilt the background fields calculation
|
253 |
+
* NEW: Now using Formstone for switches & toggles
|
254 |
+
* NEW: Added a new API. See https://github.com/aristath/kirki/wiki for documentation.
|
255 |
+
* NEW: Minimum PHP requirement is now PHP 5.2
|
256 |
+
* NEW: Added a Select2 field type.
|
257 |
+
* NEW: Introducing the Kirki::get_option() method to get values.
|
258 |
+
* NEW: added 'media_query' argument to output.
|
259 |
+
* NEW: Added ability to get variables for CSS preprocessors from the customizer values. See https://github.com/aristath/kirki/wiki/variables for documentation
|
260 |
+
* NEW: now supporting 'units' to all outputs to support '!important'
|
261 |
+
* NEW: Ability to create panels & sections using the new API.
|
262 |
+
* NEW: added a get_posts method to the Kirki class.
|
263 |
+
* NEW: Implement width argument in the styling options. See https://github.com/aristath/kirki/wiki/Styling-the-Customizer
|
264 |
+
* NEW: add 'kirki/control_types' filter
|
265 |
+
* FIX: Properly saving values in the db when using serialized options
|
266 |
+
* FIX: Check if classes & functions exist before adding them (allows for better compatibility when embedded in a theme)
|
267 |
+
* FIX: PHP Warnings & Notices
|
268 |
+
* FIX: Other minor bugfixes
|
269 |
+
* FIX: Now using consistently `option_type` instead of `options_type` everywhere
|
270 |
+
* FIX: `Kirki::get_option()` method now works for all fields, including background fields.
|
271 |
+
* FIX: avoid errors when Color is undefined in background fields
|
272 |
+
* FIX: Use WP_Filesystem to get the google fonts array from a json file
|
273 |
+
* FIX: Radio-Button styling
|
274 |
+
* FIX: PHP Notices
|
275 |
+
* FIX: Typos
|
276 |
+
* FIX: Properly sanitizing rgba colors
|
277 |
+
* FIX: Properly sanitize numbers
|
278 |
+
* FIX: Make sure all variables are escaped on output
|
279 |
+
* TWEAK: Simplify the Colourlovers integration.
|
280 |
+
* TWEAK: Improve sanitization
|
281 |
+
* TWEAK: Improve the Kirki_Styles_Customizer class
|
282 |
+
* TWEAK: Code cleanups
|
283 |
+
* TWEAK: Added more inline docs (lots of them)
|
284 |
+
* TWEAK: Use active_callback for required arguments instead of custom JS
|
285 |
+
* TWEAK: Updated translation files
|
286 |
+
* TWEAK: Better color manipulation in the Kirki_Color class
|
287 |
+
* TWEAK: Move secondary classes instantiation to the Kirki() function.
|
288 |
+
* TWEAK: set a $kirki global
|
289 |
+
* TWEAK: deprecate getOrThrow method in the Kirki_Config class.
|
290 |
+
* TWEAK: Move sanitisation functions to a Kirki_Sanitize class.
|
291 |
+
* TWEAK: Rename Kirki_Framework to Kirki_Toolkit.
|
292 |
+
* TWEAK: Move variables to the new API
|
293 |
+
* TWEAK: simplify Kirki_Controls class
|
294 |
+
* TWEAK: move the kirki/fields & kirki/controls filters to the new API
|
295 |
+
* REMOVED: remove the 'stylesheet_id' from the configuration.
|
296 |
+
|
297 |
+
### 0.8.4 ###
|
298 |
+
|
299 |
+
April 6, 2014, dev time: 0.5 hours
|
300 |
+
|
301 |
+
* FIX: Color sanitization was distorting 0 characters in the color hex.
|
302 |
+
* FIX: Properly sanitizing ColorAlpha controls
|
303 |
+
* FIX: Sanitizing more properties in the Fields class
|
304 |
+
* FIX: removing remnant double-sanitization calls from the controls classes
|
305 |
+
|
306 |
+
### 0.8.3 ###
|
307 |
+
|
308 |
+
April 5, 2014, dev time: 28 hours
|
309 |
+
|
310 |
+
* NEW: Introduce a Field class
|
311 |
+
* NEW: Introduce a Builder class
|
312 |
+
* TWEAK: Code Cleanups
|
313 |
+
* NEW: Added ability to use 'option' as the setting type
|
314 |
+
* Fix : Bugs in the color calculation class
|
315 |
+
* TWEAK: Everything gets sanitized in the "Field" class
|
316 |
+
* FIX: Bugs in sortable field
|
317 |
+
* FIX: Editor control had no description
|
318 |
+
* NEW: Added a color-alpha control. To use it just set an rgba color as the default value.
|
319 |
+
* TWEAK: SCSS & CSS improvements
|
320 |
+
* FIX: Various PHP notices and warnings when no fields are defined
|
321 |
+
* TWEAK: More efficient color sanitization method
|
322 |
+
* TWEAK: Improved number control presentation
|
323 |
+
* TWEAK: Improved the way background fields are handled
|
324 |
+
* TWEAK: Checkboxes styling
|
325 |
+
* NEW: Allow using rgba values for background colors
|
326 |
+
* FIX: CSS fix - :focus color for active section
|
327 |
+
* NEW: Add a static 'prepare' method to the ScriptRegistry class
|
328 |
+
* FIX: Issues with the URL when Kirki is embedded in a theme
|
329 |
+
|
330 |
+
### 0.8.2 ###
|
331 |
+
|
332 |
+
March 30, 2015, dev time: 5 minutes
|
333 |
+
|
334 |
+
* FIX: Autoloader could not properly include files due to strtolower()
|
335 |
+
|
336 |
+
### 0.8.1 ###
|
337 |
+
|
338 |
+
March 30, 2015, dev time: 30 minutes
|
339 |
+
|
340 |
+
* FIX: Translation strings now overridable using the config filter.
|
341 |
+
|
342 |
+
### 0.8.0 ###
|
343 |
+
|
344 |
+
March 30, 2015, dev time: 32 hours
|
345 |
+
|
346 |
+
* Improvement: OOP redesign (props @vpratfr)
|
347 |
+
* NEW: Added Palette control
|
348 |
+
* NEW: Added Editor control (WYSIWYG - uses TinyMCE)
|
349 |
+
* NEW: Added Custom control (free html)
|
350 |
+
* NEW: Added a Kirki_Colourlovers class to use palettes from the colourlovers API
|
351 |
+
* NEW: Added a composer file (props @vpratfr)
|
352 |
+
* FIX: Wrong settings IDs
|
353 |
+
* FIX: Color calculation on RGBA functions were off
|
354 |
+
* TWEAK: Restructuring the plugin (props @vpratfr)
|
355 |
+
* NEW: added a functional kirki_get_option() function
|
356 |
+
* TWEAK: Simplified configuration options.
|
357 |
+
* NEW: Turn Kirki into a singleton and a facade (props @vpratfr)
|
358 |
+
* TWEAK: Completely re-written the customizer styles
|
359 |
+
* NEW: Using SASS for customizer styles
|
360 |
+
* TWEAK: Deprecating the group_title control in favor of the new custom control
|
361 |
+
* TWEAK: Changed the CSS for checkboxes
|
362 |
+
|
363 |
+
### 0.7.1 ###
|
364 |
+
|
365 |
+
March 15, 2015, dev time: 2 hours
|
366 |
+
|
367 |
+
* REMOVED: Remove the `kirki_get_option` function that was introduced in 0.7 as it's not working properly yet.
|
368 |
+
* FIX: Undefined index notice when a default value for the control was not defined
|
369 |
+
* TWEAK: `logo_image` now injects an `img` element instead of a `div` with custom background
|
370 |
+
* NEW: Added `description` argument in the kirki configuration (replaces the theme description)
|
371 |
+
|
372 |
+
### 0.7 ###
|
373 |
+
|
374 |
+
March 14, 2015, dev time: 10 hours
|
375 |
+
|
376 |
+
* FIX: Array to string conversion that happened conditionally when used with googlefonts. (props @groucho75)
|
377 |
+
* FIX: Background opacity affects background-position of bg image
|
378 |
+
* FIX: font-weight not being applied on google fonts
|
379 |
+
* NEW: Added `kirki_get_option( $setting );` function that also gets default values
|
380 |
+
* TWEAK: Singleton for main plugin class
|
381 |
+
* FIX: Prevent empty help tooltips
|
382 |
+
* NEW: Added `toggle` control
|
383 |
+
* NEW: Added `switch` control
|
384 |
+
* FIX: Color controls were not being reset to default:
|
385 |
+
* TWEAK: Tooltips now loaded via jQuery
|
386 |
+
* TWEAK: Renamed `setting` to settings for consistency with WordPress core
|
387 |
+
* TWEAK: Renamed `description` to `help` and `subtitle` to `description for consistency with WordPress core
|
388 |
+
* TWEAK: Backwards-compatibility improvements
|
389 |
+
* NEW: Allow hiding background control elements by not including default values for them
|
390 |
+
* TWEAK: Performance improvements
|
391 |
+
* TWEAK: Using WordPress core controls instead of custom ones when those are available
|
392 |
+
* TWEAK: Separate logic for multiple-type controls that were using the "mode" argument. This has been deprecated in favor of completely separate control types.
|
393 |
+
|
394 |
+
### 0.6.2 ###
|
395 |
+
|
396 |
+
March 2, 2015, dev time: 3 hours
|
397 |
+
|
398 |
+
* FIX: Frontend styles were not properly enqueued (props @dmgawel)
|
399 |
+
* NEW: Allow multiple output styles per control defined as an array of arrays.
|
400 |
+
* FIX: Background control styles
|
401 |
+
* FIX: Serialise default values for the sortable control. Now you can define default values as an array.
|
402 |
+
* FIX: Required script
|
403 |
+
* FIX: \'_opacity\' was added to a lot of controls by mistake. Removed it and wrote a migration script.
|
404 |
+
|
405 |
+
### 0.6.1 ###
|
406 |
+
|
407 |
+
February 25, 2015, dev time: 1 hours
|
408 |
+
|
409 |
+
* FIX: Sortables controls had a JS conflict
|
410 |
+
* FIX: Switches & Toggles were not properly working
|
411 |
+
|
412 |
+
### 0.6.0 ###
|
413 |
+
|
414 |
+
February 25, 2015, dev time: 9 hours
|
415 |
+
|
416 |
+
* FIX: Tooltips now properly working
|
417 |
+
* NEW: Added checkbox switches
|
418 |
+
* NEW: Added checkbox toggles
|
419 |
+
* FIX: Generated CSS is not properly combined & minified
|
420 |
+
* FIX: Re-structuring files hierarchy
|
421 |
+
* FIX: Simplify the way controls are loaded
|
422 |
+
* NEW: Only load control classes when they are needed
|
423 |
+
* NEW: Introducing Kirki_Customize_Control class
|
424 |
+
* FIX: CSS tweaks
|
425 |
+
* NEW: Sortable control (creating one is identical to a select control, but with `\'type\' => \'sortable\'`)
|
426 |
+
* FIX: Double output CSS (props @agusmu)
|
427 |
+
* NEW: Google fonts now parsed from a json file.
|
428 |
+
|
429 |
+
### 0.5.1 ###
|
430 |
+
|
431 |
+
January 22, 2015
|
432 |
+
|
433 |
+
* FIX: Transport defaults to refresh instead of postMessage
|
434 |
+
* FIX: undefined index notice.
|
435 |
+
|
436 |
+
### 0.5 ###
|
437 |
+
|
438 |
+
January 21, 2015
|
439 |
+
|
440 |
+
* NEW: Automatic output of styles for generic controls.
|
441 |
+
* NEW: Automatic output of styles + scripts for fonts (including googlefonts )
|
442 |
+
* NEW: The \'output\' argument on background controls is now an array for consistency with other controls. Older syntax is still compatible though. :)
|
443 |
+
* NEW: Add the ability to auto-generate styles for colors.
|
444 |
+
* FIX: Add a blank stylesheet if we need one and no stylesheet_id has been defined in the config options.
|
445 |
+
* FIX: CSS-only tooltips. Fixes issue with tooltips now showing up on WP >= 4.1
|
446 |
+
* FIX: Code cleanups
|
447 |
+
* NEW: Added support for WordPress\'s transport arguments
|
448 |
+
* FIX: All controls now have a sanitization callback. Users can override the default sanitizations by adding their own \'sanitize_callback\' argument.
|
449 |
+
* FIX: OOP rewrite
|
450 |
+
* FIX: Strip protocol from Google API link
|
451 |
+
* FIX: Loading order for some files
|
452 |
+
* FIX: Removed deprecated less_var argument
|
453 |
+
|
454 |
+
### 0.4 ###
|
455 |
+
|
456 |
+
October 25, 2014
|
457 |
+
|
458 |
+
* FIX: bugfix for selector
|
459 |
+
* NEW: Change the Kirki theme based on which admin theme is selected.
|
460 |
+
* FIX: Tranlsation domain issue
|
461 |
+
* NEW: Added a \"group_title\" control
|
462 |
+
* FIX: Updated the required script
|
463 |
+
* FIX: Updating CSS
|
464 |
+
* Other minor improvements and bugfixes
|
465 |
+
|
466 |
+
### 0.3 ###
|
467 |
+
|
468 |
+
May 26, 2014
|
469 |
+
|
470 |
+
* NEW: added background field
|
471 |
+
* NEW: added \'output\' argument to directly output the CSS
|
472 |
+
|
473 |
+
### 0.2 ###
|
474 |
+
|
475 |
+
May 9, 2014
|
476 |
+
|
477 |
+
* Initial version
|
assets/css/customizer.css
CHANGED
File without changes
|
assets/css/customizer.css.map
CHANGED
File without changes
|
assets/css/customizer.min.css
CHANGED
File without changes
|
assets/css/transparency-grid.png
CHANGED
File without changes
|
assets/images/jquery.fs.stepper-arrows.png
CHANGED
File without changes
|
assets/images/kirki-toolkit.png
CHANGED
File without changes
|
assets/js/controls/checkbox.js
CHANGED
File without changes
|
assets/js/controls/dimension.js
CHANGED
File without changes
|
assets/js/controls/editor.js
CHANGED
File without changes
|
assets/js/controls/multicheck.js
CHANGED
File without changes
|
assets/js/controls/number.js
CHANGED
File without changes
|
assets/js/controls/palette.js
CHANGED
File without changes
|
assets/js/controls/preset.js
CHANGED
File without changes
|
assets/js/controls/radio-buttonset.js
CHANGED
File without changes
|
assets/js/controls/radio-image.js
CHANGED
File without changes
|
assets/js/controls/radio.js
CHANGED
File without changes
|
assets/js/controls/repeater.js
CHANGED
File without changes
|
assets/js/controls/select.js
CHANGED
File without changes
|
assets/js/controls/slider.js
CHANGED
File without changes
|
assets/js/controls/sortable.js
CHANGED
File without changes
|
assets/js/controls/spacing.js
CHANGED
File without changes
|
assets/js/controls/switch.js
CHANGED
File without changes
|
assets/js/controls/toggle.js
CHANGED
File without changes
|
assets/js/controls/typography.js
CHANGED
File without changes
|
assets/js/customizer.js
CHANGED
File without changes
|
assets/js/customizer.min.js
CHANGED
File without changes
|
assets/js/customizer.min.js.map
CHANGED
File without changes
|
assets/js/vendor/selectize.js
CHANGED
File without changes
|
assets/js/vendor/serialize.js
CHANGED
File without changes
|
assets/scss/controls/checkbox.scss
CHANGED
File without changes
|
assets/scss/controls/code.scss
CHANGED
File without changes
|
assets/scss/controls/dimension.scss
CHANGED
File without changes
|
assets/scss/controls/multicheck.scss
CHANGED
File without changes
|
assets/scss/controls/number.scss
CHANGED
File without changes
|
assets/scss/controls/palette.scss
CHANGED
File without changes
|
assets/scss/controls/radio-buttonset.scss
CHANGED
File without changes
|
assets/scss/controls/radio-image.scss
CHANGED
File without changes
|
assets/scss/controls/radio.scss
CHANGED
File without changes
|
assets/scss/controls/repeater.scss
CHANGED
File without changes
|
assets/scss/controls/select.scss
CHANGED
File without changes
|
assets/scss/controls/slider.scss
CHANGED
File without changes
|
assets/scss/controls/sortable.scss
CHANGED
File without changes
|
assets/scss/controls/spacing.scss
CHANGED
File without changes
|
assets/scss/controls/switch.scss
CHANGED
File without changes
|
assets/scss/controls/toggle.scss
CHANGED
File without changes
|
assets/scss/controls/typography.scss
CHANGED
File without changes
|
assets/scss/customizer.scss
CHANGED
File without changes
|
assets/scss/global.scss
CHANGED
File without changes
|
autoloader.php
CHANGED
@@ -28,7 +28,7 @@ if ( ! function_exists( 'kirki_autoload_classes' ) ) {
|
|
28 |
foreach ( $paths as $path ) {
|
29 |
$path = wp_normalize_path( $path );
|
30 |
if ( file_exists( $path ) ) {
|
31 |
-
|
32 |
return;
|
33 |
}
|
34 |
}
|
28 |
foreach ( $paths as $path ) {
|
29 |
$path = wp_normalize_path( $path );
|
30 |
if ( file_exists( $path ) ) {
|
31 |
+
include_once $path;
|
32 |
return;
|
33 |
}
|
34 |
}
|
includes/class-kirki-active-callback.php
CHANGED
File without changes
|
includes/class-kirki-config.php
CHANGED
File without changes
|
includes/class-kirki-control.php
CHANGED
File without changes
|
includes/class-kirki-customize-control.php
CHANGED
File without changes
|
includes/class-kirki-field.php
CHANGED
@@ -180,7 +180,11 @@ if ( ! class_exists( 'Kirki_Field' ) ) {
|
|
180 |
// Get defaults from the class
|
181 |
$defaults = get_class_vars( __CLASS__ );
|
182 |
// Get the config arguments, and merge them with the defaults
|
183 |
-
$config_defaults = Kirki::$config[
|
|
|
|
|
|
|
|
|
184 |
foreach ( $config_defaults as $key => $value ) {
|
185 |
if ( isset( $defaults[ $key ] ) ) {
|
186 |
if ( ! empty( $value ) && $value != $defaults[ $key ] ) {
|
180 |
// Get defaults from the class
|
181 |
$defaults = get_class_vars( __CLASS__ );
|
182 |
// Get the config arguments, and merge them with the defaults
|
183 |
+
$config_defaults = ( isset( Kirki::$config['global'] ) ) ? Kirki::$config['global'] : array();
|
184 |
+
if ( 'global' != $this->kirki_config && isset( Kirki::$config[ $this->kirki_config ] ) ) {
|
185 |
+
$config_defaults = Kirki::$config[ $this->kirki_config ];
|
186 |
+
}
|
187 |
+
$config_defaults = ( is_array( $config_defaults ) ) ? $config_defaults : array();
|
188 |
foreach ( $config_defaults as $key => $value ) {
|
189 |
if ( isset( $defaults[ $key ] ) ) {
|
190 |
if ( ! empty( $value ) && $value != $defaults[ $key ] ) {
|
includes/class-kirki-helper.php
CHANGED
@@ -27,6 +27,9 @@ if ( ! class_exists( 'Kirki_Helper' ) ) {
|
|
27 |
* @return array
|
28 |
*/
|
29 |
public static function array_replace_recursive( $array, $array1 ) {
|
|
|
|
|
|
|
30 |
// handle the arguments, merge one by one
|
31 |
$args = func_get_args();
|
32 |
$array = $args[0];
|
27 |
* @return array
|
28 |
*/
|
29 |
public static function array_replace_recursive( $array, $array1 ) {
|
30 |
+
if ( function_exists( 'array_replace_recursive' ) ) {
|
31 |
+
return array_replace_recursive( $array, $array1 );
|
32 |
+
}
|
33 |
// handle the arguments, merge one by one
|
34 |
$args = func_get_args();
|
35 |
$array = $args[0];
|
includes/class-kirki-init.php
CHANGED
File without changes
|
includes/class-kirki-panel.php
CHANGED
File without changes
|
includes/class-kirki-sanitize-values.php
CHANGED
File without changes
|
includes/class-kirki-section.php
CHANGED
File without changes
|
includes/class-kirki-settings.php
CHANGED
File without changes
|
includes/class-kirki-toolkit.php
CHANGED
@@ -30,7 +30,7 @@ if ( ! class_exists( 'Kirki_Toolkit' ) ) {
|
|
30 |
* @access protected
|
31 |
* @var string
|
32 |
*/
|
33 |
-
protected static $version = '2.2.
|
34 |
|
35 |
/**
|
36 |
* Access the single instance of this class
|
30 |
* @access protected
|
31 |
* @var string
|
32 |
*/
|
33 |
+
protected static $version = '2.2.1';
|
34 |
|
35 |
/**
|
36 |
* Access the single instance of this class
|
includes/class-kirki-values.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-checkbox-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-code-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-color-alpha-control.php
CHANGED
@@ -26,6 +26,7 @@ if ( ! class_exists( 'Kirki_Controls_Color_Alpha_Control' ) ) {
|
|
26 |
public function to_json() {
|
27 |
parent::to_json();
|
28 |
$this->json['palette'] = $this->palette;
|
|
|
29 |
}
|
30 |
|
31 |
protected function render() {
|
@@ -49,7 +50,7 @@ if ( ! class_exists( 'Kirki_Controls_Color_Alpha_Control' ) ) {
|
|
49 |
<# if ( data.description ) { #>
|
50 |
<span class="description customize-control-description">{{ data.description }}</span>
|
51 |
<# } #>
|
52 |
-
<input type="text" data-palette="{{ data.palette }}" data-default-color="{{ data.default }}" data-alpha="
|
53 |
</label>
|
54 |
<?php
|
55 |
}
|
26 |
public function to_json() {
|
27 |
parent::to_json();
|
28 |
$this->json['palette'] = $this->palette;
|
29 |
+
$this->choices['alpha'] = ( isset( $this->choices['alpha'] ) && $this->choices['alpha'] ) ? 'true' : 'false';
|
30 |
}
|
31 |
|
32 |
protected function render() {
|
50 |
<# if ( data.description ) { #>
|
51 |
<span class="description customize-control-description">{{ data.description }}</span>
|
52 |
<# } #>
|
53 |
+
<input type="text" data-palette="{{ data.palette }}" data-default-color="{{ data.default }}" data-alpha="{{ data.choices['alpha'] }}" value="{{ data.value }}" class="kirki-color-control color-picker" {{{ data.link }}} />
|
54 |
</label>
|
55 |
<?php
|
56 |
}
|
includes/controls/class-kirki-controls-custom-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-dimension-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-editor-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-multicheck-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-number-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-palette-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-preset-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-radio-buttonset-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-radio-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-radio-image-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-repeater-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-select-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-slider-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-sortable-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-spacing-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-switch-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-toggle-control.php
CHANGED
File without changes
|
includes/controls/class-kirki-controls-typography-control.php
CHANGED
File without changes
|
includes/dynamic-css.php
CHANGED
File without changes
|
includes/lib/class-kirki-colourlovers.php
CHANGED
File without changes
|
includes/output/class-kirki-output.php
CHANGED
@@ -35,6 +35,7 @@ class Kirki_Output {
|
|
35 |
* @param $value string|array
|
36 |
*/
|
37 |
public function __construct( $config_id, $output, $value ) {
|
|
|
38 |
$this->config_id = $config_id;
|
39 |
$this->value = $value;
|
40 |
$this->output = $output;
|
35 |
* @param $value string|array
|
36 |
*/
|
37 |
public function __construct( $config_id, $output, $value ) {
|
38 |
+
|
39 |
$this->config_id = $config_id;
|
40 |
$this->value = $value;
|
41 |
$this->output = $output;
|
includes/output/control/class-kirki-output-control-typography.php
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
class Kirki_Output_Control_Typography extends Kirki_Output {
|
4 |
|
5 |
protected function process_output( $output, $value ) {
|
|
|
|
|
6 |
|
7 |
// Take care of font-families
|
8 |
if ( isset( $value['font-family'] ) ) {
|
3 |
class Kirki_Output_Control_Typography extends Kirki_Output {
|
4 |
|
5 |
protected function process_output( $output, $value ) {
|
6 |
+
$output['media_query'] = ( isset( $output['media_query'] ) ) ? $output['media_query'] : 'global';
|
7 |
+
$output['element'] = ( isset( $output['element'] ) ) ? $output['element'] : 'body';
|
8 |
|
9 |
// Take care of font-families
|
10 |
if ( isset( $value['font-family'] ) ) {
|
includes/output/property/class-kirki-output-property-background-position.php
CHANGED
@@ -26,10 +26,10 @@ class Kirki_Output_Property_Background_Position extends Kirki_Output_Property {
|
|
26 |
|
27 |
// If x is not left/center/right, we need to sanitize it.
|
28 |
if ( ! in_array( $x, $x_dimensions ) ) {
|
29 |
-
$x =
|
30 |
}
|
31 |
if ( ! in_array( $y, $y_dimensions ) ) {
|
32 |
-
$y =
|
33 |
}
|
34 |
$this->value = $x . ' ' . $y;
|
35 |
return;
|
26 |
|
27 |
// If x is not left/center/right, we need to sanitize it.
|
28 |
if ( ! in_array( $x, $x_dimensions ) ) {
|
29 |
+
$x = Kirki_Sanitize_Values::css_dimension( $x );
|
30 |
}
|
31 |
if ( ! in_array( $y, $y_dimensions ) ) {
|
32 |
+
$y = Kirki_Sanitize_Values::css_dimension( $y );
|
33 |
}
|
34 |
$this->value = $x . ' ' . $y;
|
35 |
return;
|
includes/settings/class-kirki-settings-repeater-setting.php
CHANGED
File without changes
|
includes/styles/class-kirki-styles-frontend.php
CHANGED
@@ -105,16 +105,10 @@ if ( ! class_exists( 'Kirki_Styles_Frontend' ) ) {
|
|
105 |
|
106 |
// Only continue if $field['output'] is set
|
107 |
if ( isset( $field['output'] ) && ! empty( $field['output'] ) && 'background' != $field['type'] ) {
|
108 |
-
|
109 |
-
// Fallback: the array_replace_recurcive function is not found on all system configurations.
|
110 |
-
$array_replace_recursive = 'array_replace_recursive';
|
111 |
-
if ( ! function_exists( 'array_replace_recursive' ) ) {
|
112 |
-
$array_replace_recursive = array( 'Kirki_Helper', 'array_replace_recursive' );
|
113 |
-
}
|
114 |
-
$css = $array_replace_recursive( $css, Kirki_Styles_Output_CSS::css( $field ) );
|
115 |
// Add the globals
|
116 |
if ( isset( self::$css_array[ $config_id ] ) && ! empty( self::$css_array[ $config_id ] ) ) {
|
117 |
-
|
118 |
}
|
119 |
|
120 |
}
|
105 |
|
106 |
// Only continue if $field['output'] is set
|
107 |
if ( isset( $field['output'] ) && ! empty( $field['output'] ) && 'background' != $field['type'] ) {
|
108 |
+
$css = Kirki_Helper::array_replace_recursive( $css, Kirki_Styles_Output_CSS::css( $field ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
// Add the globals
|
110 |
if ( isset( self::$css_array[ $config_id ] ) && ! empty( self::$css_array[ $config_id ] ) ) {
|
111 |
+
Kirki_Helper::array_replace_recursive( $css, self::$css_array[ $config_id ] );
|
112 |
}
|
113 |
|
114 |
}
|
kirki.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The ultimate WordPress Customizer Toolkit
|
6 |
* Author: Aristeides Stathopoulos
|
7 |
* Author URI: http://aristeides.com
|
8 |
-
* Version: 2.2.
|
9 |
* Text Domain: kirki
|
10 |
*
|
11 |
* GitHub Plugin URI: aristath/kirki
|
5 |
* Description: The ultimate WordPress Customizer Toolkit
|
6 |
* Author: Aristeides Stathopoulos
|
7 |
* Author URI: http://aristeides.com
|
8 |
+
* Version: 2.2.1
|
9 |
* Text Domain: kirki
|
10 |
*
|
11 |
* GitHub Plugin URI: aristath/kirki
|
languages/kirki.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Kirki Toolkit package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Kirki Toolkit 2.2.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/kirki\n"
|
7 |
-
"POT-Creation-Date: 2016-03-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the Kirki Toolkit package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Kirki Toolkit 2.2.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/kirki\n"
|
7 |
+
"POT-Creation-Date: 2016-03-17 18:25:01+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "kirki-toolkit",
|
3 |
-
"version": "2.2.
|
4 |
"author": "Aristeides Stathopoulos",
|
5 |
"homepage": "http://kirki.org",
|
6 |
"repository": {
|
1 |
{
|
2 |
"name": "kirki-toolkit",
|
3 |
+
"version": "2.2.1",
|
4 |
"author": "Aristeides Stathopoulos",
|
5 |
"homepage": "http://kirki.org",
|
6 |
"repository": {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: customizer,options framework, theme, mods, toolkit
|
|
4 |
Donate link: http://kirki.org/
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.5
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -37,6 +37,17 @@ If you want to integrate Kirki in your theme or plugin, please read the instruct
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
= 2.2.0 =
|
41 |
|
42 |
March 16, 2016, dev time: 120 hours
|
4 |
Donate link: http://kirki.org/
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 2.2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 2.2.1 =
|
41 |
+
|
42 |
+
March 17, 2016, dev time: 3 hours
|
43 |
+
|
44 |
+
* FIX: Alpha channel was always enabled for color controls
|
45 |
+
* FIX: PHP Notices in the class-kirki-output-control-typography.php file
|
46 |
+
* FIX: PHP Fatal error on PHP 5.2
|
47 |
+
* FIX: PHP Notice in the class-kirki-field.php file
|
48 |
+
* FIX: PHP Fatal error when using background-position in the output argument
|
49 |
+
* TWEAK: Removed unused languages from CodeMirror to reduce the plugin's size
|
50 |
+
|
51 |
= 2.2.0 =
|
52 |
|
53 |
March 16, 2016, dev time: 120 hours
|