Kirki - Version 3.0.34.1

Version Description

Sept.16 2018

  • Fix: File was not properly uploaded in the WordPress repository in v3.0.34.
Download this release

Release Info

Developer aristath
Plugin Icon 128x128 Kirki
Version 3.0.34.1
Comparing to
See all releases

Code changes from version 3.0.34 to 3.0.34.1

assets/images/1c.png CHANGED
File without changes
assets/images/2cl.png CHANGED
File without changes
assets/images/2cr.png CHANGED
File without changes
assets/images/3cl.png CHANGED
File without changes
assets/images/3cm.png CHANGED
File without changes
assets/images/3cr.png CHANGED
File without changes
assets/images/jquery.fs.stepper-arrows.png CHANGED
File without changes
assets/images/kirki-bottom.png CHANGED
File without changes
assets/images/kirki-bottom.svg CHANGED
File without changes
controls/views/image.php ADDED
@@ -0,0 +1,67 @@
1
+ <?php
2
+ /**
3
+ * Customizer controls underscore.js template.
4
+ *
5
+ * @package Kirki
6
+ * @subpackage Controls
7
+ * @copyright Copyright (c) 2017, Aristeides Stathopoulos
8
+ * @license https://opensource.org/licenses/MIT
9
+ * @since 3.0.34
10
+ */
11
+
12
+ ?>
13
+ <#
14
+ data = _.defaults( data, {
15
+ id: '',
16
+ label: '',
17
+ description: '',
18
+ input_attrs: {},
19
+ choices: {}
20
+ });
21
+
22
+ var saveAs = 'url';
23
+ if ( ! _.isUndefined( data.choices.save_as ) ) {
24
+ saveAs = data.choices.save_as;
25
+ }
26
+
27
+ url = data.value;
28
+ if ( _.isObject( data.value ) && ! _.isUndefined( data.value.url ) ) {
29
+ url = data.value.url;
30
+ }
31
+
32
+ data.choices.labels = _.isObject( data.choices.labels ) ? data.choices.labels : {};
33
+ data.choices.labels = _.defaults( data.choices.labels, {
34
+ select: '<?php esc_attr_e( 'Select image', 'kirki' ); ?>',
35
+ change: '<?php esc_attr_e( 'Change image', 'kirki' ); ?>',
36
+ 'default': '<?php esc_attr_e( 'Default', 'kirki' ); ?>',
37
+ remove: '<?php esc_attr_e( 'Remove', 'kirki' ); ?>',
38
+ placeholder: '<?php esc_attr_e( 'No image selected', 'kirki' ); ?>',
39
+ frame_title: '<?php esc_attr_e( 'Select image', 'kirki' ); ?>',
40
+ frame_button: '<?php esc_attr_e( 'Choose image', 'kirki' ); ?>',
41
+ } );
42
+ #>
43
+
44
+ <label>
45
+ <span class="customize-control-title">
46
+ {{{ data.label }}}
47
+ </span>
48
+ <# if ( data.description ) { #>
49
+ <span class="description customize-control-description">{{{ data.description }}}</span>
50
+ <# } #>
51
+ </label>
52
+ <div class="image-wrapper attachment-media-view image-upload">
53
+ <# if ( data.value['url'] || '' !== url ) { #>
54
+ <div class="thumbnail thumbnail-image">
55
+ <img src="{{ url }}"/>
56
+ </div>
57
+ <# } else { #>
58
+ <div class="placeholder">{{ data.choices.labels.placeholder }}</div>
59
+ <# } #>
60
+ <div class="actions">
61
+ <button class="button image-upload-remove-button<# if ( '' === url ) { #> hidden <# } #>">{{ data.choices.labels.remove }}</button>
62
+ <# if ( data.default && '' !== data.default ) { #>
63
+ <button type="button" class="button image-default-button"<# if ( data.default === data.value || ( ! _.isUndefined( data.value.url ) && data.default === data.value.url ) ) { #> style="display:none;"<# } #>>{{ data.choices.labels['default'] }}</button>
64
+ <# } #>
65
+ <button type="button" class="button image-upload-button">{{ data.choices.labels.select }}</button>
66
+ </div>
67
+ </div>
kirki.php CHANGED
@@ -5,7 +5,7 @@
5
* Description: The ultimate WordPress Customizer Toolkit
6
* Author: Aristeides Stathopoulos
7
* Author URI: http://aristath.github.io
8
- * Version: 3.0.34
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://aristath.github.io
8
+ * Version: 3.0.34.1
9
* Text Domain: kirki
10
*
11
* GitHub Plugin URI: aristath/kirki
modules/webfonts/class-kirki-modules-webfonts-local.php CHANGED
File without changes
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: customizer,options framework, theme, mods, toolkit
4
Donate link: https://aristath.github.io/donate
5
Requires at least: 4.9
6
Tested up to: 4.9
7
- Stable tag: 3.0.34
8
License: MIT
9
License URI: https://opensource.org/licenses/MIT
10
@@ -33,6 +33,12 @@ If you want to integrate Kirki in your theme or plugin, please read the instruct
33
34
== Changelog ==
35
36
= 3.0.34 =
37
38
Sept. 14 2018, dev time: 21h.
4
Donate link: https://aristath.github.io/donate
5
Requires at least: 4.9
6
Tested up to: 4.9
7
+ Stable tag: 3.0.34.1
8
License: MIT
9
License URI: https://opensource.org/licenses/MIT
10
33
34
== Changelog ==
35
36
+ = 3.0.34.1 =
37
+
38
+ Sept.16 2018
39
+
40
+ * Fix: File was not properly uploaded in the WordPress repository in v3.0.34.
41
+
42
= 3.0.34 =
43
44
Sept. 14 2018, dev time: 21h.