Completed
Push — master ( cef49f...2328a9 )
by SILENT
01:32
created
header.php 1 patch
Spacing   +12 added lines, -12 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">
@@ -35,18 +35,18 @@  discard block
 block discarded – undo
35 35
 	<header id="branding" class="site-header" role="banner">
36 36
 
37 37
 		<div class="site-branding">
38
-			<?php get_template_part( '/assets/inline-logo.svg' ); // remove or replace by your own custom svg logo. ?>
39
-			<?php get_template_part( 'template-parts/header/header', 'image' ); ?>
38
+			<?php get_template_part('/assets/inline-logo.svg'); // remove or replace by your own custom svg logo. ?>
39
+			<?php get_template_part('template-parts/header/header', 'image'); ?>
40 40
 			<?php strip_the_custom_logo(); ?>
41
-				<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>
41
+				<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>
42 42
 	</div><!-- .site-branding -->
43 43
 
44
-		<?php if ( has_nav_menu( 'primary' ) ) : ?>
44
+		<?php if (has_nav_menu('primary')) : ?>
45 45
 		<nav id="site-navigation" class="main-navigation clear" role="navigation">
46
-			<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e( 'discover', 'strip' ); ?></button>
47
-			<div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e( 'Skip to content', 'strip' ); ?></a></div>
46
+			<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e('discover', 'strip'); ?></button>
47
+			<div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e('Skip to content', 'strip'); ?></a></div>
48 48
 
49
-			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'wrap' ) ); ?>
49
+			<?php wp_nav_menu(array('theme_location' => 'primary', 'container_class' => 'wrap')); ?>
50 50
 		</nav><!-- #site-navigation -->
51 51
 		<?php endif; ?>
52 52
 
Please login to merge, or discard this patch.
content-page.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,18 +11,18 @@
 block discarded – undo
11 11
 <article id="post-<?php the_ID(); ?>" >
12 12
 	<div class="wrap">
13 13
 	<?php
14
-	if ( '' !== get_the_post_thumbnail() ) :
15
-		the_post_thumbnail( 'strip-featured-image' );
14
+	if ('' !== get_the_post_thumbnail()) :
15
+		the_post_thumbnail('strip-featured-image');
16 16
 	endif;
17 17
 	?>
18 18
 		<header class="entry-header">
19
-	<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
19
+	<?php the_title('<h1 class="entry-title">', '</h1>'); ?>
20 20
 		</header><!-- .entry-header -->
21 21
 
22 22
 	<footer class="entry-meta">
23 23
 	<?php strip_entry_meta(); ?>
24 24
 
25
-	<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
25
+	<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
26 26
 		</footer><!-- .entry-meta -->
27 27
 
28 28
 		<div class="entry-content clear">
Please login to merge, or discard this patch.
footer-lite.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@
 block discarded – undo
13 13
 	<footer id="colophon" class="site-footer" role="contentinfo">
14 14
 
15 15
 	  <div class="site-info">
16
-				&copy; <span class="site-name"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> <?php
16
+				&copy; <span class="site-name"><a href="<?php echo esc_url(home_url('/')); ?>" rel="home"><?php bloginfo('name'); ?></a></span> <?php
17 17
 				$from_year = 2016;
18
-				$this_year = (int) date( 'Y' );
19
-				echo esc_html( $from_year . (($from_year !== $this_year) ? '-' . $this_year : '') );?>
18
+				$this_year = (int) date('Y');
19
+				echo esc_html($from_year . (($from_year !== $this_year) ? '-' . $this_year : '')); ?>
20 20
 				<span class="sep"> | </span>
21
-		<?php do_action( 'strip_credits' );
21
+		<?php do_action('strip_credits');
22 22
 					?>
23
-					<a href="<?php echo esc_url( __( 'https://github.com/SilentComics/Strip', 'strip' ) ); ?>"><?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'strip' ), 'strip', 'SILENT COMICS' ); ?></a>
23
+					<a href="<?php echo esc_url(__('https://github.com/SilentComics/Strip', 'strip')); ?>"><?php printf(esc_html__('Theme: %1$s by %2$s.', 'strip'), 'strip', 'SILENT COMICS'); ?></a>
24 24
 			</div><!-- .site-info -->
25 25
 		</footer><!-- #colophon -->
26 26
 	</div><!-- #page -->
Please login to merge, or discard this patch.
home 3.php 2 patches
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@  discard block
 block discarded – undo
17 17
 		<div class="wrap">
18 18
 			<header class="entry-header">
19 19
 				<h3 class="taxonomy-description">
20
-					<?php printf( '<a href="%s" class="post-parent-title">%s</a>',
21
-						esc_url( get_post_type_archive_link( 'comic' ) ),
22
-						esc_html( get_the_title() )
20
+					<?php printf('<a href="%s" class="post-parent-title">%s</a>',
21
+						esc_url(get_post_type_archive_link('comic')),
22
+						esc_html(get_the_title())
23 23
 					); ?>
24 24
 					</a></h3>
25 25
 				<h1 class="page-title"><?php the_title(); ?></h1>
@@ -29,34 +29,34 @@  discard block
 block discarded – undo
29 29
 
30 30
 			<?php
31 31
 			// get the correct paged figure on a Custom Page That Isn’t Static Home Page.
32
-			$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; ?>
32
+			$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>
33 33
 
34 34
 
35 35
 		<?php
36 36
 
37 37
 					// Call and run loop in descending order.
38
-					$loop = new WP_Query( array(
38
+					$loop = new WP_Query(array(
39 39
 						'post_type'			     => 'comic',
40 40
 						'story'              => '', // add story term here if you want this template to only archive a specific story.
41 41
 						'posts_per_page'     => 9, // changes default Blog pages number "reading settings" set in dashboard.
42 42
 						'paged'              => $paged, // you absolutely need this.
43 43
 						'orderby'            => 'title', // order by title or date.
44 44
 						'order'              => 'ASC',
45
-					) );
45
+					));
46 46
 
47 47
 					// Start the loop.
48
-					if ( $loop->have_posts() ) :
49
-						while ( $loop->have_posts() ) :
48
+					if ($loop->have_posts()) :
49
+						while ($loop->have_posts()) :
50 50
 							$loop->the_post();
51 51
 			?>
52 52
 			<div class="three-column">
53
-				<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php printf( esc_html__( 'Permanent Link to %s', 'strip' ),the_title_attribute( 'echo=0' ) ); ?>"></a>
54
-				<?php if ( get_the_post_thumbnail() !== '' ) {
53
+				<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php printf(esc_html__('Permanent Link to %s', 'strip'), the_title_attribute('echo=0')); ?>"></a>
54
+				<?php if (get_the_post_thumbnail() !== '') {
55 55
 
56 56
 					echo '<a href="';
57 57
 					the_permalink();
58 58
 					echo '" class="thumbnail-wrapper">';
59
-					the_post_thumbnail( 'strip-medium' );
59
+					the_post_thumbnail('strip-medium');
60 60
 
61 61
 					echo '</a>';
62 62
 
@@ -66,12 +66,12 @@  discard block
 block discarded – undo
66 66
 	the_permalink();
67 67
 	echo '" class="thumbnail-wrapper">';
68 68
 	echo '<img src="';
69
-	echo esc_html( get_first_image( 'strip-medium', 'url' ) );
69
+	echo esc_html(get_first_image('strip-medium', 'url'));
70 70
 	echo '" alt="" />';
71 71
 	echo '</a>';
72 72
 } ?>
73 73
 
74
-<h2 class="series-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php printf( esc_html__( 'Permanent Link to %s', 'strip' ), the_title_attribute( 'echo=0' ) ); ?>"><?php the_title(); ?></a></h2>
74
+<h2 class="series-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php printf(esc_html__('Permanent Link to %s', 'strip'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
75 75
 
76 76
 			</div><!-- .column -->
77 77
 			<?php endwhile; ?>
@@ -82,23 +82,23 @@  discard block
 block discarded – undo
82 82
 
83 83
 		<?php
84 84
 				$big = 999999999; // need an unlikely integer.
85
-				$translated = __( 'Page', 'strip' ); // supply translatable string.
85
+				$translated = __('Page', 'strip'); // supply translatable string.
86 86
 
87
-				echo wp_kses_post( paginate_links( // Data validation: wp_kses_post see https://developer.wordpress.org/reference/functions/wp_kses_post/.
87
+				echo wp_kses_post(paginate_links( // Data validation: wp_kses_post see https://developer.wordpress.org/reference/functions/wp_kses_post/.
88 88
 					array(
89
-					'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
89
+					'base' => str_replace($big, '%#%', esc_url(get_pagenum_link($big))),
90 90
 					'format' => '?paged=%#%',
91
-					'current' => max( 1, get_query_var( 'paged', 1 ) ),
91
+					'current' => max(1, get_query_var('paged', 1)),
92 92
 					'total' => $loop->max_num_pages,
93 93
 					'before_page_number' => '<span class="screen-reader-text">' . $translated . ' </span>',
94
-					'prev_text' => esc_html__( 'Previous', 'strip' ), // If you want to change the previous link text.
95
-					'next_text' => esc_html__( 'Next', 'strip' ), // If you want to change the next link text.
94
+					'prev_text' => esc_html__('Previous', 'strip'), // If you want to change the previous link text.
95
+					'next_text' => esc_html__('Next', 'strip'), // If you want to change the next link text.
96 96
 					'type' => 'title', // How you want the return value to be formatted.
97 97
 					'add_fragment' => '#result', // Your anchor.
98
-				) ) );
98
+				) ));
99 99
 
100 100
 		else :
101
-			get_template_part( 'no-results', 'archive-comic' );
101
+			get_template_part('no-results', 'archive-comic');
102 102
 		endif; ?>
103 103
 
104 104
 				</div><!-- .wrap -->
Please login to merge, or discard this 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 2 patches
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -10,24 +10,24 @@  discard block
 block discarded – undo
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 12
 	<div class="wrap">
13
-			<?php if ( '' !== get_the_post_thumbnail() && ! is_single() ) : ?>
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-image' ); ?>
13
+			<?php if ('' !== get_the_post_thumbnail() && ! is_single()) : ?>
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-image'); ?>
16 16
 			</a>
17 17
 			<?php else : ?>
18
-				<?php the_post_thumbnail( 'strip-featured-image' ); ?>
18
+				<?php the_post_thumbnail('strip-featured-image'); ?>
19 19
 			<?php endif; ?>
20 20
 
21 21
 		<header class="entry-header">
22 22
 			<?php
23
-			$categories_list = get_the_category_list( __( ', ', 'strip' ) );
24
-			if ( $categories_list && strip_categorized_blog() ) {
23
+			$categories_list = get_the_category_list(__(', ', 'strip'));
24
+			if ($categories_list && strip_categorized_blog()) {
25 25
 				echo '<span class="categories-links">' . $categories_list . '</span>';
26 26
 			}
27
-			if ( ! is_single() ) :
28
-				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
27
+			if ( ! is_single()) :
28
+				the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>');
29 29
 			else :
30
-					the_title( '<h1 class="entry-title">', '</h1>' );
30
+					the_title('<h1 class="entry-title">', '</h1>');
31 31
 			endif;
32 32
 			?>
33 33
 		</header><!-- .entry-header -->
@@ -35,14 +35,14 @@  discard block
 block discarded – undo
35 35
 		<footer class="entry-meta">
36 36
 			<?php strip_entry_meta(); ?>
37 37
 
38
-			<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
39
-			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
38
+			<?php if ( ! post_password_required() && (comments_open() || '0' !== get_comments_number())) : ?>
39
+			<span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'strip'), __('1 Comment', 'strip'), __('% Comments', 'strip')); ?></span>
40 40
 			<?php endif; ?>
41 41
 
42
-			<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
42
+			<?php edit_post_link(__('Edit', 'strip'), '<span class="edit-link">', '</span>'); ?>
43 43
 		</footer><!-- .entry-meta -->
44 44
 
45
-		<?php if ( is_search() ) : // Only display Excerpts for Search. ?>
45
+		<?php if (is_search()) : // Only display Excerpts for Search. ?>
46 46
 		<div class="entry-summary">
47 47
 			<?php the_excerpt(); ?>
48 48
 		</div><!-- .entry-summary -->
@@ -51,16 +51,16 @@  discard block
 block discarded – undo
51 51
 			<?php
52 52
 			the_content(sprintf(
53 53
 				/* translators: %s: Name of current post. */
54
-				esc_html( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip' ), array( 'span' => array( 'class' => array() ) ) ),
55
-				get_the_title( '<span class="screen-reader-text">"', '"</span>', false )
54
+				esc_html(__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip'), array('span' => array('class' => array()))),
55
+				get_the_title('<span class="screen-reader-text">"', '"</span>', false)
56 56
 			));
57 57
 
58 58
 			wp_link_pages(array(
59
-				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'strip' ) . '</span>',
59
+				'before'      => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'strip') . '</span>',
60 60
 				'after'       => '</div>',
61 61
 				'link_before' => '<span>',
62 62
 				'link_after'  => '</span>',
63
-				'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'strip' ) . ' </span>%',
63
+				'pagelink'    => '<span class="screen-reader-text">' . __('Page', 'strip') . ' </span>%',
64 64
 				'separator'   => '<span class="screen-reader-text">, </span>',
65 65
 			));
66 66
 		?>
Please login to merge, or discard this 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.
inc/author-box.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,22 +20,22 @@
 block discarded – undo
20 20
 		 *
21 21
 		 * @param int $size The avatar height and width size in pixels.
22 22
 		 */
23
-		$author_bio_avatar_size = apply_filters( 'strip_author_bio_avatar_size', 240 );
23
+		$author_bio_avatar_size = apply_filters('strip_author_bio_avatar_size', 240);
24 24
 
25
-		echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
25
+		echo get_avatar(get_the_author_meta('user_email'), $author_bio_avatar_size);
26 26
 		?>
27 27
 	</div><!-- .author-avatar -->
28 28
 
29 29
 	<div class="author-meta">
30 30
 
31 31
 	<div class="author-description">
32
-		<h2 class="author-title"><span class="author-heading"><?php esc_html_e( '&#9998;', 'strip' ); ?></span> <?php echo get_the_author(); ?></h2>
32
+		<h2 class="author-title"><span class="author-heading"><?php esc_html_e('&#9998;', 'strip'); ?></span> <?php echo get_the_author(); ?></h2>
33 33
 
34 34
 
35 35
 		<p class="author-bio">
36
-			<?php the_author_meta( 'description' ); ?>
37
-				<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
38
-					<br> <?php printf( esc_html__( 'View all articles by %s', 'strip' ), get_the_author() ); ?>
36
+			<?php the_author_meta('description'); ?>
37
+				<a class="author-link" href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>" rel="author">
38
+					<br> <?php printf(esc_html__('View all articles by %s', 'strip'), get_the_author()); ?>
39 39
 				</a>
40 40
 			</p><!-- .author-bio -->
41 41
 		</div><!-- .author-description -->
Please login to merge, or discard this patch.
inc/customizer.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -11,22 +11,22 @@
 block discarded – undo
11 11
 	 *
12 12
 	 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
13 13
 	 */
14
-function strip_customize_register( $wp_customize ) {
15
-	$wp_customize->get_setting( 'blogname' )        ->transport = 'postMessage';
16
-	$wp_customize->get_setting( 'blogdescription' ) ->transport = 'postMessage';
17
-	$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
18
-	$wp_customize->get_setting( 'background_image' )->transport = 'postMessage';
19
-	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'content_title_color', array(
20
-		'label'   => esc_html_x( 'Content Title Color', 'admin', 'strip' ),
14
+function strip_customize_register($wp_customize) {
15
+	$wp_customize->get_setting('blogname')        ->transport = 'postMessage';
16
+	$wp_customize->get_setting('blogdescription') ->transport = 'postMessage';
17
+	$wp_customize->get_setting('header_textcolor')->transport = 'postMessage';
18
+	$wp_customize->get_setting('background_image')->transport = 'postMessage';
19
+	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'content_title_color', array(
20
+		'label'   => esc_html_x('Content Title Color', 'admin', 'strip'),
21 21
 		'section' => 'colors',
22
-	) ) );
22
+	)));
23 23
 }
24
-	add_action( 'customize_register', 'strip_customize_register' );
24
+	add_action('customize_register', 'strip_customize_register');
25 25
 
26 26
 	/**
27 27
 	 * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
28 28
 	 */
29 29
 function strip_customize_preview_js() {
30
-	wp_enqueue_script( 'strip_customizer', get_template_directory_uri() . '/js/min/customizer-min.js', array( 'customize-preview' ), '20130508', true );
30
+	wp_enqueue_script('strip_customizer', get_template_directory_uri() . '/js/min/customizer-min.js', array('customize-preview'), '20130508', true);
31 31
 }
32
-	add_action( 'customize_preview_init', 'strip_customize_preview_js' );
32
+	add_action('customize_preview_init', 'strip_customize_preview_js');
Please login to merge, or discard this patch.
inc/jetpack.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 		'posts_per_page' => false,
24 24
 	));
25 25
 }
26
-add_action( 'after_setup_theme', 'strip_infinite_scroll_setup' );
26
+add_action('after_setup_theme', 'strip_infinite_scroll_setup');
27 27
 
28 28
 /**
29 29
  * Enables Jetpack's Infinite Scroll for home (blog), disables it in WooCommerce product archives
@@ -32,6 +32,6 @@  discard block
 block discarded – undo
32 32
  * https://wordpress.org/support/topic/suppress-infinite-blog-with-woocommerce
33 33
  */
34 34
 function strip_jetpack_infinite_scroll_supported() {
35
-	return current_theme_supports( 'infinite-scroll' ) && ( is_admin() || is_home() || is_search()  && ! is_post_type_archive( 'comic' ) );
35
+	return current_theme_supports('infinite-scroll') && (is_admin() || is_home() || is_search() && ! is_post_type_archive('comic'));
36 36
 }
37
-add_filter( 'infinite_scroll_archive_supported', 'strip_jetpack_infinite_scroll_supported' );
37
+add_filter('infinite_scroll_archive_supported', 'strip_jetpack_infinite_scroll_supported');
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 = 2016;
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', 'SILENT COMICS' ); ?></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', 'SILENT COMICS'); ?></a>
54 54
 		</div><!-- .site-info -->
55 55
 	</footer><!-- #colophon -->
56 56
 </div><!-- #page -->
Please login to merge, or discard this patch.