Completed
Push — master ( 423b35...e79207 )
by Md. Mozahidur
02:17
created
archive.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,9 +37,11 @@
 block discarded – undo
37 37
 
38 38
 			the_posts_navigation();
39 39
 
40
-		else :
40
+		else {
41
+			:
41 42
 
42 43
 			get_template_part( 'template-parts/content', 'none' );
44
+		}
43 45
 
44 46
 		endif; ?>
45 47
 
Please login to merge, or discard this patch.
template-parts/content-none.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,12 @@
 block discarded – undo
26 26
 			<?php
27 27
 				get_search_form();
28 28
 
29
-		else : ?>
29
+		else {
30
+			: ?>
30 31
 
31
-			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lighthouse' ); ?></p>
32
+			<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lighthouse' );
33
+		}
34
+		?></p>
32 35
 			<?php
33 36
 				get_search_form();
34 37
 
Please login to merge, or discard this patch.
inc/jetpack.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,8 +34,10 @@
 block discarded – undo
34 34
 		the_post();
35 35
 		if ( is_search() ) :
36 36
 		    get_template_part( 'template-parts/content', 'search' );
37
-		else :
37
+		else {
38
+			:
38 39
 		    get_template_part( 'template-parts/content', get_post_format() );
40
+		}
39 41
 		endif;
40 42
 	}
41 43
 }
Please login to merge, or discard this patch.
inc/custom-header.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,11 +63,14 @@
 block discarded – undo
63 63
 		}
64 64
 	<?php
65 65
 		// If the user has set a custom color for the text use that.
66
-		else :
66
+		else {
67
+			:
67 68
 	?>
68 69
 		.site-title a,
69 70
 		.site-description {
70
-			color: #<?php echo esc_attr( $header_text_color ); ?>;
71
+			color: #<?php echo esc_attr( $header_text_color );
72
+		}
73
+		?>;
71 74
 		}
72 75
 	<?php endif; ?>
73 76
 	</style>
Please login to merge, or discard this patch.
includes/acf/acf.php 1 patch
Braces   +10 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,7 +11,10 @@  discard block
 block discarded – undo
11 11
 Domain Path: /lang
12 12
 */
13 13
 
14
-if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
+if( ! defined( 'ABSPATH' ) ) {
15
+	exit;
16
+}
17
+// Exit if accessed directly
15 18
 
16 19
 if( ! class_exists('acf') ) :
17 20
 
@@ -168,11 +171,15 @@  discard block
 block discarded – undo
168 171
 	function init() {
169 172
 		
170 173
 		// bail early if a plugin called get_field early
171
-		if( !did_action('plugins_loaded') ) return;
174
+		if( !did_action('plugins_loaded') ) {
175
+			return;
176
+		}
172 177
 		
173 178
 		
174 179
 		// bail early if already init
175
-		if( acf_get_setting('init') ) return;
180
+		if( acf_get_setting('init') ) {
181
+			return;
182
+		}
176 183
 		
177 184
 		
178 185
 		// only run once
Please login to merge, or discard this patch.
includes/acf/admin/settings-addons.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,7 @@
 block discarded – undo
85 85
         if( is_wp_error($request) || wp_remote_retrieve_response_code($request) != 200)
86 86
         {
87 87
         	acf_add_admin_notice(__('<b>Error</b>. Could not load add-ons list', 'acf'), 'error');
88
-        }
89
-        else
88
+        } else
90 89
         {
91 90
 	        $this->view['json'] = json_decode( $request['body'], true );
92 91
         }
Please login to merge, or discard this patch.
includes/acf/admin/settings-tools.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -436,7 +436,9 @@
 block discarded – undo
436 436
 			
437 437
 			
438 438
 			// validate field group
439
-			if( empty($field_group) ) continue;
439
+			if( empty($field_group) ) {
440
+				continue;
441
+			}
440 442
 			
441 443
 			
442 444
 			// load fields
Please login to merge, or discard this patch.
includes/acf/admin/updates/5.0.0.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,9 @@
 block discarded – undo
12 12
 */
13 13
 
14 14
 // Exit if accessed directly
15
-if( !defined('ABSPATH') ) exit;
15
+if( !defined('ABSPATH') ) {
16
+	exit;
17
+}
16 18
 
17 19
 
18 20
 // global
Please login to merge, or discard this patch.
includes/acf/admin/views/field-group-field.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,11 @@
 block discarded – undo
65 65
 			<li class="li-field-type">
66 66
 				<?php if( acf_field_type_exists($field['type']) ): ?>
67 67
 					<?php echo acf_get_field_type_label($field['type']); ?>
68
-				<?php else: ?>
69
-					<b><?php _e('Error', 'acf'); ?></b> <?php _e('Field type does not exist', 'acf'); ?>
68
+				<?php else {
69
+	: ?>
70
+					<b><?php _e('Error', 'acf');
71
+}
72
+?></b> <?php _e('Field type does not exist', 'acf'); ?>
70 73
 				<?php endif; ?>
71 74
 			</li>	
72 75
 		</ul>
Please login to merge, or discard this patch.