Completed
Branch develop (288e61)
by Aristeides
02:45
created
includes/controls/class-kirki-controls-editor-control.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * editor Customizer Control.
4
- *
5
- * Creates a TinyMCE textarea.
6
- *
7
- * @package     Kirki
8
- * @subpackage  Controls
9
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
10
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
11
- * @since       1.0
12
- */
3
+	 * editor Customizer Control.
4
+	 *
5
+	 * Creates a TinyMCE textarea.
6
+	 *
7
+	 * @package     Kirki
8
+	 * @subpackage  Controls
9
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
10
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
11
+	 * @since       1.0
12
+	 */
13 13
 
14 14
 // Exit if accessed directly
15 15
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-generic-control.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Generic Field Control.
4
- *
5
- * @package     Kirki
6
- * @subpackage  Controls
7
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
- * @since       2.0
10
- */
3
+	 * Generic Field Control.
4
+	 *
5
+	 * @package     Kirki
6
+	 * @subpackage  Controls
7
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
+	 * @since       2.0
10
+	 */
11 11
 
12 12
 // Exit if accessed directly
13 13
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-multicheck-control.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * editor Customizer Control.
4
- *
5
- * Multiple checkbox customize control class.
6
- * Props @ Justin Tadlock: http://justintadlock.com/archives/2015/05/26/multiple-checkbox-customizer-control
7
- *
8
- * @package     Kirki
9
- * @subpackage  Controls
10
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
11
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
12
- * @since       1.0
13
- */
3
+	 * editor Customizer Control.
4
+	 *
5
+	 * Multiple checkbox customize control class.
6
+	 * Props @ Justin Tadlock: http://justintadlock.com/archives/2015/05/26/multiple-checkbox-customizer-control
7
+	 *
8
+	 * @package     Kirki
9
+	 * @subpackage  Controls
10
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
11
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
12
+	 * @since       1.0
13
+	 */
14 14
 
15 15
 // Exit if accessed directly
16 16
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-palette-control.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * palette Customizer Control.
4
- *
5
- * @package     Kirki
6
- * @subpackage  Controls
7
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
- * @since       1.0
10
- */
3
+	 * palette Customizer Control.
4
+	 *
5
+	 * @package     Kirki
6
+	 * @subpackage  Controls
7
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
+	 * @since       1.0
10
+	 */
11 11
 
12 12
 // Exit if accessed directly
13 13
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-radio-buttonset-control.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * radio-buttonset Customizer Control.
4
- *
5
- * @package     Kirki
6
- * @subpackage  Controls
7
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
- * @since       1.0
10
- */
3
+	 * radio-buttonset Customizer Control.
4
+	 *
5
+	 * @package     Kirki
6
+	 * @subpackage  Controls
7
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
+	 * @since       1.0
10
+	 */
11 11
 
12 12
 // Exit if accessed directly
13 13
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-radio-image-control.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * radio-image Customizer Control.
4
- *
5
- * @package     Kirki
6
- * @subpackage  Controls
7
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
- * @since       1.0
10
- */
3
+	 * radio-image Customizer Control.
4
+	 *
5
+	 * @package     Kirki
6
+	 * @subpackage  Controls
7
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
+	 * @since       1.0
10
+	 */
11 11
 
12 12
 // Exit if accessed directly
13 13
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-repeater-control.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Repeater Customizer Control.
4
- *
5
- * @package     Kirki
6
- * @subpackage  Controls
7
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
- * @since       1.0
10
- */
3
+	 * Repeater Customizer Control.
4
+	 *
5
+	 * @package     Kirki
6
+	 * @subpackage  Controls
7
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
+	 * @since       1.0
10
+	 */
11 11
 
12 12
 // Exit if accessed directly
13 13
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@  discard block
 block discarded – undo
34 34
 
35 35
 			foreach ( $args['fields'] as $key => $value ) {
36 36
 				if ( ! isset( $value['default'] ) ) {
37
-					$args['fields'][ $key ]['default'] = '';
37
+					$args['fields'][$key]['default'] = '';
38 38
 				}
39 39
 
40 40
 				if ( ! isset( $value['label'] ) ) {
41
-					$args['fields'][ $key ]['label'] = '';
41
+					$args['fields'][$key]['label'] = '';
42 42
 				}
43
-				$args['fields'][ $key ]['id'] = $key;
43
+				$args['fields'][$key]['id'] = $key;
44 44
 			}
45 45
 
46 46
 			$this->fields = $args['fields'];
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 					continue;
64 64
 				}
65 65
 
66
-				$fields[ $key ]['buttonLabels'] = $default_image_button_labels;
66
+				$fields[$key]['buttonLabels'] = $default_image_button_labels;
67 67
 			}
68 68
 
69 69
 			$this->json['fields'] = $fields;
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-select-control.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * select2 Customizer Control.
4
- *
5
- * @package     Kirki
6
- * @subpackage  Controls
7
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
- * @since       1.0
10
- */
3
+	 * select2 Customizer Control.
4
+	 *
5
+	 * @package     Kirki
6
+	 * @subpackage  Controls
7
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
8
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
+	 * @since       1.0
10
+	 */
11 11
 
12 12
 // Exit if accessed directly
13 13
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-slider-control.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * slider Customizer Control.
4
- *
5
- * Creates a jQuery slider control.
6
- *
7
- * @package     Kirki
8
- * @subpackage  Controls
9
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
10
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
11
- * @since       1.0
12
- */
3
+	 * slider Customizer Control.
4
+	 *
5
+	 * Creates a jQuery slider control.
6
+	 *
7
+	 * @package     Kirki
8
+	 * @subpackage  Controls
9
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
10
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
11
+	 * @since       1.0
12
+	 */
13 13
 
14 14
 // Exit if accessed directly
15 15
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.