Passed
Push — master ( a3b296...1802bc )
by SILENT
01:33
created
archive-story.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,8 +99,10 @@
 block discarded – undo
99 99
 					'add_fragment' => '#result', // Your anchor.
100 100
 				) ) );
101 101
 
102
-		else :
102
+		else {
103
+			:
103 104
 			get_template_part( 'no-results', 'archive-comic' );
105
+		}
104 106
 		endif; ?>
105 107
 
106 108
 				</div><!-- .wrap -->
Please login to merge, or discard this patch.
archive-comic.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,9 +71,12 @@
 block discarded – undo
71 71
 								<?php the_posts_pagination(); ?>
72 72
 				</div>
73 73
 
74
-	<?php else : ?>
74
+	<?php else {
75
+	: ?>
75 76
 
76
-	<?php get_template_part( 'no-results', 'archive-comic' ); ?>
77
+	<?php get_template_part( 'no-results', 'archive-comic' );
78
+}
79
+?>
77 80
 
78 81
 	<?php endif;
79 82
 			wp_reset_postdata(); ?>
Please login to merge, or discard this patch.
index.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,9 +40,12 @@
 block discarded – undo
40 40
 					<?php the_posts_pagination(); ?>
41 41
 	</div>
42 42
 
43
-		<?php else : ?>
43
+		<?php else {
44
+	: ?>
44 45
 
45
-			<?php get_template_part( 'no-results', 'index' ); ?>
46
+			<?php get_template_part( 'no-results', 'index' );
47
+}
48
+?>
46 49
 
47 50
 		<?php endif; ?>
48 51
 
Please login to merge, or discard this patch.
search.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,11 +27,14 @@
 block discarded – undo
27 27
 
28 28
 			the_posts_pagination();
29 29
 
30
-		else : ?>
30
+		else {
31
+			: ?>
31 32
 
32 33
 <article id="post-0" class="no-results">
33 34
 	<header class="page-header">
34
-		<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' ); ?></h1>
35
+		<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'strip' );
36
+		}
37
+		?></h1>
35 38
 	</header><!-- .page-header -->
36 39
 <div class="entry-content">
37 40
 			<p> <?php esc_html_e( 'Bummer, I cannot find what you are looking for.
Please login to merge, or discard this patch.