Completed
Pull Request — develop (#1800)
by Zack
31:41 queued 11:38
created
includes/class-common.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
 				}
355 355
 
356 356
 
357
-				if( GFCommon::is_product_field( $field['type'] ) ){
357
+				if( GFCommon::is_product_field( $field['type'] ) ) {
358 358
 					$has_product_fields = true;
359 359
 				}
360 360
 
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
 
418 418
 		$fields = array();
419 419
 
420
-		foreach ( $extra_fields as $key => $field ){
420
+		foreach ( $extra_fields as $key => $field ) {
421 421
 			if ( ! empty( $only_default_column ) && ! empty( $field['is_default_column'] ) ) {
422 422
 				$fields[ $key ] = array( 'label' => $field['label'], 'type' => 'entry_meta' );
423 423
 			}
@@ -1149,7 +1149,7 @@  discard block
 block discarded – undo
1149 1149
 			$shortcodes = array();
1150 1150
 
1151 1151
 			preg_match_all( '/' . get_shortcode_regex() . '/s', $content, $matches, PREG_SET_ORDER );
1152
-			if ( empty( $matches ) ){
1152
+			if ( empty( $matches ) ) {
1153 1153
 				return false;
1154 1154
 			}
1155 1155
 
Please login to merge, or discard this patch.