@@ -49,7 +49,7 @@ |
||
| 49 | 49 | $fields = Kirki::$fields; |
| 50 | 50 | foreach ( $fields as $field ) { |
| 51 | 51 | if ( isset( $field['collapsible'] ) && true === $field['collapsible'] && isset( $field['settings'] ) && isset( $field['label'] ) ) { |
| 52 | - $collapsible_fields[ $field['settings'] ] = $field['label']; |
|
| 52 | + $collapsible_fields[$field['settings']] = $field['label']; |
|
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | $collapsible_fields = array_unique( $collapsible_fields ); |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | |
| 73 | 73 | $smallest = array(); |
| 74 | 74 | foreach ( $valid as $possible_value ) { |
| 75 | - $smallest[ $possible_value ] = abs( $possible_value - $value ); |
|
| 75 | + $smallest[$possible_value] = abs( $possible_value - $value ); |
|
| 76 | 76 | } |
| 77 | 77 | asort( $smallest ); |
| 78 | 78 | $value = key( $smallest ); |