Completed
Push — master ( 8ff7a8...c0c536 )
by Stephen
77:04 queued 40:03
created
src/wp-content/themes/twentythirteen/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_Thirteen
9
- * @since Twenty Thirteen 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_Thirteen
9
+		 * @since Twenty Thirteen 1.0
10
+		 */
11 11
 
12 12
 get_header(); ?>
13 13
 
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,24 +14,24 @@
 block discarded – undo
14 14
 	<div 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
 			<header class="archive-header">
19
-				<h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentythirteen' ), single_cat_title( '', false ) ); ?></h1>
19
+				<h1 class="archive-title"><?php printf(__('Category Archives: %s', 'twentythirteen'), single_cat_title('', false)); ?></h1>
20 20
 
21
-				<?php if ( category_description() ) : // Show an optional category description ?>
21
+				<?php if (category_description()) : // Show an optional category description ?>
22 22
 				<div class="archive-meta"><?php echo category_description(); ?></div>
23 23
 				<?php endif; ?>
24 24
 			</header><!-- .archive-header -->
25 25
 
26 26
 			<?php /* The loop */ ?>
27
-			<?php while ( have_posts() ) : the_post(); ?>
28
-				<?php get_template_part( 'content', get_post_format() ); ?>
27
+			<?php while (have_posts()) : the_post(); ?>
28
+				<?php get_template_part('content', get_post_format()); ?>
29 29
 			<?php endwhile; ?>
30 30
 
31 31
 			<?php twentythirteen_paging_nav(); ?>
32 32
 
33 33
 		<?php else : ?>
34
-			<?php get_template_part( 'content', 'none' ); ?>
34
+			<?php get_template_part('content', 'none'); ?>
35 35
 		<?php endif; ?>
36 36
 
37 37
 		</div><!-- #content -->
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,11 @@
 block discarded – undo
51 51
 
52 52
 			<?php twentythirteen_paging_nav(); ?>
53 53
 
54
-		<?php else : ?>
55
-			<?php get_template_part( 'content', 'none' ); ?>
54
+		<?php else {
55
+	: ?>
56
+			<?php get_template_part( 'content', 'none' );
57
+}
58
+?>
56 59
 		<?php endif; ?>
57 60
 
58 61
 		</div><!-- #content -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/content-link.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -11,32 +11,32 @@
 block discarded – undo
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 12
 	<header class="entry-header">
13 13
 		<h1 class="entry-title">
14
-			<a href="<?php echo esc_url( twentythirteen_get_link_url() ); ?>"><?php the_title(); ?></a>
14
+			<a href="<?php echo esc_url(twentythirteen_get_link_url()); ?>"><?php the_title(); ?></a>
15 15
 		</h1>
16 16
 
17 17
 		<div class="entry-meta">
18 18
 			<?php twentythirteen_entry_date(); ?>
19
-			<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
19
+			<?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?>
20 20
 		</div><!-- .entry-meta -->
21 21
 	</header><!-- .entry-header -->
22 22
 
23 23
 	<div class="entry-content">
24 24
 		<?php
25 25
 			/* translators: %s: Name of current post */
26
-			the_content( sprintf(
27
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
28
-				the_title( '<span class="screen-reader-text">', '</span>', false )
29
-			) );
26
+			the_content(sprintf(
27
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen'),
28
+				the_title('<span class="screen-reader-text">', '</span>', false)
29
+			));
30 30
 
31
-			wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) );
31
+			wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentythirteen').'</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>'));
32 32
 		?>
33 33
 	</div><!-- .entry-content -->
34 34
 
35
-	<?php if ( is_single() ) : ?>
35
+	<?php if (is_single()) : ?>
36 36
 	<footer class="entry-meta">
37 37
 		<?php twentythirteen_entry_meta(); ?>
38
-		<?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
39
-			<?php get_template_part( 'author-bio' ); ?>
38
+		<?php if (get_the_author_meta('description') && is_multi_author()) : ?>
39
+			<?php get_template_part('author-bio'); ?>
40 40
 		<?php endif; ?>
41 41
 	</footer><!-- .entry-meta -->
42 42
 	<?php endif; // is_single() ?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/page.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@  discard block
 block discarded – undo
17 17
 		<div id="content" class="site-content" role="main">
18 18
 
19 19
 			<?php /* The loop */ ?>
20
-			<?php while ( have_posts() ) : the_post(); ?>
20
+			<?php while (have_posts()) : the_post(); ?>
21 21
 
22 22
 				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
23 23
 					<header class="entry-header">
24
-						<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
24
+						<?php if (has_post_thumbnail() && ! post_password_required()) : ?>
25 25
 						<div class="entry-thumbnail">
26 26
 							<?php the_post_thumbnail(); ?>
27 27
 						</div>
@@ -32,11 +32,11 @@  discard block
 block discarded – undo
32 32
 
33 33
 					<div class="entry-content">
34 34
 						<?php the_content(); ?>
35
-						<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
35
+						<?php wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentythirteen').'</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>')); ?>
36 36
 					</div><!-- .entry-content -->
37 37
 
38 38
 					<footer class="entry-meta">
39
-						<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
39
+						<?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?>
40 40
 					</footer><!-- .entry-meta -->
41 41
 				</article><!-- #post -->
42 42
 
Please login to merge, or discard this patch.
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 other
7
- * 'pages' on your WordPress site will use a different template.
8
- *
9
- * @package WordPress
10
- * @subpackage Twenty_Thirteen
11
- * @since Twenty Thirteen 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 other
7
+	 * 'pages' on your WordPress site will use a different template.
8
+	 *
9
+	 * @package WordPress
10
+	 * @subpackage Twenty_Thirteen
11
+	 * @since Twenty Thirteen 1.0
12
+	 */
13 13
 
14 14
 get_header(); ?>
15 15
 
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/content-image.php 3 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 12
 	<header class="entry-header">
13
-		<?php if ( is_single() ) : ?>
13
+		<?php if (is_single()) : ?>
14 14
 		<h1 class="entry-title"><?php the_title(); ?></h1>
15 15
 		<?php else : ?>
16 16
 		<h1 class="entry-title">
@@ -22,27 +22,27 @@  discard block
 block discarded – undo
22 22
 	<div class="entry-content">
23 23
 		<?php
24 24
 			/* translators: %s: Name of current post */
25
-			the_content( sprintf(
26
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
27
-				the_title( '<span class="screen-reader-text">', '</span>', false )
28
-			) );
25
+			the_content(sprintf(
26
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen'),
27
+				the_title('<span class="screen-reader-text">', '</span>', false)
28
+			));
29 29
 
30
-			wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) );
30
+			wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentythirteen').'</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>'));
31 31
 		?>
32 32
 	</div><!-- .entry-content -->
33 33
 
34 34
 	<footer class="entry-meta">
35 35
 		<?php twentythirteen_entry_meta(); ?>
36 36
 
37
-		<?php if ( comments_open() && ! is_single() ) : ?>
37
+		<?php if (comments_open() && ! is_single()) : ?>
38 38
 		<span class="comments-link">
39
-			<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
39
+			<?php comments_popup_link('<span class="leave-reply">'.__('Leave a comment', 'twentythirteen').'</span>', __('One comment so far', 'twentythirteen'), __('View all % comments', 'twentythirteen')); ?>
40 40
 		</span><!-- .comments-link -->
41 41
 		<?php endif; // comments_open() ?>
42
-		<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
42
+		<?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?>
43 43
 
44
-		<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
45
-			<?php get_template_part( 'author-bio' ); ?>
44
+		<?php if (is_single() && get_the_author_meta('description') && is_multi_author()) : ?>
45
+			<?php get_template_part('author-bio'); ?>
46 46
 		<?php endif; ?>
47 47
 	</footer><!-- .entry-meta -->
48 48
 </article><!-- #post -->
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,12 @@
 block discarded – undo
12 12
 	<header class="entry-header">
13 13
 		<?php if ( is_single() ) : ?>
14 14
 		<h1 class="entry-title"><?php the_title(); ?></h1>
15
-		<?php else : ?>
15
+		<?php else {
16
+	: ?>
16 17
 		<h1 class="entry-title">
17
-			<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
18
+			<a href="<?php the_permalink();
19
+}
20
+?>" rel="bookmark"><?php the_title(); ?></a>
18 21
 		</h1>
19 22
 		<?php endif; // is_single() ?>
20 23
 	</header><!-- .entry-header -->
Please login to merge, or discard this patch.
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_Thirteen
7
- * @since Twenty Thirteen 1.0
8
- */
3
+		 * The template for displaying posts in the Image post format
4
+		 *
5
+		 * @package WordPress
6
+		 * @subpackage Twenty_Thirteen
7
+		 * @since Twenty Thirteen 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.
src/wp-content/themes/twentythirteen/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_Thirteen
7
- * @since Twenty Thirteen 1.0
8
- */
3
+		 * The template for displaying Search Results pages
4
+		 *
5
+		 * @package WordPress
6
+		 * @subpackage Twenty_Thirteen
7
+		 * @since Twenty Thirteen 1.0
8
+		 */
9 9
 
10 10
 get_header(); ?>
11 11
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,21 +12,21 @@
 block discarded – undo
12 12
 	<div 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', 'twentythirteen' ), get_search_query() ); ?></h1>
18
+				<h1 class="page-title"><?php printf(__('Search Results for: %s', 'twentythirteen'), get_search_query()); ?></h1>
19 19
 			</header>
20 20
 
21 21
 			<?php /* The loop */ ?>
22
-			<?php while ( have_posts() ) : the_post(); ?>
23
-				<?php get_template_part( 'content', get_post_format() ); ?>
22
+			<?php while (have_posts()) : the_post(); ?>
23
+				<?php get_template_part('content', get_post_format()); ?>
24 24
 			<?php endwhile; ?>
25 25
 
26 26
 			<?php twentythirteen_paging_nav(); ?>
27 27
 
28 28
 		<?php else : ?>
29
-			<?php get_template_part( 'content', 'none' ); ?>
29
+			<?php get_template_part('content', 'none'); ?>
30 30
 		<?php endif; ?>
31 31
 
32 32
 		</div><!-- #content -->
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,11 @@
 block discarded – undo
51 51
 
52 52
 			<?php twentythirteen_paging_nav(); ?>
53 53
 
54
-		<?php else : ?>
55
-			<?php get_template_part( 'content', 'none' ); ?>
54
+		<?php else {
55
+	: ?>
56
+			<?php get_template_part( 'content', 'none' );
57
+}
58
+?>
56 59
 		<?php endif; ?>
57 60
 
58 61
 		</div><!-- #content -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/taxonomy-post_format.php 3 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,20 +18,20 @@
 block discarded – undo
18 18
 	<div id="primary" class="content-area">
19 19
 		<div id="content" class="site-content" role="main">
20 20
 
21
-		<?php if ( have_posts() ) : ?>
21
+		<?php if (have_posts()) : ?>
22 22
 			<header class="archive-header">
23
-				<h1 class="archive-title"><?php printf( __( '%s Archives', 'twentythirteen' ), '<span>' . esc_html( get_post_format_string( get_post_format() ) ) . '</span>' ); ?></h1>
23
+				<h1 class="archive-title"><?php printf(__('%s Archives', 'twentythirteen'), '<span>'.esc_html(get_post_format_string(get_post_format())).'</span>'); ?></h1>
24 24
 			</header><!-- .archive-header -->
25 25
 
26 26
 			<?php /* The loop */ ?>
27
-			<?php while ( have_posts() ) : the_post(); ?>
28
-				<?php get_template_part( 'content', get_post_format() ); ?>
27
+			<?php while (have_posts()) : the_post(); ?>
28
+				<?php get_template_part('content', get_post_format()); ?>
29 29
 			<?php endwhile; ?>
30 30
 
31 31
 			<?php twentythirteen_paging_nav(); ?>
32 32
 
33 33
 		<?php else : ?>
34
-			<?php get_template_part( 'content', 'none' ); ?>
34
+			<?php get_template_part('content', 'none'); ?>
35 35
 		<?php endif; ?>
36 36
 
37 37
 		</div><!-- #content -->
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 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
- * @link https://codex.wordpress.org/Template_Hierarchy
10
- *
11
- * @package WordPress
12
- * @subpackage Twenty_Thirteen
13
- * @since Twenty Thirteen 1.0
14
- */
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
+		 * @link https://codex.wordpress.org/Template_Hierarchy
10
+		 *
11
+		 * @package WordPress
12
+		 * @subpackage Twenty_Thirteen
13
+		 * @since Twenty Thirteen 1.0
14
+		 */
15 15
 
16 16
 get_header(); ?>
17 17
 
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,11 @@
 block discarded – undo
51 51
 
52 52
 			<?php twentythirteen_paging_nav(); ?>
53 53
 
54
-		<?php else : ?>
55
-			<?php get_template_part( 'content', 'none' ); ?>
54
+		<?php else {
55
+	: ?>
56
+			<?php get_template_part( 'content', 'none' );
57
+}
58
+?>
56 59
 		<?php endif; ?>
57 60
 
58 61
 		</div><!-- #content -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/tag.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -16,24 +16,24 @@
 block discarded – undo
16 16
 	<div 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
 			<header class="archive-header">
21
-				<h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'twentythirteen' ), single_tag_title( '', false ) ); ?></h1>
21
+				<h1 class="archive-title"><?php printf(__('Tag Archives: %s', 'twentythirteen'), single_tag_title('', false)); ?></h1>
22 22
 
23
-				<?php if ( tag_description() ) : // Show an optional tag description ?>
23
+				<?php if (tag_description()) : // Show an optional tag description ?>
24 24
 				<div class="archive-meta"><?php echo tag_description(); ?></div>
25 25
 				<?php endif; ?>
26 26
 			</header><!-- .archive-header -->
27 27
 
28 28
 			<?php /* The loop */ ?>
29
-			<?php while ( have_posts() ) : the_post(); ?>
30
-				<?php get_template_part( 'content', get_post_format() ); ?>
29
+			<?php while (have_posts()) : the_post(); ?>
30
+				<?php get_template_part('content', get_post_format()); ?>
31 31
 			<?php endwhile; ?>
32 32
 
33 33
 			<?php twentythirteen_paging_nav(); ?>
34 34
 
35 35
 		<?php else : ?>
36
-			<?php get_template_part( 'content', 'none' ); ?>
36
+			<?php get_template_part('content', 'none'); ?>
37 37
 		<?php endif; ?>
38 38
 
39 39
 		</div><!-- #content -->
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,11 @@
 block discarded – undo
51 51
 
52 52
 			<?php twentythirteen_paging_nav(); ?>
53 53
 
54
-		<?php else : ?>
55
-			<?php get_template_part( 'content', 'none' ); ?>
54
+		<?php else {
55
+	: ?>
56
+			<?php get_template_part( 'content', 'none' );
57
+}
58
+?>
56 59
 		<?php endif; ?>
57 60
 
58 61
 		</div><!-- #content -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/content-chat.php 3 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 12
 	<header class="entry-header">
13
-		<?php if ( is_single() ) : ?>
13
+		<?php if (is_single()) : ?>
14 14
 		<h1 class="entry-title"><?php the_title(); ?></h1>
15 15
 		<?php else : ?>
16 16
 		<h1 class="entry-title">
@@ -22,17 +22,17 @@  discard block
 block discarded – undo
22 22
 	<div class="entry-content">
23 23
 		<?php
24 24
 			/* translators: %s: Name of current post */
25
-			the_content( sprintf(
26
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
27
-				the_title( '<span class="screen-reader-text">', '</span>', false )
28
-			) );
25
+			the_content(sprintf(
26
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen'),
27
+				the_title('<span class="screen-reader-text">', '</span>', false)
28
+			));
29 29
 
30
-			wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) );
30
+			wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentythirteen').'</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>'));
31 31
 		?>
32 32
 	</div><!-- .entry-content -->
33 33
 
34 34
 	<footer class="entry-meta">
35 35
 		<?php twentythirteen_entry_meta(); ?>
36
-		<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
36
+		<?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?>
37 37
 	</footer><!-- .entry-meta -->
38 38
 </article><!-- #post -->
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,12 @@
 block discarded – undo
12 12
 	<header class="entry-header">
13 13
 		<?php if ( is_single() ) : ?>
14 14
 		<h1 class="entry-title"><?php the_title(); ?></h1>
15
-		<?php else : ?>
15
+		<?php else {
16
+	: ?>
16 17
 		<h1 class="entry-title">
17
-			<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
18
+			<a href="<?php the_permalink();
19
+}
20
+?>" rel="bookmark"><?php the_title(); ?></a>
18 21
 		</h1>
19 22
 		<?php endif; // is_single() ?>
20 23
 	</header><!-- .entry-header -->
Please login to merge, or discard this patch.
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 Chat post format
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Thirteen
7
- * @since Twenty Thirteen 1.0
8
- */
3
+		 * The template for displaying posts in the Chat post format
4
+		 *
5
+		 * @package WordPress
6
+		 * @subpackage Twenty_Thirteen
7
+		 * @since Twenty Thirteen 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.
src/wp-content/themes/twentythirteen/inc/back-compat.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
  * @since Twenty Thirteen 1.0
20 20
  */
21 21
 function twentythirteen_switch_theme() {
22
-	switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME );
23
-	unset( $_GET['activated'] );
24
-	add_action( 'admin_notices', 'twentythirteen_upgrade_notice' );
22
+	switch_theme(WP_DEFAULT_THEME, WP_DEFAULT_THEME);
23
+	unset($_GET['activated']);
24
+	add_action('admin_notices', 'twentythirteen_upgrade_notice');
25 25
 }
26
-add_action( 'after_switch_theme', 'twentythirteen_switch_theme' );
26
+add_action('after_switch_theme', 'twentythirteen_switch_theme');
27 27
 
28 28
 /**
29 29
  * Add message for unsuccessful theme switch.
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
  * @since Twenty Thirteen 1.0
35 35
  */
36 36
 function twentythirteen_upgrade_notice() {
37
-	$message = sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] );
38
-	printf( '<div class="error"><p>%s</p></div>', $message );
37
+	$message = sprintf(__('Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen'), $GLOBALS['wp_version']);
38
+	printf('<div class="error"><p>%s</p></div>', $message);
39 39
 }
40 40
 
41 41
 /**
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
  * @since Twenty Thirteen 1.0
45 45
  */
46 46
 function twentythirteen_customize() {
47
-	wp_die( sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ), '', array(
47
+	wp_die(sprintf(__('Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen'), $GLOBALS['wp_version']), '', array(
48 48
 		'back_link' => true,
49
-	) );
49
+	));
50 50
 }
51
-add_action( 'load-customize.php', 'twentythirteen_customize' );
51
+add_action('load-customize.php', 'twentythirteen_customize');
52 52
 
53 53
 /**
54 54
  * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4.
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
  * @since Twenty Thirteen 1.0
57 57
  */
58 58
 function twentythirteen_preview() {
59
-	if ( isset( $_GET['preview'] ) ) {
60
-		wp_die( sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ) );
59
+	if (isset($_GET['preview'])) {
60
+		wp_die(sprintf(__('Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen'), $GLOBALS['wp_version']));
61 61
 	}
62 62
 }
63
-add_action( 'template_redirect', 'twentythirteen_preview' );
63
+add_action('template_redirect', 'twentythirteen_preview');
Please login to merge, or discard this patch.
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
- * Twenty Thirteen back compat functionality
4
- *
5
- * Prevents Twenty Thirteen from running on WordPress versions prior to 3.6,
6
- * since this theme is not meant to be backward compatible and relies on
7
- * many new functions and markup changes introduced in 3.6.
8
- *
9
- * @package WordPress
10
- * @subpackage Twenty_Thirteen
11
- * @since Twenty Thirteen 1.0
12
- */
3
+			 * Twenty Thirteen back compat functionality
4
+			 *
5
+			 * Prevents Twenty Thirteen from running on WordPress versions prior to 3.6,
6
+			 * since this theme is not meant to be backward compatible and relies on
7
+			 * many new functions and markup changes introduced in 3.6.
8
+			 *
9
+			 * @package WordPress
10
+			 * @subpackage Twenty_Thirteen
11
+			 * @since Twenty Thirteen 1.0
12
+			 */
13 13
 
14 14
 /**
15 15
  * Prevent switching to Twenty Thirteen on old versions of WordPress.
Please login to merge, or discard this patch.