Completed
Push — master ( da83df...846b5a )
by Md. Mozahidur
03:51
created
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.
archive.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.
index.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.
search.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,9 +57,11 @@
 block discarded – undo
57 57
 
58 58
 					the_posts_navigation();
59 59
 
60
-				else :
60
+				else {
61
+					:
61 62
 
62 63
 					get_template_part( 'template-parts/content', 'none' );
64
+				}
63 65
 
64 66
 				endif; ?>
65 67
 
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.