Completed
Push — master ( d28bf4...c0a80f )
by SILENT
01:56
created
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.
home 2.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.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,9 +48,12 @@
 block discarded – undo
48 48
 
49 49
 					<?php the_posts_pagination(); ?>
50 50
 
51
-		<?php else : ?>
51
+		<?php else {
52
+	: ?>
52 53
 
53
-			<?php get_template_part( 'no-results', 'archive' ); ?>
54
+			<?php get_template_part( 'no-results', 'archive' );
55
+}
56
+?>
54 57
 
55 58
 		<?php endif; ?>
56 59
 
Please login to merge, or discard this patch.
home 3.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.
content.php 1 patch
Braces   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,11 @@  discard block
 block discarded – undo
14 14
 			<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'strip' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="strip-featured-thumbnail">
15 15
 				<?php the_post_thumbnail( 'strip-featured-image' ); ?>
16 16
 			</a>
17
-			<?php else : ?>
18
-				<?php the_post_thumbnail( 'strip-featured-image' ); ?>
17
+			<?php else {
18
+	: ?>
19
+				<?php the_post_thumbnail( 'strip-featured-image' );
20
+}
21
+?>
19 22
 			<?php endif; ?>
20 23
 
21 24
 		<header class="entry-header">
@@ -26,8 +29,10 @@  discard block
 block discarded – undo
26 29
 			}
27 30
 			if ( ! is_single() ) :
28 31
 				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
29
-			else :
32
+			else {
33
+				:
30 34
 					the_title( '<h1 class="entry-title">', '</h1>' );
35
+			}
31 36
 			endif;
32 37
 			?>
33 38
 		</header><!-- .entry-header -->
@@ -46,7 +51,8 @@  discard block
 block discarded – undo
46 51
 		<div class="entry-summary">
47 52
 			<?php the_excerpt(); ?>
48 53
 		</div><!-- .entry-summary -->
49
-		<?php else : ?>
54
+		<?php else {
55
+	: ?>
50 56
 		<div class="entry-content">
51 57
 			<?php
52 58
 			the_content(sprintf(
@@ -54,6 +60,7 @@  discard block
 block discarded – undo
54 60
 				esc_html( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip' ), array( 'span' => array( 'class' => array() ) ) ),
55 61
 				get_the_title( '<span class="screen-reader-text">"', '"</span>', false )
56 62
 			));
63
+}
57 64
 
58 65
 			wp_link_pages(array(
59 66
 				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'strip' ) . '</span>',
Please login to merge, or discard this patch.
home 4.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.