Completed
Push — master ( e804e7...e0fb26 )
by SILENT
04:06 queued 01:29
created
content-gallery.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,8 +28,10 @@
 block discarded – undo
28 28
 
29 29
 	if ( ! is_single() ) :
30 30
 		the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
31
-	else :
31
+	else {
32
+		:
32 33
 					the_title( '<h1 class="entry-title">', '</h1>' );
34
+	}
33 35
 	endif; ?>
34 36
 
35 37
 		<div class="entry-content clear">
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  */
8 8
 
9 9
 // Access global variable directly to set content_width.
10
-if ( isset( $GLOBALS['content_width'] ) ) {
10
+if (isset($GLOBALS['content_width'])) {
11 11
 	$GLOBALS['content_width'] = 1920;
12 12
 }
13 13
 ?>
@@ -15,22 +15,22 @@  discard block
 block discarded – undo
15 15
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
16 16
 	<div class="entry-wrap wrap clear">
17 17
 
18
-<?php if ( '' !== get_the_post_thumbnail() ) :
19
-	the_post_thumbnail( 'strip-featured-thumbnail' );
18
+<?php if ('' !== get_the_post_thumbnail()) :
19
+	the_post_thumbnail('strip-featured-thumbnail');
20 20
 endif; ?>
21 21
 
22 22
 		<header class="entry-header">
23 23
 	<?php
24
-				$categories_list = get_the_category_list( __( ', ', 'strip' ) );
24
+				$categories_list = get_the_category_list(__(', ', 'strip'));
25 25
 
26
-	if ( ! is_single() ) :
27
-		the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
26
+	if ( ! is_single()) :
27
+		the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
28 28
 	else :
29
-					the_title( '<h1 class="entry-title">', '</h1>' );
29
+					the_title('<h1 class="entry-title">', '</h1>');
30 30
 	endif; ?>
31 31
 
32 32
 		<div class="entry-content clear">
33
-	<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
33
+	<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'strip')); ?>
34 34
 
35 35
 		</div><!-- .entry-content -->
36 36
 		</header><!-- .entry-header -->
@@ -38,16 +38,16 @@  discard block
 block discarded – undo
38 38
 		<footer class="entry-meta">
39 39
 	<?php strip_entry_meta(); ?>
40 40
 
41
-			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'gallery' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'gallery' ) ); ?></a></span>
41
+			<span class="entry-format"><a href="<?php echo esc_url(get_post_format_link('gallery')); ?>" title="<?php echo esc_attr(sprintf(__('All %s posts', 'strip'), get_post_format_string('gallery'))); ?>"><?php echo esc_html(get_post_format_string('gallery')); ?></a></span>
42 42
 
43
-	<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
43
+	<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
44 44
 		</footer><!-- .entry-meta -->
45 45
 
46
-	<?php if ( has_excerpt() ) : ?>
46
+	<?php if (has_excerpt()) : ?>
47 47
 		<div class="entry-summary">
48
-	<?php do_action( 'strip_formatted_posts_excerpt_before' ); ?>
48
+	<?php do_action('strip_formatted_posts_excerpt_before'); ?>
49 49
 	<?php the_excerpt(); ?>
50
-	<?php do_action( 'strip_formatted_posts_excerpt_after' ); ?>
50
+	<?php do_action('strip_formatted_posts_excerpt_after'); ?>
51 51
 		</div><!-- .entry-caption -->
52 52
 	<?php endif; ?>
53 53
 
Please login to merge, or discard this patch.
footer.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -14,28 +14,28 @@  discard block
 block discarded – undo
14 14
 	<footer id="colophon" class="site-footer" role="contentinfo">
15 15
 
16 16
 <div class="entry-wrap wrap clear">
17
-	<?php if ( is_active_sidebar( 'first-footer-widget' ) || is_active_sidebar( 'second-footer-widget' ) || is_active_sidebar( 'third-footer-widget' ) || is_active_sidebar( 'fourth-footer-widget' ) ) : ?>
17
+	<?php if (is_active_sidebar('first-footer-widget') || is_active_sidebar('second-footer-widget') || is_active_sidebar('third-footer-widget') || is_active_sidebar('fourth-footer-widget')) : ?>
18 18
 	<div id="secondary" class="widget-area clear" role="complementary">
19 19
 		<div class="widget-area-wrapper">
20
-	<?php do_action( 'before_sidebar' ); ?>
21
-	<?php if ( is_active_sidebar( 'first-footer-widget' ) ) : ?>
20
+	<?php do_action('before_sidebar'); ?>
21
+	<?php if (is_active_sidebar('first-footer-widget')) : ?>
22 22
 				<div class="footer-widget-1">
23
-		<?php dynamic_sidebar( 'first-footer-widget' ); ?>
23
+		<?php dynamic_sidebar('first-footer-widget'); ?>
24 24
 				</div>
25 25
 	<?php endif; ?>
26
-	<?php if ( is_active_sidebar( 'second-footer-widget' ) ) : ?>
26
+	<?php if (is_active_sidebar('second-footer-widget')) : ?>
27 27
 				<div class="footer-widget-2">
28
-		<?php dynamic_sidebar( 'second-footer-widget' ); ?>
28
+		<?php dynamic_sidebar('second-footer-widget'); ?>
29 29
 				</div>
30 30
 	<?php endif; ?>
31
-	<?php if ( is_active_sidebar( 'third-footer-widget' ) ) : ?>
31
+	<?php if (is_active_sidebar('third-footer-widget')) : ?>
32 32
 				<div class="footer-widget-3">
33
-		<?php dynamic_sidebar( 'third-footer-widget' ); ?>
33
+		<?php dynamic_sidebar('third-footer-widget'); ?>
34 34
 				</div>
35 35
 	<?php endif; ?>
36
-	<?php if ( is_active_sidebar( 'fourth-footer-widget' ) ) : ?>
36
+	<?php if (is_active_sidebar('fourth-footer-widget')) : ?>
37 37
 				<div class="footer-widget-4">
38
-		<?php dynamic_sidebar( 'fourth-footer-widget' ); ?>
38
+		<?php dynamic_sidebar('fourth-footer-widget'); ?>
39 39
 				</div>
40 40
 	<?php endif; ?>
41 41
 		</div><!-- .widget-area-wrapper -->
@@ -44,13 +44,13 @@  discard block
 block discarded – undo
44 44
 			</div><!-- .entry-wrap -->
45 45
 
46 46
 		<div class="site-info">
47
-			&copy; <span class="site-name"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> <?php
47
+			&copy; <span class="site-name"><a href="<?php echo esc_url(home_url('/')); ?>" rel="home"><?php bloginfo('name'); ?></a></span> <?php
48 48
 			$from_year = 2013;
49
-			$this_year = (int) date( 'Y' );
50
-			echo esc_html( $from_year . (($from_year !== $this_year) ? '-' . $this_year : '') );?>
49
+			$this_year = (int) date('Y');
50
+			echo esc_html($from_year . (($from_year !== $this_year) ? '-' . $this_year : '')); ?>
51 51
 			<span class="sep"> | </span>
52
-	<?php do_action( 'strip_credits' ); ?>
53
-				<a href="<?php echo esc_url( __( 'https://github.com/SilentComics/Strip', 'strip' ) ); ?>"><?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'strip' ), 'strip', 'Hoa' ); ?></a>
52
+	<?php do_action('strip_credits'); ?>
53
+				<a href="<?php echo esc_url(__('https://github.com/SilentComics/Strip', 'strip')); ?>"><?php printf(esc_html__('Theme: %1$s by %2$s.', 'strip'), 'strip', 'Hoa'); ?></a>
54 54
 		</div><!-- .site-info -->
55 55
 	</footer><!-- #colophon -->
56 56
 </div><!-- #page -->
Please login to merge, or discard this patch.
content-series.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@  discard block
 block discarded – undo
10 10
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
11 11
 
12 12
 	<div class="wrap">
13
-		<?php if ( '' !== get_the_post_thumbnail() ) : ?>
13
+		<?php if ('' !== get_the_post_thumbnail()) : ?>
14 14
 
15
-			<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">
16
-				<?php the_post_thumbnail( 'strip-featured-thumbnail' ); ?>
15
+			<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">
16
+				<?php the_post_thumbnail('strip-featured-thumbnail'); ?>
17 17
 			</a>
18 18
 		<?php endif; ?>
19 19
 
@@ -24,17 +24,17 @@  discard block
 block discarded – undo
24 24
 		<header class="entry-header">
25 25
 
26 26
 			<?php
27
-			edit_post_link( __( 'Edit Comic', 'strip' ), '<span class="edit-link">', '</span>' );
27
+			edit_post_link(__('Edit Comic', 'strip'), '<span class="edit-link">', '</span>');
28 28
 
29
-			if ( ! is_single() ) :
30
-				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
29
+			if ( ! is_single()) :
30
+				the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
31 31
 			else :
32
-					the_title( '<h1 class="entry-title">', '</h1>' );
32
+					the_title('<h1 class="entry-title">', '</h1>');
33 33
 			endif; ?>
34 34
 
35 35
 	</header><!-- .entry-header -->
36 36
 
37
-	<?php if ( is_search() ) : // Only display Excerpts for Search — implement search for custom taxonomies. ?>
37
+	<?php if (is_search()) : // Only display Excerpts for Search — implement search for custom taxonomies. ?>
38 38
 
39 39
 		<div class="entry-summary">
40 40
 			<?php the_excerpt(); ?>
Please login to merge, or discard this patch.
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,8 +28,10 @@  discard block
 block discarded – undo
28 28
 
29 29
 			if ( ! is_single() ) :
30 30
 				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
31
-			else :
31
+			else {
32
+				:
32 33
 					the_title( '<h1 class="entry-title">', '</h1>' );
34
+			}
33 35
 			endif; ?>
34 36
 
35 37
 	</header><!-- .entry-header -->
@@ -40,10 +42,13 @@  discard block
 block discarded – undo
40 42
 			<?php the_excerpt(); ?>
41 43
 		</div><!-- .entry-summary -->
42 44
 
43
-		<?php else : ?>
45
+		<?php else {
46
+	: ?>
44 47
 
45 48
 	<div class="entry-comic">
46
-		<?php the_content(); ?>
49
+		<?php the_content();
50
+}
51
+?>
47 52
 
48 53
 		<?php endif; ?>
49 54
 		</div><!-- .entry-content -->
Please login to merge, or discard this patch.
header.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -11,15 +11,15 @@  discard block
 block discarded – undo
11 11
 ?><!DOCTYPE html>
12 12
 <html <?php language_attributes(); ?> class="no-js">
13 13
 <head>
14
-<meta charset="<?php bloginfo( 'charset' ); ?>">
14
+<meta charset="<?php bloginfo('charset'); ?>">
15 15
 <meta http-equiv="X-UA-Compatible" content="IE=Edge">
16 16
 <meta name="viewport" content="width=device-width, initial-scale=1">
17
-<meta name="description" content="<?php if ( is_single() ) {
18
-	single_post_title( '', true );
17
+<meta name="description" content="<?php if (is_single()) {
18
+	single_post_title('', true);
19 19
 } else {
20
-	bloginfo( 'name' );
20
+	bloginfo('name');
21 21
 	echo ' - ';
22
-	bloginfo( 'description' );
22
+	bloginfo('description');
23 23
 }
24 24
 	?>" />
25 25
 <link rel="profile" href="http://gmpg.org/xfn/11">
@@ -34,17 +34,17 @@  discard block
 block discarded – undo
34 34
 	<header id="branding" class="site-header" role="banner">
35 35
 
36 36
 		<div class="site-branding">
37
-			<?php get_template_part( '/assets/inline', 'logo.svg' ); // remove or replace by your own custom svg logo. ?>
37
+			<?php get_template_part('/assets/inline', 'logo.svg'); // remove or replace by your own custom svg logo. ?>
38 38
 			<?php strip_the_custom_logo(); ?>
39
-				<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
39
+				<h1 class="site-title"><a href="<?php echo esc_url(home_url('/')); ?>" rel="home"><?php bloginfo('name'); ?></a></h1> <h2 class="site-description"><?php bloginfo('description'); ?></h2>
40 40
 	</div><!-- .site-branding -->
41 41
 
42
-		<?php if ( has_nav_menu( 'primary' ) ) : ?>
42
+		<?php if (has_nav_menu('primary')) : ?>
43 43
 		<nav id="site-navigation" class="main-navigation clear" role="navigation">
44
-			<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e( 'discover', 'strip' ); ?></button>
45
-			<div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e( 'Skip to content', 'strip' ); ?></a></div>
44
+			<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e('discover', 'strip'); ?></button>
45
+			<div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e('Skip to content', 'strip'); ?></a></div>
46 46
 
47
-			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'wrap' ) ); ?>
47
+			<?php wp_nav_menu(array('theme_location' => 'primary', 'container_class' => 'wrap')); ?>
48 48
 		</nav><!-- #site-navigation -->
49 49
 		<?php endif; ?>
50 50
 
Please login to merge, or discard this patch.
image.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * @subpackage Strip
7 7
  */
8 8
 
9
-get_header( 'lite' );
9
+get_header('lite');
10 10
 $content_width = 1920;
11 11
 ?>
12 12
 	<div id="primary" class="content-area image-attachment">
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 
15 15
 	<?php
16 16
 	// Start the loop.
17
-	while ( have_posts() ) :
17
+	while (have_posts()) :
18 18
 		the_post(); ?>
19 19
 
20 20
 			<article id="post-<?php the_ID(); ?>">
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
30 30
 					 *
31 31
 					 * @param string $image_size Image size. Default 'full'.
32 32
 					 */
33
-					$image_size = apply_filters( 'strip_attachment_size', 'full' );
33
+					$image_size = apply_filters('strip_attachment_size', 'full');
34 34
 
35
-					echo wp_get_attachment_image( get_the_ID(), $image_size );
35
+					echo wp_get_attachment_image(get_the_ID(), $image_size);
36 36
 
37 37
 					?>
38 38
 
@@ -41,18 +41,18 @@  discard block
 block discarded – undo
41 41
 		<?php // image navigation. ?>
42 42
 <nav role="navigation" id="image-navigation" class="image-navigation">
43 43
 
44
-				<div class="previous"><?php previous_image_link( false, __( '<span class="meta-nav">&larr;</span> <span class="text-nav">Previous panel</span>', 'strip' ) ); ?></div>
45
-				<div class="next"><?php next_image_link( false, __( '<span class="meta-nav">&rarr;</span> <span class="text-nav">Next panel</span>', 'strip' ) ); ?></div>
44
+				<div class="previous"><?php previous_image_link(false, __('<span class="meta-nav">&larr;</span> <span class="text-nav">Previous panel</span>', 'strip')); ?></div>
45
+				<div class="next"><?php next_image_link(false, __('<span class="meta-nav">&rarr;</span> <span class="text-nav">Next panel</span>', 'strip')); ?></div>
46 46
 
47 47
 				<nav class="post-parent-title">
48
-					<?php printf( '<a href="%s" class="post-parent-title">%s</a>',
49
-						esc_url( get_permalink( $post->post_parent ) ),
50
-						esc_html( get_the_title( $post->post_parent ) )
48
+					<?php printf('<a href="%s" class="post-parent-title">%s</a>',
49
+						esc_url(get_permalink($post->post_parent)),
50
+						esc_html(get_the_title($post->post_parent))
51 51
 					); ?>
52 52
 				</nav>
53 53
 </nav><!-- #image-navigation --><!-- #image-navigation -->
54 54
 
55
-		<?php if ( has_excerpt() ) : ?>
55
+		<?php if (has_excerpt()) : ?>
56 56
 					<div class="entry-caption">
57 57
 		<?php the_excerpt(); ?>
58 58
 					</div><!-- .entry-caption -->
@@ -74,4 +74,4 @@  discard block
 block discarded – undo
74 74
 		</div><!-- #content -->
75 75
 	</div><!-- #primary -->
76 76
 
77
-<?php get_footer( 'lite' ); ?>
77
+<?php get_footer('lite'); ?>
Please login to merge, or discard this patch.
content-comic.php 2 patches
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,12 +7,12 @@  discard block
 block discarded – undo
7 7
  */
8 8
 
9 9
 ?>
10
-<article id="post-<?php the_ID(); ?>" <?php post_class( 'clear' ); ?>>
10
+<article id="post-<?php the_ID(); ?>" <?php post_class('clear'); ?>>
11 11
 	<div class="entry-wrap wrap clear">
12
-		<?php if ( '' !== get_the_post_thumbnail() ) : ?>
12
+		<?php if ('' !== get_the_post_thumbnail()) : ?>
13 13
 
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
-				<?php the_post_thumbnail( 'strip-featured-thumbnail' ); ?>
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
+				<?php the_post_thumbnail('strip-featured-thumbnail'); ?>
16 16
 			</a>
17 17
 			<?php endif; ?>
18 18
 
@@ -24,36 +24,36 @@  discard block
 block discarded – undo
24 24
 
25 25
 			<?php // calls each series by get_the_terms, custom taxonomy "story" instead of WP native category.
26 26
 
27
-			$terms = get_the_terms( $post->ID, 'story' );
27
+			$terms = get_the_terms($post->ID, 'story');
28 28
 
29
-			foreach ( $terms as $term ) {
29
+			foreach ($terms as $term) {
30 30
 				// The $term is an object, so we don't need to specify the $taxonomy.
31
-				$term_link = get_term_link( $term );
31
+				$term_link = get_term_link($term);
32 32
 				// If there was an error, continue to the next term.
33
-				if ( is_wp_error( $term_link ) ) {
33
+				if (is_wp_error($term_link)) {
34 34
 					continue;
35 35
 				}
36 36
 
37 37
 				// We successfully got a link. Print it out. ?>
38 38
 		<nav class="categories-links">
39
-				<?php printf( '<a href="%s" class="categories-links">%s</a>',
40
-					esc_url( $term_link ) ,
41
-					esc_html( $term->name )
39
+				<?php printf('<a href="%s" class="categories-links">%s</a>',
40
+					esc_url($term_link),
41
+					esc_html($term->name)
42 42
 				);
43 43
 			} ?>
44 44
 	  </nav>
45 45
 
46
-		<?php	edit_post_link( __( 'Edit Comic', 'strip' ), '<span class="edit-link">', '</span>' );
46
+		<?php	edit_post_link(__('Edit Comic', 'strip'), '<span class="edit-link">', '</span>');
47 47
 
48
-		if ( ! is_single() ) :
49
-			the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
48
+		if ( ! is_single()) :
49
+			the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
50 50
 			else :
51
-					the_title( '<h1 class="entry-title">', '</h1>' );
51
+					the_title('<h1 class="entry-title">', '</h1>');
52 52
 			endif; ?>
53 53
 
54 54
 	</header><!-- .entry-header -->
55 55
 
56
-	<?php if ( is_search() ) : // Only display Excerpts for Search — implement search for custom taxonomies. ?>
56
+	<?php if (is_search()) : // Only display Excerpts for Search — implement search for custom taxonomies. ?>
57 57
 
58 58
 		<div class="entry-summary">
59 59
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 		<?php else : ?>
64 64
 
65 65
 	<div class="entry-comic">
66
-		<?php the_content( __( 'Continue watching <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
66
+		<?php the_content(__('Continue watching <span class="meta-nav">&rarr;</span>', 'strip')); ?>
67 67
 
68 68
 			<?php endif; ?>
69 69
 		</div><!-- .entry-content -->
Please login to merge, or discard this patch.
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,8 +47,10 @@  discard block
 block discarded – undo
47 47
 
48 48
 		if ( ! is_single() ) :
49 49
 			the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
50
-			else :
50
+			else {
51
+				:
51 52
 					the_title( '<h1 class="entry-title">', '</h1>' );
53
+			}
52 54
 			endif; ?>
53 55
 
54 56
 	</header><!-- .entry-header -->
@@ -60,10 +62,13 @@  discard block
 block discarded – undo
60 62
 			<?php the_excerpt(); ?>
61 63
 		</div><!-- .entry-summary -->
62 64
 
63
-		<?php else : ?>
65
+		<?php else {
66
+	: ?>
64 67
 
65 68
 	<div class="entry-comic">
66
-		<?php the_content( __( 'Continue watching <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
69
+		<?php the_content( __( 'Continue watching <span class="meta-nav">&rarr;</span>', 'strip' ) );
70
+}
71
+?>
67 72
 
68 73
 			<?php endif; ?>
69 74
 		</div><!-- .entry-content -->
Please login to merge, or discard this patch.
header-lite.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -11,15 +11,15 @@  discard block
 block discarded – undo
11 11
 ?><!DOCTYPE html>
12 12
 <html <?php language_attributes(); ?> class="no-js">
13 13
 <head>
14
-<meta charset="<?php bloginfo( 'charset' ); ?>">
14
+<meta charset="<?php bloginfo('charset'); ?>">
15 15
 <meta http-equiv="X-UA-Compatible" content="IE=Edge">
16 16
 <meta name="viewport" content="width=device-width, initial-scale=1">
17
-<meta name="description" content="<?php if ( is_single() ) {
18
-	single_post_title( '', true );
17
+<meta name="description" content="<?php if (is_single()) {
18
+	single_post_title('', true);
19 19
 } else {
20
-	bloginfo( 'name' );
20
+	bloginfo('name');
21 21
 	echo ' - ';
22
-	bloginfo( 'description' );
22
+	bloginfo('description');
23 23
 }
24 24
 	?>" />
25 25
 <link rel="profile" href="http://gmpg.org/xfn/11">
@@ -32,12 +32,12 @@  discard block
 block discarded – undo
32 32
 <div id="page" class="hfeed site">
33 33
 	<header id="masthead" class="site-header" role="banner">
34 34
 
35
-		<?php if ( has_nav_menu( 'primary' ) ) : ?>
35
+		<?php if (has_nav_menu('primary')) : ?>
36 36
 		<nav id="site-navigation" class="main-navigation clear" role="navigation">
37
-			<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e( 'discover', 'strip' ); ?></button>
38
-			<div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e( 'Skip to content', 'strip' ); ?></a></div>
37
+			<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e('discover', 'strip'); ?></button>
38
+			<div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e('Skip to content', 'strip'); ?></a></div>
39 39
 
40
-			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'wrap' ) ); ?>
40
+			<?php wp_nav_menu(array('theme_location' => 'primary', 'container_class' => 'wrap')); ?>
41 41
 		</nav><!-- #site-navigation -->
42 42
 		<?php endif; ?>
43 43
 
Please login to merge, or discard this patch.
single-comic.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@  discard block
 block discarded – undo
6 6
  * @subpackage Strip
7 7
  */
8 8
 
9
-if ( post_type_exists( $post_type )  && is_single() ) {
10
-	get_header( 'lite' );
9
+if (post_type_exists($post_type) && is_single()) {
10
+	get_header('lite');
11 11
 } else {
12 12
 	get_header();
13 13
 }
@@ -18,16 +18,16 @@  discard block
 block discarded – undo
18 18
 
19 19
 	<?php
20 20
 	// Start the loop.
21
-	while ( have_posts() ) :
21
+	while (have_posts()) :
22 22
 		the_post();
23
-		if ( 'comic' === get_post_type() ) : ?>
23
+		if ('comic' === get_post_type()) : ?>
24 24
 
25 25
 			<div class="entry-comic">
26 26
 
27
-				<?php get_template_part( 'content-comic' ); ?>
27
+				<?php get_template_part('content-comic'); ?>
28 28
 
29
-				<?php strip_content_nav( 'nav-below' );
30
-				set_transient( 'story', $post_type );?>
29
+				<?php strip_content_nav('nav-below');
30
+				set_transient('story', $post_type); ?>
31 31
 
32 32
 			</div><!-- #entry-comic -->
33 33
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
 				<?php
38 38
 					// If comments are open or we have at least one comment, load up the comment template.
39
-				if ( comments_open() || '0' !== get_comments_number() ) {
39
+				if (comments_open() || '0' !== get_comments_number()) {
40 40
 					comments_template();
41 41
 				}
42 42
 				?>
@@ -46,4 +46,4 @@  discard block
 block discarded – undo
46 46
 		</main><!-- #content -->
47 47
 	</section><!-- #primary -->
48 48
 
49
-<?php get_footer( 'lite' ); ?>
49
+<?php get_footer('lite'); ?>
Please login to merge, or discard this patch.
404.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -16,29 +16,29 @@
 block discarded – undo
16 16
 			<article id="post-0" class="post error404 not-found">
17 17
 
18 18
 				<header class="entry-header">
19
-					<h1 class="entry-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'strip' ); ?></h1>
19
+					<h1 class="entry-title"><?php esc_html_e('Oops! That page can&rsquo;t be found.', 'strip'); ?></h1>
20 20
 				</header><!-- .entry-header -->
21 21
 
22 22
 					<div class="entry-content clear">
23
-						<p><?php esc_html_e( 'Nothing was found here. Maybe try one of the links below or a search?', 'strip' ); ?></p>
23
+						<p><?php esc_html_e('Nothing was found here. Maybe try one of the links below or a search?', 'strip'); ?></p>
24 24
 
25 25
 		<?php get_search_form(); ?>
26 26
 
27
-		<?php the_widget( 'WP_Widget_Recent_Posts', 6 ); ?>
27
+		<?php the_widget('WP_Widget_Recent_Posts', 6); ?>
28 28
 
29 29
 						<div class="widget widget_most_used_categories">
30
-							<h2 class="widgettitle"><?php esc_html_e( 'Most Used Categories', 'strip' ); ?></h2>
30
+							<h2 class="widgettitle"><?php esc_html_e('Most Used Categories', 'strip'); ?></h2>
31 31
 							<ul>
32
-		<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 6 ) ); ?>
32
+		<?php wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 6)); ?>
33 33
 							</ul>
34 34
 						</div>
35 35
 
36
-		<?php the_widget( 'WP_Widget_Calendar', array( 'title' => __( 'Calendar', 'strip' ) ) ); ?>
36
+		<?php the_widget('WP_Widget_Calendar', array('title' => __('Calendar', 'strip'))); ?>
37 37
 
38 38
 		<?php
39 39
 		/* translators: %1$s: smiley */
40
-		$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'strip' ), convert_smilies( ':)' ) ) . '</p>';
41
-		the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
40
+		$archive_content = '<p>' . sprintf(__('Try looking in the monthly archives. %1$s', 'strip'), convert_smilies(':)')) . '</p>';
41
+		the_widget('WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content");
42 42
 		?>
43 43
 
44 44
 					</div><!-- entry-content clear -->
Please login to merge, or discard this patch.