Completed
Branch develop (dc9bf0)
by Aristeides
02:58
created
includes/controls/class-kirki-controls-number-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
- * number Customizer Control.
4
- *
5
- * @package     Kirki
6
- * @subpackage  Controls
7
- * @copyright   Copyright (c) 2015, Aristeides Stathopoulos
8
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
- * @since       1.0
10
- */
3
+	 * number Customizer Control.
4
+	 *
5
+	 * @package     Kirki
6
+	 * @subpackage  Controls
7
+	 * @copyright   Copyright (c) 2015, 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/dynamic-css.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
 	die( 'File can\'t be accessed directly' );
8 8
 }
9 9
 /**
10
- * Make sure we set the correct MIME type
11
- */
10
+	 * Make sure we set the correct MIME type
11
+	 */
12 12
 header( 'Content-Type: text/css' );
13 13
 /**
14
- * Echo the styles
15
- */
14
+	 * Echo the styles
15
+	 */
16 16
 echo Kirki_Styles_Frontend::loop_controls();
Please login to merge, or discard this patch.
includes/settings/class-kirki-settings-repeater-setting.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
 			// Make sure that every row is an array, not an object
51 51
 			foreach ( $sanitized as $key => $_value ) {
52 52
 				if ( empty( $_value ) ) {
53
-					unset( $sanitized[ $key ] );
53
+					unset( $sanitized[$key] );
54 54
 				} else {
55
-					$sanitized[ $key ] = (array) $_value;
55
+					$sanitized[$key] = (array) $_value;
56 56
 				}
57 57
 			}
58 58
 
Please login to merge, or discard this 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
- * Repeater Customizer Setting.
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 Setting.
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/class-kirki-active-callback.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
 			$fields = Kirki::$fields;
16 16
 
17 17
 			// Make sure the current object matches a registered field.
18
-			if ( ! isset( $object->setting->id ) || ! isset( $fields[ $object->setting->id ] ) ) {
18
+			if ( ! isset( $object->setting->id ) || ! isset( $fields[$object->setting->id] ) ) {
19 19
 				return true;
20 20
 			}
21 21
 
22
-			$current_object = $fields[ $object->setting->id ];
22
+			$current_object = $fields[$object->setting->id];
23 23
 
24 24
 			if ( isset( $current_object['required'] ) ) {
25 25
 
Please login to merge, or discard this patch.
includes/class-kirki-init.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,9 +172,9 @@
 block discarded – undo
172 172
 							 * If no callback is defined (false) then just get the value.
173 173
 							 */
174 174
 							if ( $variable_callback ) {
175
-								$variables[ $variable_name ] = call_user_func( $field_variable['callback'], Kirki::get_option( $field['settings'] ) );
175
+								$variables[$variable_name] = call_user_func( $field_variable['callback'], Kirki::get_option( $field['settings'] ) );
176 176
 							} else {
177
-								$variables[ $variable_name ] = Kirki::get_option( $field['settings'] );
177
+								$variables[$variable_name] = Kirki::get_option( $field['settings'] );
178 178
 							}
179 179
 
180 180
 						}
Please login to merge, or discard this patch.
includes/class-kirki-scripts-registry.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Instantiates all other needed scripts.
4
- *
5
- * @package     Kirki
6
- * @category    Core
7
- * @author      Aristeides Stathopoulos
8
- * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
9
- * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
10
- * @since       1.0
11
- */
3
+	 * Instantiates all other needed scripts.
4
+	 *
5
+	 * @package     Kirki
6
+	 * @category    Core
7
+	 * @author      Aristeides Stathopoulos
8
+	 * @copyright   Copyright (c) 2016, Aristeides Stathopoulos
9
+	 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
10
+	 * @since       1.0
11
+	 */
12 12
 
13 13
 // Exit if accessed directly
14 14
 if ( ! defined( 'ABSPATH' ) ) {
Please login to merge, or discard this patch.
includes/controls/class-kirki-controls-checkbox-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
- * Checkbox 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
+	 * Checkbox 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-code-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
- * code Customizer Control.
4
- *
5
- * Creates a new custom control.
6
- * Custom controls accept raw HTML/JS.
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
+	 * code Customizer Control.
4
+	 *
5
+	 * Creates a new custom control.
6
+	 * Custom controls accept raw HTML/JS.
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-color-alpha-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
- * color-alpha 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
+	 * color-alpha 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.