Completed
Push — develop ( 54f8dd...488f1b )
by Aristeides
03:58
created
field/class-kirki-field-typography.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
 		// Accomodate the use of font-weight and convert to variant.
36 36
 		if ( isset( $this->default['font-weight'] ) ) {
37
-			$this->default['variant'] = ( 'regular' === $this->default['font-weight'] ) ? 400 : (string) intval( $this->default['font-weight' ] );
37
+			$this->default['variant'] = ( 'regular' === $this->default['font-weight'] ) ? 400 : (string) intval( $this->default['font-weight'] );
38 38
 		}
39 39
 
40 40
 		// Make sure letter-spacing has units.
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 				case 'letter-spacing':
184 184
 				case 'word-spacing':
185 185
 				case 'line-height':
186
-					$value[ $key ] = Kirki_Sanitize_Values::css_dimension( $val );
186
+					$value[$key] = Kirki_Sanitize_Values::css_dimension( $val );
187 187
 					break;
188 188
 				case 'text-align':
189 189
 				 	if ( ! in_array( $val, array( 'inherit', 'left', 'center', 'right', 'justify' ), true ) ) {
Please login to merge, or discard this patch.