Completed
Push — master ( d488ab...6453e7 )
by Stephen
53:31
created
src/wp-content/themes/twentyfourteen/content-aside.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying posts in the Aside post format
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Fourteen
7
- * @since Twenty Fourteen 1.0
8
- */
3
+	 * The template for displaying posts in the Aside post format
4
+	 *
5
+	 * @package WordPress
6
+	 * @subpackage Twenty_Fourteen
7
+	 * @since Twenty Fourteen 1.0
8
+	 */
9 9
 ?>
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -12,51 +12,51 @@
 block discarded – undo
12 12
 	<?php twentyfourteen_post_thumbnail(); ?>
13 13
 
14 14
 	<header class="entry-header">
15
-		<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
15
+		<?php if (in_array('category', get_object_taxonomies(get_post_type())) && twentyfourteen_categorized_blog()) : ?>
16 16
 		<div class="entry-meta">
17
-			<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
17
+			<span class="cat-links"><?php echo get_the_category_list(_x(', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen')); ?></span>
18 18
 		</div><!-- .entry-meta -->
19 19
 		<?php
20 20
 			endif;
21 21
 
22
-			if ( is_single() ) :
23
-				the_title( '<h1 class="entry-title">', '</h1>' );
22
+			if (is_single()) :
23
+				the_title('<h1 class="entry-title">', '</h1>');
24 24
 			else :
25
-				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
25
+				the_title('<h1 class="entry-title"><a href="'.esc_url(get_permalink()).'" rel="bookmark">', '</a></h1>');
26 26
 			endif;
27 27
 		?>
28 28
 
29 29
 		<div class="entry-meta">
30 30
 			<span class="post-format">
31
-				<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>"><?php echo get_post_format_string( 'aside' ); ?></a>
31
+				<a class="entry-format" href="<?php echo esc_url(get_post_format_link('aside')); ?>"><?php echo get_post_format_string('aside'); ?></a>
32 32
 			</span>
33 33
 
34 34
 			<?php twentyfourteen_posted_on(); ?>
35 35
 
36
-			<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
37
-			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
36
+			<?php if ( ! post_password_required() && (comments_open() || get_comments_number())) : ?>
37
+			<span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'twentyfourteen'), __('1 Comment', 'twentyfourteen'), __('% Comments', 'twentyfourteen')); ?></span>
38 38
 			<?php endif; ?>
39 39
 
40
-			<?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
40
+			<?php edit_post_link(__('Edit', 'twentyfourteen'), '<span class="edit-link">', '</span>'); ?>
41 41
 		</div><!-- .entry-meta -->
42 42
 	</header><!-- .entry-header -->
43 43
 
44 44
 	<div class="entry-content">
45 45
 		<?php
46 46
 			/* translators: %s: Name of current post */
47
-			the_content( sprintf(
48
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
49
-				the_title( '<span class="screen-reader-text">', '</span>', false )
50
-			) );
47
+			the_content(sprintf(
48
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen'),
49
+				the_title('<span class="screen-reader-text">', '</span>', false)
50
+			));
51 51
 
52
-			wp_link_pages( array(
53
-				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
52
+			wp_link_pages(array(
53
+				'before'      => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentyfourteen').'</span>',
54 54
 				'after'       => '</div>',
55 55
 				'link_before' => '<span>',
56 56
 				'link_after'  => '</span>',
57
-			) );
57
+			));
58 58
 		?>
59 59
 	</div><!-- .entry-content -->
60 60
 
61
-	<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
61
+	<?php the_tags('<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>'); ?>
62 62
 </article><!-- #post-## -->
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,8 +21,10 @@
 block discarded – undo
21 21
 
22 22
 			if ( is_single() ) :
23 23
 				the_title( '<h1 class="entry-title">', '</h1>' );
24
-			else :
24
+			else {
25
+				:
25 26
 				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
27
+			}
26 28
 			endif;
27 29
 		?>
28 30
 
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfourteen/category.php 3 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying Category pages
4
- *
5
- * @link https://codex.wordpress.org/Template_Hierarchy
6
- *
7
- * @package WordPress
8
- * @subpackage Twenty_Fourteen
9
- * @since Twenty Fourteen 1.0
10
- */
3
+		 * The template for displaying Category pages
4
+		 *
5
+		 * @link https://codex.wordpress.org/Template_Hierarchy
6
+		 *
7
+		 * @package WordPress
8
+		 * @subpackage Twenty_Fourteen
9
+		 * @since Twenty Fourteen 1.0
10
+		 */
11 11
 
12 12
 get_header(); ?>
13 13
 
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,30 +14,30 @@  discard block
 block discarded – undo
14 14
 	<section id="primary" class="content-area">
15 15
 		<div id="content" class="site-content" role="main">
16 16
 
17
-			<?php if ( have_posts() ) : ?>
17
+			<?php if (have_posts()) : ?>
18 18
 
19 19
 			<header class="archive-header">
20
-				<h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentyfourteen' ), single_cat_title( '', false ) ); ?></h1>
20
+				<h1 class="archive-title"><?php printf(__('Category Archives: %s', 'twentyfourteen'), single_cat_title('', false)); ?></h1>
21 21
 
22 22
 				<?php
23 23
 					// Show an optional term description.
24 24
 					$term_description = term_description();
25
-					if ( ! empty( $term_description ) ) :
26
-						printf( '<div class="taxonomy-description">%s</div>', $term_description );
25
+					if ( ! empty($term_description)) :
26
+						printf('<div class="taxonomy-description">%s</div>', $term_description);
27 27
 					endif;
28 28
 				?>
29 29
 			</header><!-- .archive-header -->
30 30
 
31 31
 			<?php
32 32
 					// Start the Loop.
33
-					while ( have_posts() ) : the_post();
33
+					while (have_posts()) : the_post();
34 34
 
35 35
 					/*
36 36
 					 * Include the post format-specific template for the content. If you want to
37 37
 					 * use this in a child theme, then include a file called called content-___.php
38 38
 					 * (where ___ is the post format) and that will be used instead.
39 39
 					 */
40
-					get_template_part( 'content', get_post_format() );
40
+					get_template_part('content', get_post_format());
41 41
 
42 42
 					endwhile;
43 43
 					// Previous/next page navigation.
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 				else :
47 47
 					// If no content, include the "No posts found" template.
48
-					get_template_part( 'content', 'none' );
48
+					get_template_part('content', 'none');
49 49
 
50 50
 				endif;
51 51
 			?>
@@ -53,6 +53,6 @@  discard block
 block discarded – undo
53 53
 	</section><!-- #primary -->
54 54
 
55 55
 <?php
56
-get_sidebar( 'content' );
56
+get_sidebar('content');
57 57
 get_sidebar();
58 58
 get_footer();
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,9 +43,11 @@
 block discarded – undo
43 43
 					// Previous/next page navigation.
44 44
 					twentyfourteen_paging_nav();
45 45
 
46
-				else :
46
+				else {
47
+					:
47 48
 					// If no content, include the "No posts found" template.
48 49
 					get_template_part( 'content', 'none' );
50
+				}
49 51
 
50 52
 				endif;
51 53
 			?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfourteen/content-link.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying posts in the Link post format
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Fourteen
7
- * @since Twenty Fourteen 1.0
8
- */
3
+			 * The template for displaying posts in the Link post format
4
+			 *
5
+			 * @package WordPress
6
+			 * @subpackage Twenty_Fourteen
7
+			 * @since Twenty Fourteen 1.0
8
+			 */
9 9
 ?>
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -12,51 +12,51 @@
 block discarded – undo
12 12
 	<?php twentyfourteen_post_thumbnail(); ?>
13 13
 
14 14
 	<header class="entry-header">
15
-		<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
15
+		<?php if (in_array('category', get_object_taxonomies(get_post_type())) && twentyfourteen_categorized_blog()) : ?>
16 16
 		<div class="entry-meta">
17
-			<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
17
+			<span class="cat-links"><?php echo get_the_category_list(_x(', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen')); ?></span>
18 18
 		</div><!-- .entry-meta -->
19 19
 		<?php
20 20
 			endif;
21 21
 
22
-			if ( is_single() ) :
23
-				the_title( '<h1 class="entry-title">', '</h1>' );
22
+			if (is_single()) :
23
+				the_title('<h1 class="entry-title">', '</h1>');
24 24
 			else :
25
-				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
25
+				the_title('<h1 class="entry-title"><a href="'.esc_url(get_permalink()).'" rel="bookmark">', '</a></h1>');
26 26
 			endif;
27 27
 		?>
28 28
 
29 29
 		<div class="entry-meta">
30 30
 			<span class="post-format">
31
-				<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>"><?php echo get_post_format_string( 'link' ); ?></a>
31
+				<a class="entry-format" href="<?php echo esc_url(get_post_format_link('link')); ?>"><?php echo get_post_format_string('link'); ?></a>
32 32
 			</span>
33 33
 
34 34
 			<?php twentyfourteen_posted_on(); ?>
35 35
 
36
-			<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
37
-			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
36
+			<?php if ( ! post_password_required() && (comments_open() || get_comments_number())) : ?>
37
+			<span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'twentyfourteen'), __('1 Comment', 'twentyfourteen'), __('% Comments', 'twentyfourteen')); ?></span>
38 38
 			<?php endif; ?>
39 39
 
40
-			<?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
40
+			<?php edit_post_link(__('Edit', 'twentyfourteen'), '<span class="edit-link">', '</span>'); ?>
41 41
 		</div><!-- .entry-meta -->
42 42
 	</header><!-- .entry-header -->
43 43
 
44 44
 	<div class="entry-content">
45 45
 		<?php
46 46
 			/* translators: %s: Name of current post */
47
-			the_content( sprintf(
48
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
49
-				the_title( '<span class="screen-reader-text">', '</span>', false )
50
-			) );
47
+			the_content(sprintf(
48
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen'),
49
+				the_title('<span class="screen-reader-text">', '</span>', false)
50
+			));
51 51
 
52
-			wp_link_pages( array(
53
-				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
52
+			wp_link_pages(array(
53
+				'before'      => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentyfourteen').'</span>',
54 54
 				'after'       => '</div>',
55 55
 				'link_before' => '<span>',
56 56
 				'link_after'  => '</span>',
57
-			) );
57
+			));
58 58
 		?>
59 59
 	</div><!-- .entry-content -->
60 60
 
61
-	<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
61
+	<?php the_tags('<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>'); ?>
62 62
 </article><!-- #post-## -->
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,8 +21,10 @@
 block discarded – undo
21 21
 
22 22
 			if ( is_single() ) :
23 23
 				the_title( '<h1 class="entry-title">', '</h1>' );
24
-			else :
24
+			else {
25
+				:
25 26
 				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
27
+			}
26 28
 			endif;
27 29
 		?>
28 30
 
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfourteen/page.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying all pages
4
- *
5
- * This is the template that displays all pages by default.
6
- * Please note that this is the WordPress construct of pages and that
7
- * other 'pages' on your WordPress site will use a different template.
8
- *
9
- * @package WordPress
10
- * @subpackage Twenty_Fourteen
11
- * @since Twenty Fourteen 1.0
12
- */
3
+		 * The template for displaying all pages
4
+		 *
5
+		 * This is the template that displays all pages by default.
6
+		 * Please note that this is the WordPress construct of pages and that
7
+		 * other 'pages' on your WordPress site will use a different template.
8
+		 *
9
+		 * @package WordPress
10
+		 * @subpackage Twenty_Fourteen
11
+		 * @since Twenty Fourteen 1.0
12
+		 */
13 13
 
14 14
 get_header(); ?>
15 15
 
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@  discard block
 block discarded – undo
16 16
 <div id="main-content" class="main-content">
17 17
 
18 18
 <?php
19
-	if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
19
+	if (is_front_page() && twentyfourteen_has_featured_posts()) {
20 20
 		// Include the featured content template.
21
-		get_template_part( 'featured-content' );
21
+		get_template_part('featured-content');
22 22
 	}
23 23
 ?>
24 24
 	<div id="primary" class="content-area">
@@ -26,13 +26,13 @@  discard block
 block discarded – undo
26 26
 
27 27
 			<?php
28 28
 				// Start the Loop.
29
-				while ( have_posts() ) : the_post();
29
+				while (have_posts()) : the_post();
30 30
 
31 31
 					// Include the page content template.
32
-					get_template_part( 'content', 'page' );
32
+					get_template_part('content', 'page');
33 33
 
34 34
 					// If comments are open or we have at least one comment, load up the comment template.
35
-					if ( comments_open() || get_comments_number() ) {
35
+					if (comments_open() || get_comments_number()) {
36 36
 						comments_template();
37 37
 					}
38 38
 				endwhile;
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
 		</div><!-- #content -->
42 42
 	</div><!-- #primary -->
43
-	<?php get_sidebar( 'content' ); ?>
43
+	<?php get_sidebar('content'); ?>
44 44
 </div><!-- #main-content -->
45 45
 
46 46
 <?php
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfourteen/content-image.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying posts in the Image post format
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Fourteen
7
- * @since Twenty Fourteen 1.0
8
- */
3
+			 * The template for displaying posts in the Image post format
4
+			 *
5
+			 * @package WordPress
6
+			 * @subpackage Twenty_Fourteen
7
+			 * @since Twenty Fourteen 1.0
8
+			 */
9 9
 ?>
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -12,51 +12,51 @@
 block discarded – undo
12 12
 	<?php twentyfourteen_post_thumbnail(); ?>
13 13
 
14 14
 	<header class="entry-header">
15
-		<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
15
+		<?php if (in_array('category', get_object_taxonomies(get_post_type())) && twentyfourteen_categorized_blog()) : ?>
16 16
 		<div class="entry-meta">
17
-			<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
17
+			<span class="cat-links"><?php echo get_the_category_list(_x(', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen')); ?></span>
18 18
 		</div><!-- .entry-meta -->
19 19
 		<?php
20 20
 			endif;
21 21
 
22
-			if ( is_single() ) :
23
-				the_title( '<h1 class="entry-title">', '</h1>' );
22
+			if (is_single()) :
23
+				the_title('<h1 class="entry-title">', '</h1>');
24 24
 			else :
25
-				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
25
+				the_title('<h1 class="entry-title"><a href="'.esc_url(get_permalink()).'" rel="bookmark">', '</a></h1>');
26 26
 			endif;
27 27
 		?>
28 28
 
29 29
 		<div class="entry-meta">
30 30
 			<span class="post-format">
31
-				<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>"><?php echo get_post_format_string( 'image' ); ?></a>
31
+				<a class="entry-format" href="<?php echo esc_url(get_post_format_link('image')); ?>"><?php echo get_post_format_string('image'); ?></a>
32 32
 			</span>
33 33
 
34 34
 			<?php twentyfourteen_posted_on(); ?>
35 35
 
36
-			<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
37
-			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
36
+			<?php if ( ! post_password_required() && (comments_open() || get_comments_number())) : ?>
37
+			<span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'twentyfourteen'), __('1 Comment', 'twentyfourteen'), __('% Comments', 'twentyfourteen')); ?></span>
38 38
 			<?php endif; ?>
39 39
 
40
-			<?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
40
+			<?php edit_post_link(__('Edit', 'twentyfourteen'), '<span class="edit-link">', '</span>'); ?>
41 41
 		</div><!-- .entry-meta -->
42 42
 	</header><!-- .entry-header -->
43 43
 
44 44
 	<div class="entry-content">
45 45
 		<?php
46 46
 			/* translators: %s: Name of current post */
47
-			the_content( sprintf(
48
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ),
49
-				the_title( '<span class="screen-reader-text">', '</span>', false )
50
-			) );
47
+			the_content(sprintf(
48
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen'),
49
+				the_title('<span class="screen-reader-text">', '</span>', false)
50
+			));
51 51
 
52
-			wp_link_pages( array(
53
-				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
52
+			wp_link_pages(array(
53
+				'before'      => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentyfourteen').'</span>',
54 54
 				'after'       => '</div>',
55 55
 				'link_before' => '<span>',
56 56
 				'link_after'  => '</span>',
57
-			) );
57
+			));
58 58
 		?>
59 59
 	</div><!-- .entry-content -->
60 60
 
61
-	<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
61
+	<?php the_tags('<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>'); ?>
62 62
 </article><!-- #post-## -->
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,8 +21,10 @@
 block discarded – undo
21 21
 
22 22
 			if ( is_single() ) :
23 23
 				the_title( '<h1 class="entry-title">', '</h1>' );
24
-			else :
24
+			else {
25
+				:
25 26
 				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
27
+			}
26 28
 			endif;
27 29
 		?>
28 30
 
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfourteen/search.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying Search Results pages
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Fourteen
7
- * @since Twenty Fourteen 1.0
8
- */
3
+		 * The template for displaying Search Results pages
4
+		 *
5
+		 * @package WordPress
6
+		 * @subpackage Twenty_Fourteen
7
+		 * @since Twenty Fourteen 1.0
8
+		 */
9 9
 
10 10
 get_header(); ?>
11 11
 
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,22 +12,22 @@  discard block
 block discarded – undo
12 12
 	<section id="primary" class="content-area">
13 13
 		<div id="content" class="site-content" role="main">
14 14
 
15
-			<?php if ( have_posts() ) : ?>
15
+			<?php if (have_posts()) : ?>
16 16
 
17 17
 			<header class="page-header">
18
-				<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1>
18
+				<h1 class="page-title"><?php printf(__('Search Results for: %s', 'twentyfourteen'), get_search_query()); ?></h1>
19 19
 			</header><!-- .page-header -->
20 20
 
21 21
 				<?php
22 22
 					// Start the Loop.
23
-					while ( have_posts() ) : the_post();
23
+					while (have_posts()) : the_post();
24 24
 
25 25
 						/*
26 26
 						 * Include the post format-specific template for the content. If you want to
27 27
 						 * use this in a child theme, then include a file called called content-___.php
28 28
 						 * (where ___ is the post format) and that will be used instead.
29 29
 						 */
30
-						get_template_part( 'content', get_post_format() );
30
+						get_template_part('content', get_post_format());
31 31
 
32 32
 					endwhile;
33 33
 					// Previous/next post navigation.
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
 				else :
37 37
 					// If no content, include the "No posts found" template.
38
-					get_template_part( 'content', 'none' );
38
+					get_template_part('content', 'none');
39 39
 
40 40
 				endif;
41 41
 			?>
@@ -44,6 +44,6 @@  discard block
 block discarded – undo
44 44
 	</section><!-- #primary -->
45 45
 
46 46
 <?php
47
-get_sidebar( 'content' );
47
+get_sidebar('content');
48 48
 get_sidebar();
49 49
 get_footer();
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,9 +33,11 @@
 block discarded – undo
33 33
 					// Previous/next post navigation.
34 34
 					twentyfourteen_paging_nav();
35 35
 
36
-				else :
36
+				else {
37
+					:
37 38
 					// If no content, include the "No posts found" template.
38 39
 					get_template_part( 'content', 'none' );
40
+				}
39 41
 
40 42
 				endif;
41 43
 			?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfourteen/sidebar-footer.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The Footer Sidebar
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Fourteen
7
- * @since Twenty Fourteen 1.0
8
- */
3
+			 * The Footer Sidebar
4
+			 *
5
+			 * @package WordPress
6
+			 * @subpackage Twenty_Fourteen
7
+			 * @since Twenty Fourteen 1.0
8
+			 */
9 9
 
10 10
 if ( ! is_active_sidebar( 'sidebar-3' ) ) {
11 11
 	return;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@
 block discarded – undo
7 7
  * @since Twenty Fourteen 1.0
8 8
  */
9 9
 
10
-if ( ! is_active_sidebar( 'sidebar-3' ) ) {
10
+if ( ! is_active_sidebar('sidebar-3')) {
11 11
 	return;
12 12
 }
13 13
 ?>
14 14
 
15 15
 <div id="supplementary">
16 16
 	<div id="footer-sidebar" class="footer-sidebar widget-area" role="complementary">
17
-		<?php dynamic_sidebar( 'sidebar-3' ); ?>
17
+		<?php dynamic_sidebar('sidebar-3'); ?>
18 18
 	</div><!-- #footer-sidebar -->
19 19
 </div><!-- #supplementary -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfourteen/taxonomy-post_format.php 3 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying Post Format pages
4
- *
5
- * Used to display archive-type pages for posts with a post format.
6
- * If you'd like to further customize these Post Format views, you may create a
7
- * new template file for each specific one.
8
- *
9
- * @todo https://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings
10
- * and remove plurals below.
11
- *
12
- * @link https://codex.wordpress.org/Template_Hierarchy
13
- *
14
- * @package WordPress
15
- * @subpackage Twenty_Fourteen
16
- * @since Twenty Fourteen 1.0
17
- */
3
+	 * The template for displaying Post Format pages
4
+	 *
5
+	 * Used to display archive-type pages for posts with a post format.
6
+	 * If you'd like to further customize these Post Format views, you may create a
7
+	 * new template file for each specific one.
8
+	 *
9
+	 * @todo https://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings
10
+	 * and remove plurals below.
11
+	 *
12
+	 * @link https://codex.wordpress.org/Template_Hierarchy
13
+	 *
14
+	 * @package WordPress
15
+	 * @subpackage Twenty_Fourteen
16
+	 * @since Twenty Fourteen 1.0
17
+	 */
18 18
 
19 19
 get_header(); ?>
20 20
 
Please login to merge, or discard this patch.
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -21,34 +21,34 @@  discard block
 block discarded – undo
21 21
 	<section id="primary" class="content-area">
22 22
 		<div id="content" class="site-content" role="main">
23 23
 
24
-			<?php if ( have_posts() ) : ?>
24
+			<?php if (have_posts()) : ?>
25 25
 
26 26
 			<header class="archive-header">
27 27
 				<h1 class="archive-title">
28 28
 					<?php
29
-						if ( is_tax( 'post_format', 'post-format-aside' ) ) :
30
-							_e( 'Asides', 'twentyfourteen' );
29
+						if (is_tax('post_format', 'post-format-aside')) :
30
+							_e('Asides', 'twentyfourteen');
31 31
 
32
-						elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
33
-							_e( 'Images', 'twentyfourteen' );
32
+						elseif (is_tax('post_format', 'post-format-image')) :
33
+							_e('Images', 'twentyfourteen');
34 34
 
35
-						elseif ( is_tax( 'post_format', 'post-format-video' ) ) :
36
-							_e( 'Videos', 'twentyfourteen' );
35
+						elseif (is_tax('post_format', 'post-format-video')) :
36
+							_e('Videos', 'twentyfourteen');
37 37
 
38
-						elseif ( is_tax( 'post_format', 'post-format-audio' ) ) :
39
-							_e( 'Audio', 'twentyfourteen' );
38
+						elseif (is_tax('post_format', 'post-format-audio')) :
39
+							_e('Audio', 'twentyfourteen');
40 40
 
41
-						elseif ( is_tax( 'post_format', 'post-format-quote' ) ) :
42
-							_e( 'Quotes', 'twentyfourteen' );
41
+						elseif (is_tax('post_format', 'post-format-quote')) :
42
+							_e('Quotes', 'twentyfourteen');
43 43
 
44
-						elseif ( is_tax( 'post_format', 'post-format-link' ) ) :
45
-							_e( 'Links', 'twentyfourteen' );
44
+						elseif (is_tax('post_format', 'post-format-link')) :
45
+							_e('Links', 'twentyfourteen');
46 46
 
47
-						elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) :
48
-							_e( 'Galleries', 'twentyfourteen' );
47
+						elseif (is_tax('post_format', 'post-format-gallery')) :
48
+							_e('Galleries', 'twentyfourteen');
49 49
 
50 50
 						else :
51
-							_e( 'Archives', 'twentyfourteen' );
51
+							_e('Archives', 'twentyfourteen');
52 52
 
53 53
 						endif;
54 54
 					?>
@@ -57,14 +57,14 @@  discard block
 block discarded – undo
57 57
 
58 58
 			<?php
59 59
 					// Start the Loop.
60
-					while ( have_posts() ) : the_post();
60
+					while (have_posts()) : the_post();
61 61
 
62 62
 						/*
63 63
 						 * Include the post format-specific template for the content. If you want to
64 64
 						 * use this in a child theme, then include a file called called content-___.php
65 65
 						 * (where ___ is the post format) and that will be used instead.
66 66
 						 */
67
-						get_template_part( 'content', get_post_format() );
67
+						get_template_part('content', get_post_format());
68 68
 
69 69
 					endwhile;
70 70
 					// Previous/next page navigation.
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
 				else :
74 74
 					// If no content, include the "No posts found" template.
75
-					get_template_part( 'content', 'none' );
75
+					get_template_part('content', 'none');
76 76
 
77 77
 				endif;
78 78
 			?>
@@ -80,6 +80,6 @@  discard block
 block discarded – undo
80 80
 	</section><!-- #primary -->
81 81
 
82 82
 <?php
83
-get_sidebar( 'content' );
83
+get_sidebar('content');
84 84
 get_sidebar();
85 85
 get_footer();
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,10 @@  discard block
 block discarded – undo
47 47
 						elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) :
48 48
 							_e( 'Galleries', 'twentyfourteen' );
49 49
 
50
-						else :
50
+						else {
51
+							:
51 52
 							_e( 'Archives', 'twentyfourteen' );
53
+						}
52 54
 
53 55
 						endif;
54 56
 					?>
@@ -70,9 +72,11 @@  discard block
 block discarded – undo
70 72
 					// Previous/next page navigation.
71 73
 					twentyfourteen_paging_nav();
72 74
 
73
-				else :
75
+				else {
76
+					:
74 77
 					// If no content, include the "No posts found" template.
75 78
 					get_template_part( 'content', 'none' );
79
+				}
76 80
 
77 81
 				endif;
78 82
 			?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfourteen/tag.php 3 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying Tag pages
4
- *
5
- * Used to display archive-type pages for posts in a tag.
6
- *
7
- * @link https://codex.wordpress.org/Template_Hierarchy
8
- *
9
- * @package WordPress
10
- * @subpackage Twenty_Fourteen
11
- * @since Twenty Fourteen 1.0
12
- */
3
+			 * The template for displaying Tag pages
4
+			 *
5
+			 * Used to display archive-type pages for posts in a tag.
6
+			 *
7
+			 * @link https://codex.wordpress.org/Template_Hierarchy
8
+			 *
9
+			 * @package WordPress
10
+			 * @subpackage Twenty_Fourteen
11
+			 * @since Twenty Fourteen 1.0
12
+			 */
13 13
 
14 14
 get_header(); ?>
15 15
 
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -16,30 +16,30 @@  discard block
 block discarded – undo
16 16
 	<section id="primary" class="content-area">
17 17
 		<div id="content" class="site-content" role="main">
18 18
 
19
-			<?php if ( have_posts() ) : ?>
19
+			<?php if (have_posts()) : ?>
20 20
 
21 21
 			<header class="archive-header">
22
-				<h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'twentyfourteen' ), single_tag_title( '', false ) ); ?></h1>
22
+				<h1 class="archive-title"><?php printf(__('Tag Archives: %s', 'twentyfourteen'), single_tag_title('', false)); ?></h1>
23 23
 
24 24
 				<?php
25 25
 					// Show an optional term description.
26 26
 					$term_description = term_description();
27
-					if ( ! empty( $term_description ) ) :
28
-						printf( '<div class="taxonomy-description">%s</div>', $term_description );
27
+					if ( ! empty($term_description)) :
28
+						printf('<div class="taxonomy-description">%s</div>', $term_description);
29 29
 					endif;
30 30
 				?>
31 31
 			</header><!-- .archive-header -->
32 32
 
33 33
 			<?php
34 34
 					// Start the Loop.
35
-					while ( have_posts() ) : the_post();
35
+					while (have_posts()) : the_post();
36 36
 
37 37
 						/*
38 38
 						 * Include the post format-specific template for the content. If you want to
39 39
 						 * use this in a child theme, then include a file called called content-___.php
40 40
 						 * (where ___ is the post format) and that will be used instead.
41 41
 						 */
42
-						get_template_part( 'content', get_post_format() );
42
+						get_template_part('content', get_post_format());
43 43
 
44 44
 					endwhile;
45 45
 					// Previous/next page navigation.
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
 				else :
49 49
 					// If no content, include the "No posts found" template.
50
-					get_template_part( 'content', 'none' );
50
+					get_template_part('content', 'none');
51 51
 
52 52
 				endif;
53 53
 			?>
@@ -55,6 +55,6 @@  discard block
 block discarded – undo
55 55
 	</section><!-- #primary -->
56 56
 
57 57
 <?php
58
-get_sidebar( 'content' );
58
+get_sidebar('content');
59 59
 get_sidebar();
60 60
 get_footer();
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,9 +45,11 @@
 block discarded – undo
45 45
 					// Previous/next page navigation.
46 46
 					twentyfourteen_paging_nav();
47 47
 
48
-				else :
48
+				else {
49
+					:
49 50
 					// If no content, include the "No posts found" template.
50 51
 					get_template_part( 'content', 'none' );
52
+				}
51 53
 
52 54
 				endif;
53 55
 			?>
Please login to merge, or discard this patch.