Completed
Push — master ( d99bf9...491baf )
by Stephen
13:47
created
src/wp-content/themes/twentyfifteen/404.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
 
15 15
 			<section class="error-404 not-found">
16 16
 				<header class="page-header">
17
-					<h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'twentyfifteen' ); ?></h1>
17
+					<h1 class="page-title"><?php _e('Oops! That page can&rsquo;t be found.', 'twentyfifteen'); ?></h1>
18 18
 				</header><!-- .page-header -->
19 19
 
20 20
 				<div class="page-content">
21
-					<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyfifteen' ); ?></p>
21
+					<p><?php _e('It looks like nothing was found at this location. Maybe try a search?', 'twentyfifteen'); ?></p>
22 22
 
23 23
 					<?php get_search_form(); ?>
24 24
 				</div><!-- .page-content -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfifteen/author-bio.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 ?>
10 10
 
11 11
 <div class="author-info">
12
-	<h2 class="author-heading"><?php _e( 'Published by', 'twentyfifteen' ); ?></h2>
12
+	<h2 class="author-heading"><?php _e('Published by', 'twentyfifteen'); ?></h2>
13 13
 	<div class="author-avatar">
14 14
 		<?php
15 15
 		/**
@@ -19,9 +19,9 @@  discard block
 block discarded – undo
19 19
 		 *
20 20
 		 * @param int $size The avatar height and width size in pixels.
21 21
 		 */
22
-		$author_bio_avatar_size = apply_filters( 'twentyfifteen_author_bio_avatar_size', 56 );
22
+		$author_bio_avatar_size = apply_filters('twentyfifteen_author_bio_avatar_size', 56);
23 23
 
24
-		echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
24
+		echo get_avatar(get_the_author_meta('user_email'), $author_bio_avatar_size);
25 25
 		?>
26 26
 	</div><!-- .author-avatar -->
27 27
 
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
 		<h3 class="author-title"><?php echo get_the_author(); ?></h3>
30 30
 
31 31
 		<p class="author-bio">
32
-			<?php the_author_meta( 'description' ); ?>
33
-			<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
34
-				<?php printf( __( 'View all posts by %s', 'twentyfifteen' ), get_the_author() ); ?>
32
+			<?php the_author_meta('description'); ?>
33
+			<a class="author-link" href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>" rel="author">
34
+				<?php printf(__('View all posts by %s', 'twentyfifteen'), get_the_author()); ?>
35 35
 			</a>
36 36
 		</p><!-- .author-bio -->
37 37
 
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfifteen/content.php 2 patches
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@  discard block
 block discarded – undo
18 18
 
19 19
 	<header class="entry-header">
20 20
 		<?php
21
-			if ( is_single() ) :
22
-				the_title( '<h1 class="entry-title">', '</h1>' );
21
+			if (is_single()) :
22
+				the_title('<h1 class="entry-title">', '</h1>');
23 23
 			else :
24
-				the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
24
+				the_title(sprintf('<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h2>');
25 25
 			endif;
26 26
 		?>
27 27
 	</header><!-- .entry-header -->
@@ -29,32 +29,32 @@  discard block
 block discarded – undo
29 29
 	<div class="entry-content">
30 30
 		<?php
31 31
 			/* translators: %s: Name of current post */
32
-			the_content( sprintf(
33
-				__( 'Continue reading %s', 'twentyfifteen' ),
34
-				the_title( '<span class="screen-reader-text">', '</span>', false )
35
-			) );
32
+			the_content(sprintf(
33
+				__('Continue reading %s', 'twentyfifteen'),
34
+				the_title('<span class="screen-reader-text">', '</span>', false)
35
+			));
36 36
 
37
-			wp_link_pages( array(
38
-				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
37
+			wp_link_pages(array(
38
+				'before'      => '<div class="page-links"><span class="page-links-title">'.__('Pages:', 'twentyfifteen').'</span>',
39 39
 				'after'       => '</div>',
40 40
 				'link_before' => '<span>',
41 41
 				'link_after'  => '</span>',
42
-				'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
42
+				'pagelink'    => '<span class="screen-reader-text">'.__('Page', 'twentyfifteen').' </span>%',
43 43
 				'separator'   => '<span class="screen-reader-text">, </span>',
44
-			) );
44
+			));
45 45
 		?>
46 46
 	</div><!-- .entry-content -->
47 47
 
48 48
 	<?php
49 49
 		// Author bio.
50
-		if ( is_single() && get_the_author_meta( 'description' ) ) :
51
-			get_template_part( 'author-bio' );
50
+		if (is_single() && get_the_author_meta('description')) :
51
+			get_template_part('author-bio');
52 52
 		endif;
53 53
 	?>
54 54
 
55 55
 	<footer class="entry-footer">
56 56
 		<?php twentyfifteen_entry_meta(); ?>
57
-		<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
57
+		<?php edit_post_link(__('Edit', 'twentyfifteen'), '<span class="edit-link">', '</span>'); ?>
58 58
 	</footer><!-- .entry-footer -->
59 59
 
60 60
 </article><!-- #post-## -->
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,8 +20,10 @@
 block discarded – undo
20 20
 		<?php
21 21
 			if ( is_single() ) :
22 22
 				the_title( '<h1 class="entry-title">', '</h1>' );
23
-			else :
23
+			else {
24
+				:
24 25
 				the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
26
+			}
25 27
 			endif;
26 28
 		?>
27 29
 	</header><!-- .entry-header -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfifteen/comments.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -15,18 +15,18 @@  discard block
 block discarded – undo
15 15
  * the visitor has not yet entered the password we will
16 16
  * return early without loading the comments.
17 17
  */
18
-if ( post_password_required() ) {
18
+if (post_password_required()) {
19 19
 	return;
20 20
 }
21 21
 ?>
22 22
 
23 23
 <div id="comments" class="comments-area">
24 24
 
25
-	<?php if ( have_comments() ) : ?>
25
+	<?php if (have_comments()) : ?>
26 26
 		<h2 class="comments-title">
27 27
 			<?php
28
-				printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'twentyfifteen' ),
29
-					number_format_i18n( get_comments_number() ), get_the_title() );
28
+				printf(_nx('One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'twentyfifteen'),
29
+					number_format_i18n(get_comments_number()), get_the_title());
30 30
 			?>
31 31
 		</h2>
32 32
 
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
 
35 35
 		<ol class="comment-list">
36 36
 			<?php
37
-				wp_list_comments( array(
37
+				wp_list_comments(array(
38 38
 					'style'       => 'ol',
39 39
 					'short_ping'  => true,
40 40
 					'avatar_size' => 56,
41
-				) );
41
+				));
42 42
 			?>
43 43
 		</ol><!-- .comment-list -->
44 44
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 
49 49
 	<?php
50 50
 		// If comments are closed and there are comments, let's leave a little note, shall we?
51
-		if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
51
+		if ( ! comments_open() && get_comments_number() && post_type_supports(get_post_type(), 'comments')) :
52 52
 	?>
53
-		<p class="no-comments"><?php _e( 'Comments are closed.', 'twentyfifteen' ); ?></p>
53
+		<p class="no-comments"><?php _e('Comments are closed.', 'twentyfifteen'); ?></p>
54 54
 	<?php endif; ?>
55 55
 
56 56
 	<?php comment_form(); ?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyfifteen/content-none.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,23 +12,23 @@
 block discarded – undo
12 12
 
13 13
 <section class="no-results not-found">
14 14
 	<header class="page-header">
15
-		<h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfifteen' ); ?></h1>
15
+		<h1 class="page-title"><?php _e('Nothing Found', 'twentyfifteen'); ?></h1>
16 16
 	</header><!-- .page-header -->
17 17
 
18 18
 	<div class="page-content">
19 19
 
20
-		<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
20
+		<?php if (is_home() && current_user_can('publish_posts')) : ?>
21 21
 
22
-			<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
22
+			<p><?php printf(__('Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen'), esc_url(admin_url('post-new.php'))); ?></p>
23 23
 
24
-		<?php elseif ( is_search() ) : ?>
24
+		<?php elseif (is_search()) : ?>
25 25
 
26
-			<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen' ); ?></p>
26
+			<p><?php _e('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen'); ?></p>
27 27
 			<?php get_search_form(); ?>
28 28
 
29 29
 		<?php else : ?>
30 30
 
31
-			<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentyfifteen' ); ?></p>
31
+			<p><?php _e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentyfifteen'); ?></p>
32 32
 			<?php get_search_form(); ?>
33 33
 
34 34
 		<?php endif; ?>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,12 @@
 block discarded – undo
26 26
 			<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen' ); ?></p>
27 27
 			<?php get_search_form(); ?>
28 28
 
29
-		<?php else : ?>
29
+		<?php else {
30
+	: ?>
30 31
 
31
-			<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentyfifteen' ); ?></p>
32
+			<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentyfifteen' );
33
+}
34
+?></p>
32 35
 			<?php get_search_form(); ?>
33 36
 
34 37
 		<?php endif; ?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/content-quote.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -12,23 +12,23 @@
 block discarded – undo
12 12
 	<div class="entry-content">
13 13
 		<?php
14 14
 			/* translators: %s: Name of current post */
15
-			the_content( sprintf(
16
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
17
-				the_title( '<span class="screen-reader-text">', '</span>', false )
18
-			) );
15
+			the_content(sprintf(
16
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen'),
17
+				the_title('<span class="screen-reader-text">', '</span>', false)
18
+			));
19 19
 
20
-			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>' ) );
20
+			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>'));
21 21
 		?>
22 22
 	</div><!-- .entry-content -->
23 23
 
24 24
 	<footer class="entry-meta">
25 25
 		<?php twentythirteen_entry_meta(); ?>
26 26
 
27
-		<?php if ( comments_open() && ! is_single() ) : ?>
27
+		<?php if (comments_open() && ! is_single()) : ?>
28 28
 		<span class="comments-link">
29
-			<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
29
+			<?php comments_popup_link('<span class="leave-reply">'.__('Leave a comment', 'twentythirteen').'</span>', __('One comment so far', 'twentythirteen'), __('View all % comments', 'twentythirteen')); ?>
30 30
 		</span><!-- .comments-link -->
31 31
 		<?php endif; // comments_open() ?>
32
-		<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
32
+		<?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?>
33 33
 	</footer><!-- .entry-meta -->
34 34
 </article><!-- #post -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/content-audio.php 2 patches
Spacing   +9 added lines, -9 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">
@@ -23,22 +23,22 @@  discard block
 block discarded – undo
23 23
 		<div class="audio-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><!-- .audio-content -->
34 34
 	</div><!-- .entry-content -->
35 35
 
36 36
 	<footer class="entry-meta">
37 37
 		<?php twentythirteen_entry_meta(); ?>
38
-		<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
38
+		<?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?>
39 39
 
40
-		<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
41
-			<?php get_template_part( 'author-bio' ); ?>
40
+		<?php if (is_single() && get_the_author_meta('description') && is_multi_author()) : ?>
41
+			<?php get_template_part('author-bio'); ?>
42 42
 		<?php endif; ?>
43 43
 	</footer><!-- .entry-meta -->
44 44
 </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.
src/wp-content/themes/twentythirteen/image.php 2 patches
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,9 @@
 block discarded – undo
21 21
 						<?php
22 22
 							$published_text = __( '<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Return to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' );
23 23
 							$post_title = get_the_title( $post->post_parent );
24
-							if ( empty( $post_title ) || 0 == $post->post_parent )
25
-								$published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';
24
+							if ( empty( $post_title ) || 0 == $post->post_parent ) {
25
+															$published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';
26
+							}
26 27
 
27 28
 							printf( $published_text,
28 29
 								esc_attr( get_the_date( 'c' ) ),
Please login to merge, or discard this patch.
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -16,53 +16,53 @@  discard block
 block discarded – undo
16 16
 
17 17
 			<?php
18 18
 				// Start the Loop.
19
-				while ( have_posts() ) : the_post();
19
+				while (have_posts()) : the_post();
20 20
 			?>
21 21
 
22
-			<article id="post-<?php the_ID(); ?>" <?php post_class( 'image-attachment' ); ?>>
22
+			<article id="post-<?php the_ID(); ?>" <?php post_class('image-attachment'); ?>>
23 23
 				<header class="entry-header">
24 24
 					<h1 class="entry-title"><?php the_title(); ?></h1>
25 25
 
26 26
 					<div class="entry-meta">
27 27
 						<?php
28
-							$published_text = __( '<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Return to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' );
29
-							$post_title = get_the_title( $post->post_parent );
30
-							if ( empty( $post_title ) || 0 == $post->post_parent )
28
+							$published_text = __('<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Return to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen');
29
+							$post_title = get_the_title($post->post_parent);
30
+							if (empty($post_title) || 0 == $post->post_parent)
31 31
 								$published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';
32 32
 
33
-							printf( $published_text,
34
-								esc_attr( get_the_date( 'c' ) ),
35
-								esc_html( get_the_date() ),
36
-								esc_url( get_permalink( $post->post_parent ) ),
37
-								esc_attr( strip_tags( $post_title ) ),
33
+							printf($published_text,
34
+								esc_attr(get_the_date('c')),
35
+								esc_html(get_the_date()),
36
+								esc_url(get_permalink($post->post_parent)),
37
+								esc_attr(strip_tags($post_title)),
38 38
 								$post_title
39 39
 							);
40 40
 
41 41
 							$metadata = wp_get_attachment_metadata();
42
-							printf( '<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s &times; %5$s)</a></span>',
43
-								esc_url( wp_get_attachment_url() ),
44
-								esc_attr__( 'Link to full-size image', 'twentythirteen' ),
45
-								__( 'Full resolution', 'twentythirteen' ),
42
+							printf('<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s &times; %5$s)</a></span>',
43
+								esc_url(wp_get_attachment_url()),
44
+								esc_attr__('Link to full-size image', 'twentythirteen'),
45
+								__('Full resolution', 'twentythirteen'),
46 46
 								$metadata['width'],
47 47
 								$metadata['height']
48 48
 							);
49 49
 
50
-							edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' );
50
+							edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>');
51 51
 						?>
52 52
 					</div><!-- .entry-meta -->
53 53
 				</header><!-- .entry-header -->
54 54
 
55 55
 				<div class="entry-content">
56 56
 					<nav id="image-navigation" class="navigation image-navigation" role="navigation">
57
-						<span class="nav-previous"><?php previous_image_link( false, __( '<span class="meta-nav">&larr;</span> Previous', 'twentythirteen' ) ); ?></span>
58
-						<span class="nav-next"><?php next_image_link( false, __( 'Next <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?></span>
57
+						<span class="nav-previous"><?php previous_image_link(false, __('<span class="meta-nav">&larr;</span> Previous', 'twentythirteen')); ?></span>
58
+						<span class="nav-next"><?php next_image_link(false, __('Next <span class="meta-nav">&rarr;</span>', 'twentythirteen')); ?></span>
59 59
 					</nav><!-- #image-navigation -->
60 60
 
61 61
 					<div class="entry-attachment">
62 62
 						<div class="attachment">
63 63
 							<?php twentythirteen_the_attached_image(); ?>
64 64
 
65
-							<?php if ( has_excerpt() ) : ?>
65
+							<?php if (has_excerpt()) : ?>
66 66
 							<div class="entry-caption">
67 67
 								<?php the_excerpt(); ?>
68 68
 							</div>
@@ -70,10 +70,10 @@  discard block
 block discarded – undo
70 70
 						</div><!-- .attachment -->
71 71
 					</div><!-- .entry-attachment -->
72 72
 
73
-					<?php if ( ! empty( $post->post_content ) ) : ?>
73
+					<?php if ( ! empty($post->post_content)) : ?>
74 74
 					<div class="entry-description">
75 75
 						<?php the_content(); ?>
76
-						<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentythirteen' ), 'after' => '</div>' ) ); ?>
76
+						<?php wp_link_pages(array('before' => '<div class="page-links">'.__('Pages:', 'twentythirteen'), 'after' => '</div>')); ?>
77 77
 					</div><!-- .entry-description -->
78 78
 					<?php endif; ?>
79 79
 
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/content-gallery.php 2 patches
Spacing   +12 added lines, -12 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">
@@ -20,15 +20,15 @@  discard block
 block discarded – undo
20 20
 	</header><!-- .entry-header -->
21 21
 
22 22
 	<div class="entry-content">
23
-		<?php if ( is_single() || ! get_post_gallery() ) : ?>
23
+		<?php if (is_single() || ! get_post_gallery()) : ?>
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
 		<?php else : ?>
34 34
 			<?php echo get_post_gallery(); ?>
@@ -38,15 +38,15 @@  discard block
 block discarded – undo
38 38
 	<footer class="entry-meta">
39 39
 		<?php twentythirteen_entry_meta(); ?>
40 40
 
41
-		<?php if ( comments_open() && ! is_single() ) : ?>
41
+		<?php if (comments_open() && ! is_single()) : ?>
42 42
 		<span class="comments-link">
43
-			<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
43
+			<?php comments_popup_link('<span class="leave-reply">'.__('Leave a comment', 'twentythirteen').'</span>', __('One comment so far', 'twentythirteen'), __('View all % comments', 'twentythirteen')); ?>
44 44
 		</span><!-- .comments-link -->
45 45
 		<?php endif; // comments_open() ?>
46
-		<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
46
+		<?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?>
47 47
 
48
-		<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
49
-			<?php get_template_part( 'author-bio' ); ?>
48
+		<?php if (is_single() && get_the_author_meta('description') && is_multi_author()) : ?>
49
+			<?php get_template_part('author-bio'); ?>
50 50
 		<?php endif; ?>
51 51
 	</footer><!-- .entry-meta -->
52 52
 </article><!-- #post -->
Please login to merge, or discard this patch.
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,12 @@  discard block
 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 -->
@@ -30,8 +33,11 @@  discard block
 block discarded – undo
30 33
 
31 34
 			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 35
 		?>
33
-		<?php else : ?>
34
-			<?php echo get_post_gallery(); ?>
36
+		<?php else {
37
+	: ?>
38
+			<?php echo get_post_gallery();
39
+}
40
+?>
35 41
 		<?php endif; // is_single() ?>
36 42
 	</div><!-- .entry-content -->
37 43
 
Please login to merge, or discard this patch.