Completed
Push — master ( d488ab...6453e7 )
by Stephen
53:31
created
src/wp-content/themes/twentythirteen/404.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 		<div id="content" class="site-content" role="main">
14 14
 
15 15
 			<header class="page-header">
16
-				<h1 class="page-title"><?php _e( 'Not Found', 'twentythirteen' ); ?></h1>
16
+				<h1 class="page-title"><?php _e('Not Found', 'twentythirteen'); ?></h1>
17 17
 			</header>
18 18
 
19 19
 			<div class="page-wrapper">
20 20
 				<div class="page-content">
21
-					<h2><?php _e( 'This is somewhat embarrassing, isn&rsquo;t it?', 'twentythirteen' ); ?></h2>
22
-					<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentythirteen' ); ?></p>
21
+					<h2><?php _e('This is somewhat embarrassing, isn&rsquo;t it?', 'twentythirteen'); ?></h2>
22
+					<p><?php _e('It looks like nothing was found at this location. Maybe try a search?', 'twentythirteen'); ?></p>
23 23
 
24 24
 					<?php get_search_form(); ?>
25 25
 				</div><!-- .page-content -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/author-bio.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,16 +18,16 @@
 block discarded – undo
18 18
 		 *
19 19
 		 * @param int $size The avatar height and width size in pixels.
20 20
 		 */
21
-		$author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 );
22
-		echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
21
+		$author_bio_avatar_size = apply_filters('twentythirteen_author_bio_avatar_size', 74);
22
+		echo get_avatar(get_the_author_meta('user_email'), $author_bio_avatar_size);
23 23
 		?>
24 24
 	</div><!-- .author-avatar -->
25 25
 	<div class="author-description">
26
-		<h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2>
26
+		<h2 class="author-title"><?php printf(__('About %s', 'twentythirteen'), get_the_author()); ?></h2>
27 27
 		<p class="author-bio">
28
-			<?php the_author_meta( 'description' ); ?>
29
-			<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
30
-				<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), get_the_author() ); ?>
28
+			<?php the_author_meta('description'); ?>
29
+			<a class="author-link" href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>" rel="author">
30
+				<?php printf(__('View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentythirteen'), get_the_author()); ?>
31 31
 			</a>
32 32
 		</p>
33 33
 	</div><!-- .author-description -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/content.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 default template for displaying content
4
- *
5
- * Used for both single and index/archive/search.
6
- *
7
- * @package WordPress
8
- * @subpackage Twenty_Thirteen
9
- * @since Twenty Thirteen 1.0
10
- */
3
+		 * The default template for displaying content
4
+		 *
5
+		 * Used for both single and index/archive/search.
6
+		 *
7
+		 * @package WordPress
8
+		 * @subpackage Twenty_Thirteen
9
+		 * @since Twenty Thirteen 1.0
10
+		 */
11 11
 ?>
12 12
 
13 13
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -12,13 +12,13 @@  discard block
 block discarded – undo
12 12
 
13 13
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
14 14
 	<header class="entry-header">
15
-		<?php if ( has_post_thumbnail() && ! post_password_required() && ! is_attachment() ) : ?>
15
+		<?php if (has_post_thumbnail() && ! post_password_required() && ! is_attachment()) : ?>
16 16
 		<div class="entry-thumbnail">
17 17
 			<?php the_post_thumbnail(); ?>
18 18
 		</div>
19 19
 		<?php endif; ?>
20 20
 
21
-		<?php if ( is_single() ) : ?>
21
+		<?php if (is_single()) : ?>
22 22
 		<h1 class="entry-title"><?php the_title(); ?></h1>
23 23
 		<?php else : ?>
24 24
 		<h1 class="entry-title">
@@ -28,11 +28,11 @@  discard block
 block discarded – undo
28 28
 
29 29
 		<div class="entry-meta">
30 30
 			<?php twentythirteen_entry_meta(); ?>
31
-			<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
31
+			<?php edit_post_link(__('Edit', 'twentythirteen'), '<span class="edit-link">', '</span>'); ?>
32 32
 		</div><!-- .entry-meta -->
33 33
 	</header><!-- .entry-header -->
34 34
 
35
-	<?php if ( is_search() ) : // Only display Excerpts for Search ?>
35
+	<?php if (is_search()) : // Only display Excerpts for Search ?>
36 36
 	<div class="entry-summary">
37 37
 		<?php the_excerpt(); ?>
38 38
 	</div><!-- .entry-summary -->
@@ -40,25 +40,25 @@  discard block
 block discarded – undo
40 40
 	<div class="entry-content">
41 41
 		<?php
42 42
 			/* translators: %s: Name of current post */
43
-			the_content( sprintf(
44
-				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
45
-				the_title( '<span class="screen-reader-text">', '</span>', false )
46
-			) );
43
+			the_content(sprintf(
44
+				__('Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen'),
45
+				the_title('<span class="screen-reader-text">', '</span>', false)
46
+			));
47 47
 
48
-			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>' ) );
48
+			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>'));
49 49
 		?>
50 50
 	</div><!-- .entry-content -->
51 51
 	<?php endif; ?>
52 52
 
53 53
 	<footer class="entry-meta">
54
-		<?php if ( comments_open() && ! is_single() ) : ?>
54
+		<?php if (comments_open() && ! is_single()) : ?>
55 55
 			<div class="comments-link">
56
-				<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
56
+				<?php comments_popup_link('<span class="leave-reply">'.__('Leave a comment', 'twentythirteen').'</span>', __('One comment so far', 'twentythirteen'), __('View all % comments', 'twentythirteen')); ?>
57 57
 			</div><!-- .comments-link -->
58 58
 		<?php endif; // comments_open() ?>
59 59
 
60
-		<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
61
-			<?php get_template_part( 'author-bio' ); ?>
60
+		<?php if (is_single() && get_the_author_meta('description') && is_multi_author()) : ?>
61
+			<?php get_template_part('author-bio'); ?>
62 62
 		<?php endif; ?>
63 63
 	</footer><!-- .entry-meta -->
64 64
 </article><!-- #post -->
Please login to merge, or discard this patch.
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,9 +20,12 @@  discard block
 block discarded – undo
20 20
 
21 21
 		<?php if ( is_single() ) : ?>
22 22
 		<h1 class="entry-title"><?php the_title(); ?></h1>
23
-		<?php else : ?>
23
+		<?php else {
24
+	: ?>
24 25
 		<h1 class="entry-title">
25
-			<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
26
+			<a href="<?php the_permalink();
27
+}
28
+?>" rel="bookmark"><?php the_title(); ?></a>
26 29
 		</h1>
27 30
 		<?php endif; // is_single() ?>
28 31
 
@@ -36,7 +39,8 @@  discard block
 block discarded – undo
36 39
 	<div class="entry-summary">
37 40
 		<?php the_excerpt(); ?>
38 41
 	</div><!-- .entry-summary -->
39
-	<?php else : ?>
42
+	<?php else {
43
+	: ?>
40 44
 	<div class="entry-content">
41 45
 		<?php
42 46
 			/* translators: %s: Name of current post */
@@ -44,6 +48,7 @@  discard block
 block discarded – undo
44 48
 				__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
45 49
 				the_title( '<span class="screen-reader-text">', '</span>', false )
46 50
 			) );
51
+}
47 52
 
48 53
 			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>' ) );
49 54
 		?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/comments.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 Comments
4
- *
5
- * The area of the page that contains comments and the comment form.
6
- *
7
- * @package WordPress
8
- * @subpackage Twenty_Thirteen
9
- * @since Twenty Thirteen 1.0
10
- */
3
+		 * The template for displaying Comments
4
+		 *
5
+		 * The area of the page that contains comments and the comment form.
6
+		 *
7
+		 * @package WordPress
8
+		 * @subpackage Twenty_Thirteen
9
+		 * @since Twenty Thirteen 1.0
10
+		 */
11 11
 
12 12
 /*
13 13
  * If the current post is protected by a password and the visitor has not yet
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -13,43 +13,43 @@
 block discarded – undo
13 13
  * If the current post is protected by a password and the visitor has not yet
14 14
  * entered the password we will return early without loading the comments.
15 15
  */
16
-if ( post_password_required() )
16
+if (post_password_required())
17 17
 	return;
18 18
 ?>
19 19
 
20 20
 <div id="comments" class="comments-area">
21 21
 
22
-	<?php if ( have_comments() ) : ?>
22
+	<?php if (have_comments()) : ?>
23 23
 		<h2 class="comments-title">
24 24
 			<?php
25
-				printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'twentythirteen' ),
26
-					number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
25
+				printf(_nx('One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'twentythirteen'),
26
+					number_format_i18n(get_comments_number()), '<span>'.get_the_title().'</span>');
27 27
 			?>
28 28
 		</h2>
29 29
 
30 30
 		<ol class="comment-list">
31 31
 			<?php
32
-				wp_list_comments( array(
32
+				wp_list_comments(array(
33 33
 					'style'       => 'ol',
34 34
 					'short_ping'  => true,
35 35
 					'avatar_size' => 74,
36
-				) );
36
+				));
37 37
 			?>
38 38
 		</ol><!-- .comment-list -->
39 39
 
40 40
 		<?php
41 41
 			// Are there comments to navigate through?
42
-			if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) :
42
+			if (get_comment_pages_count() > 1 && get_option('page_comments')) :
43 43
 		?>
44 44
 		<nav class="navigation comment-navigation" role="navigation">
45
-			<h1 class="screen-reader-text section-heading"><?php _e( 'Comment navigation', 'twentythirteen' ); ?></h1>
46
-			<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentythirteen' ) ); ?></div>
47
-			<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentythirteen' ) ); ?></div>
45
+			<h1 class="screen-reader-text section-heading"><?php _e('Comment navigation', 'twentythirteen'); ?></h1>
46
+			<div class="nav-previous"><?php previous_comments_link(__('&larr; Older Comments', 'twentythirteen')); ?></div>
47
+			<div class="nav-next"><?php next_comments_link(__('Newer Comments &rarr;', 'twentythirteen')); ?></div>
48 48
 		</nav><!-- .comment-navigation -->
49 49
 		<?php endif; // Check for comment navigation ?>
50 50
 
51
-		<?php if ( ! comments_open() && get_comments_number() ) : ?>
52
-		<p class="no-comments"><?php _e( 'Comments are closed.' , 'twentythirteen' ); ?></p>
51
+		<?php if ( ! comments_open() && get_comments_number()) : ?>
52
+		<p class="no-comments"><?php _e('Comments are closed.', 'twentythirteen'); ?></p>
53 53
 		<?php endif; ?>
54 54
 
55 55
 	<?php endif; // have_comments() ?>
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,9 @@
 block discarded – undo
13 13
  * If the current post is protected by a password and the visitor has not yet
14 14
  * entered the password we will return early without loading the comments.
15 15
  */
16
-if ( post_password_required() )
16
+if ( post_password_required() ) {
17 17
 	return;
18
+}
18 19
 ?>
19 20
 
20 21
 <div id="comments" class="comments-area">
Please login to merge, or discard this patch.
src/wp-content/themes/twentythirteen/content-none.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 a "No posts found" message
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Thirteen
7
- * @since Twenty Thirteen 1.0
8
- */
3
+		 * The template for displaying a "No posts found" message
4
+		 *
5
+		 * @package WordPress
6
+		 * @subpackage Twenty_Thirteen
7
+		 * @since Twenty Thirteen 1.0
8
+		 */
9 9
 ?>
10 10
 
11 11
 <header class="page-header">
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,22 +9,22 @@
 block discarded – undo
9 9
 ?>
10 10
 
11 11
 <header class="page-header">
12
-	<h1 class="page-title"><?php _e( 'Nothing Found', 'twentythirteen' ); ?></h1>
12
+	<h1 class="page-title"><?php _e('Nothing Found', 'twentythirteen'); ?></h1>
13 13
 </header>
14 14
 
15 15
 <div class="page-content">
16
-	<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
16
+	<?php if (is_home() && current_user_can('publish_posts')) : ?>
17 17
 
18
-	<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentythirteen' ), admin_url( 'post-new.php' ) ); ?></p>
18
+	<p><?php printf(__('Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentythirteen'), admin_url('post-new.php')); ?></p>
19 19
 
20
-	<?php elseif ( is_search() ) : ?>
20
+	<?php elseif (is_search()) : ?>
21 21
 
22
-	<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen' ); ?></p>
22
+	<p><?php _e('Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen'); ?></p>
23 23
 	<?php get_search_form(); ?>
24 24
 
25 25
 	<?php else : ?>
26 26
 
27
-	<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentythirteen' ); ?></p>
27
+	<p><?php _e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentythirteen'); ?></p>
28 28
 	<?php get_search_form(); ?>
29 29
 
30 30
 	<?php endif; ?>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,9 +22,12 @@
 block discarded – undo
22 22
 	<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen' ); ?></p>
23 23
 	<?php get_search_form(); ?>
24 24
 
25
-	<?php else : ?>
25
+	<?php else {
26
+	: ?>
26 27
 
27
-	<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentythirteen' ); ?></p>
28
+	<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentythirteen' );
29
+}
30
+?></p>
28 31
 	<?php get_search_form(); ?>
29 32
 
30 33
 	<?php endif; ?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyten/footer.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template for displaying the footer
4
- *
5
- * Contains the closing of the id=main div and all content
6
- * after. Calls sidebar-footer.php for bottom widgets.
7
- *
8
- * @package WordPress
9
- * @subpackage Twenty_Ten
10
- * @since Twenty Ten 1.0
11
- */
3
+		 * Template for displaying the footer
4
+		 *
5
+		 * Contains the closing of the id=main div and all content
6
+		 * after. Calls sidebar-footer.php for bottom widgets.
7
+		 *
8
+		 * @package WordPress
9
+		 * @subpackage Twenty_Ten
10
+		 * @since Twenty Ten 1.0
11
+		 */
12 12
 ?>
13 13
 	</div><!-- #main -->
14 14
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
 	 * A sidebar in the footer? Yep. You can can customize
21 21
 	 * your footer with four columns of widgets.
22 22
 	 */
23
-	get_sidebar( 'footer' );
23
+	get_sidebar('footer');
24 24
 ?>
25 25
 
26 26
 			<div id="site-info">
27
-				<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
28
-					<?php bloginfo( 'name' ); ?>
27
+				<a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home">
28
+					<?php bloginfo('name'); ?>
29 29
 				</a>
30 30
 			</div><!-- #site-info -->
31 31
 
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
 				 *
37 37
 				 * @since Twenty Ten 1.0
38 38
 				 */
39
-				do_action( 'twentyten_credits' ); ?>
40
-				<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>"><?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?></a>
39
+				do_action('twentyten_credits'); ?>
40
+				<a href="<?php echo esc_url(__('https://wordpress.org/', 'twentyten')); ?>" title="<?php esc_attr_e('Semantic Personal Publishing Platform', 'twentyten'); ?>"><?php printf(__('Proudly powered by %s.', 'twentyten'), 'WordPress'); ?></a>
41 41
 			</div><!-- #site-generator -->
42 42
 
43 43
 		</div><!-- #colophon -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentyten/header.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
- * Header template for our theme
4
- *
5
- * Displays all of the <head> section and everything up till <div id="main">.
6
- *
7
- * @package WordPress
8
- * @subpackage Twenty_Ten
9
- * @since Twenty Ten 1.0
10
- */
3
+	 * Header template for our theme
4
+	 *
5
+	 * Displays all of the <head> section and everything up till <div id="main">.
6
+	 *
7
+	 * @package WordPress
8
+	 * @subpackage Twenty_Ten
9
+	 * @since Twenty Ten 1.0
10
+	 */
11 11
 ?><!DOCTYPE html>
12 12
 <html <?php language_attributes(); ?>>
13 13
 <head>
Please login to merge, or discard this patch.
Spacing   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -11,38 +11,38 @@  discard block
 block discarded – undo
11 11
 ?><!DOCTYPE html>
12 12
 <html <?php language_attributes(); ?>>
13 13
 <head>
14
-<meta charset="<?php bloginfo( 'charset' ); ?>" />
14
+<meta charset="<?php bloginfo('charset'); ?>" />
15 15
 <title><?php
16 16
 	/*
17 17
 	 * Print the <title> tag based on what is being viewed.
18 18
 	 */
19 19
 	global $page, $paged;
20 20
 
21
-	wp_title( '|', true, 'right' );
21
+	wp_title('|', true, 'right');
22 22
 
23 23
 	// Add the blog name.
24
-	bloginfo( 'name' );
24
+	bloginfo('name');
25 25
 
26 26
 	// Add the blog description for the home/front page.
27
-	$site_description = get_bloginfo( 'description', 'display' );
28
-	if ( $site_description && ( is_home() || is_front_page() ) )
27
+	$site_description = get_bloginfo('description', 'display');
28
+	if ($site_description && (is_home() || is_front_page()))
29 29
 		echo " | $site_description";
30 30
 
31 31
 	// Add a page number if necessary:
32
-	if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() )
33
-		echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) ) );
32
+	if (($paged >= 2 || $page >= 2) && ! is_404())
33
+		echo esc_html(' | '.sprintf(__('Page %s', 'twentyten'), max($paged, $page)));
34 34
 
35 35
 	?></title>
36 36
 <link rel="profile" href="http://gmpg.org/xfn/11" />
37
-<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
38
-<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
37
+<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
38
+<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
39 39
 <?php
40 40
 	/*
41 41
 	 * We add some JavaScript to pages with the comment form
42 42
 	 * to support sites with threaded comments (when in use).
43 43
 	 */
44
-	if ( is_singular() && get_option( 'thread_comments' ) )
45
-		wp_enqueue_script( 'comment-reply' );
44
+	if (is_singular() && get_option('thread_comments'))
45
+		wp_enqueue_script('comment-reply');
46 46
 
47 47
 	/*
48 48
 	 * Always have wp_head() just before the closing </head>
@@ -59,36 +59,36 @@  discard block
 block discarded – undo
59 59
 	<div id="header">
60 60
 		<div id="masthead">
61 61
 			<div id="branding" role="banner">
62
-				<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
62
+				<?php $heading_tag = (is_home() || is_front_page()) ? 'h1' : 'div'; ?>
63 63
 				<<?php echo $heading_tag; ?> id="site-title">
64 64
 					<span>
65
-						<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
65
+						<a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a>
66 66
 					</span>
67 67
 				</<?php echo $heading_tag; ?>>
68
-				<div id="site-description"><?php bloginfo( 'description' ); ?></div>
68
+				<div id="site-description"><?php bloginfo('description'); ?></div>
69 69
 
70 70
 				<?php
71 71
 					// Compatibility with versions of WordPress prior to 3.4.
72
-					if ( function_exists( 'get_custom_header' ) ) {
72
+					if (function_exists('get_custom_header')) {
73 73
 						/*
74 74
 						 * We need to figure out what the minimum width should be for our featured image.
75 75
 						 * This result would be the suggested width if the theme were to implement flexible widths.
76 76
 						 */
77
-						$header_image_width = get_theme_support( 'custom-header', 'width' );
77
+						$header_image_width = get_theme_support('custom-header', 'width');
78 78
 					} else {
79 79
 						$header_image_width = HEADER_IMAGE_WIDTH;
80 80
 					}
81 81
 
82 82
 					// Check if this is a post or page, if it has a thumbnail, and if it's a big one
83
-					if ( is_singular() && current_theme_supports( 'post-thumbnails' ) &&
84
-							has_post_thumbnail( $post->ID ) &&
85
-							( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
86
-							$image[1] >= $header_image_width ) :
83
+					if (is_singular() && current_theme_supports('post-thumbnails') &&
84
+							has_post_thumbnail($post->ID) &&
85
+							( /* $src, $width, $height */ $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'post-thumbnail') ) &&
86
+							$image[1] >= $header_image_width) :
87 87
 						// Houston, we have a new header image!
88
-						echo get_the_post_thumbnail( $post->ID );
89
-					elseif ( get_header_image() ) :
88
+						echo get_the_post_thumbnail($post->ID);
89
+					elseif (get_header_image()) :
90 90
 						// Compatibility with versions of WordPress prior to 3.4.
91
-						if ( function_exists( 'get_custom_header' ) ) {
91
+						if (function_exists('get_custom_header')) {
92 92
 							$header_image_width  = get_custom_header()->width;
93 93
 							$header_image_height = get_custom_header()->height;
94 94
 						} else {
@@ -96,15 +96,15 @@  discard block
 block discarded – undo
96 96
 							$header_image_height = HEADER_IMAGE_HEIGHT;
97 97
 						}
98 98
 					?>
99
-						<img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="" />
99
+						<img src="<?php header_image(); ?>" width="<?php echo esc_attr($header_image_width); ?>" height="<?php echo esc_attr($header_image_height); ?>" alt="" />
100 100
 					<?php endif; ?>
101 101
 			</div><!-- #branding -->
102 102
 
103 103
 			<div id="access" role="navigation">
104 104
 			  <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
105
-				<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
105
+				<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e('Skip to content', 'twentyten'); ?>"><?php _e('Skip to content', 'twentyten'); ?></a></div>
106 106
 				<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
107
-				<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
107
+				<?php wp_nav_menu(array('container_class' => 'menu-header', 'theme_location' => 'primary')); ?>
108 108
 			</div><!-- #access -->
109 109
 		</div><!-- #masthead -->
110 110
 	</div><!-- #header -->
Please login to merge, or discard this patch.
Braces   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,12 +25,14 @@  discard block
 block discarded – undo
25 25
 
26 26
 	// Add the blog description for the home/front page.
27 27
 	$site_description = get_bloginfo( 'description', 'display' );
28
-	if ( $site_description && ( is_home() || is_front_page() ) )
29
-		echo " | $site_description";
28
+	if ( $site_description && ( is_home() || is_front_page() ) ) {
29
+			echo " | $site_description";
30
+	}
30 31
 
31 32
 	// Add a page number if necessary:
32
-	if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() )
33
-		echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) ) );
33
+	if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
34
+			echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) ) );
35
+	}
34 36
 
35 37
 	?></title>
36 38
 <link rel="profile" href="http://gmpg.org/xfn/11" />
@@ -41,8 +43,9 @@  discard block
 block discarded – undo
41 43
 	 * We add some JavaScript to pages with the comment form
42 44
 	 * to support sites with threaded comments (when in use).
43 45
 	 */
44
-	if ( is_singular() && get_option( 'thread_comments' ) )
45
-		wp_enqueue_script( 'comment-reply' );
46
+	if ( is_singular() && get_option( 'thread_comments' ) ) {
47
+			wp_enqueue_script( 'comment-reply' );
48
+	}
46 49
 
47 50
 	/*
48 51
 	 * Always have wp_head() just before the closing </head>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyten/loop-attachment.php 3 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,18 +1,18 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The loop that displays an attachment
4
- *
5
- * The loop displays the posts and the post content. See
6
- * https://codex.wordpress.org/The_Loop to understand it and
7
- * https://codex.wordpress.org/Template_Tags to understand
8
- * the tags used in it.
9
- *
10
- * This can be overridden in child themes with loop-attachment.php.
11
- *
12
- * @package WordPress
13
- * @subpackage Twenty_Ten
14
- * @since Twenty Ten 1.2
15
- */
3
+					 * The loop that displays an attachment
4
+					 *
5
+					 * The loop displays the posts and the post content. See
6
+					 * https://codex.wordpress.org/The_Loop to understand it and
7
+					 * https://codex.wordpress.org/Template_Tags to understand
8
+					 * the tags used in it.
9
+					 *
10
+					 * This can be overridden in child themes with loop-attachment.php.
11
+					 *
12
+					 * @package WordPress
13
+					 * @subpackage Twenty_Ten
14
+					 * @since Twenty Ten 1.2
15
+					 */
16 16
 ?>
17 17
 
18 18
 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
Please login to merge, or discard this patch.
Spacing   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
  */
16 16
 ?>
17 17
 
18
-<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
18
+<?php if (have_posts()) while (have_posts()) : the_post(); ?>
19 19
 
20
-				<?php if ( ! empty( $post->post_parent ) ) : ?>
21
-					<p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) ) ); ?>" rel="gallery"><?php
20
+				<?php if ( ! empty($post->post_parent)) : ?>
21
+					<p class="page-title"><a href="<?php echo esc_url(get_permalink($post->post_parent)); ?>" title="<?php echo esc_attr(sprintf(__('Return to %s', 'twentyten'), strip_tags(get_the_title($post->post_parent)))); ?>" rel="gallery"><?php
22 22
 						/* translators: %s - title of parent post */
23
-						printf( __( '<span class="meta-nav">&larr;</span> %s', 'twentyten' ), get_the_title( $post->post_parent ) );
23
+						printf(__('<span class="meta-nav">&larr;</span> %s', 'twentyten'), get_the_title($post->post_parent));
24 24
 					?></a></p>
25 25
 				<?php endif; ?>
26 26
 
@@ -29,64 +29,64 @@  discard block
 block discarded – undo
29 29
 
30 30
 					<div class="entry-meta">
31 31
 						<?php
32
-							printf( __( '<span class="%1$s">By</span> %2$s', 'twentyten' ),
32
+							printf(__('<span class="%1$s">By</span> %2$s', 'twentyten'),
33 33
 								'meta-prep meta-prep-author',
34
-								sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>',
35
-									get_author_posts_url( get_the_author_meta( 'ID' ) ),
36
-									esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ),
34
+								sprintf('<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>',
35
+									get_author_posts_url(get_the_author_meta('ID')),
36
+									esc_attr(sprintf(__('View all posts by %s', 'twentyten'), get_the_author())),
37 37
 									get_the_author()
38 38
 								)
39 39
 							);
40 40
 						?>
41 41
 						<span class="meta-sep">|</span>
42 42
 						<?php
43
-							printf( __( '<span class="%1$s">Published</span> %2$s', 'twentyten' ),
43
+							printf(__('<span class="%1$s">Published</span> %2$s', 'twentyten'),
44 44
 								'meta-prep meta-prep-entry-date',
45
-								sprintf( '<span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span>',
46
-									esc_attr( get_the_time() ),
45
+								sprintf('<span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span>',
46
+									esc_attr(get_the_time()),
47 47
 									get_the_date()
48 48
 								)
49 49
 							);
50
-							if ( wp_attachment_is_image() ) {
50
+							if (wp_attachment_is_image()) {
51 51
 								echo ' <span class="meta-sep">|</span> ';
52 52
 								$metadata = wp_get_attachment_metadata();
53
-								printf( __( 'Full size is %s pixels', 'twentyten' ),
54
-									sprintf( '<a href="%1$s" title="%2$s">%3$s &times; %4$s</a>',
55
-										esc_url( wp_get_attachment_url() ),
56
-										esc_attr( __( 'Link to full-size image', 'twentyten' ) ),
53
+								printf(__('Full size is %s pixels', 'twentyten'),
54
+									sprintf('<a href="%1$s" title="%2$s">%3$s &times; %4$s</a>',
55
+										esc_url(wp_get_attachment_url()),
56
+										esc_attr(__('Link to full-size image', 'twentyten')),
57 57
 										$metadata['width'],
58 58
 										$metadata['height']
59 59
 									)
60 60
 								);
61 61
 							}
62 62
 						?>
63
-						<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
63
+						<?php edit_post_link(__('Edit', 'twentyten'), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?>
64 64
 					</div><!-- .entry-meta -->
65 65
 
66 66
 					<div class="entry-content">
67 67
 						<div class="entry-attachment">
68
-<?php if ( wp_attachment_is_image() ) :
69
-	$attachments = array_values( get_children( array( 'post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) );
70
-	foreach ( $attachments as $k => $attachment ) {
71
-		if ( $attachment->ID == $post->ID )
68
+<?php if (wp_attachment_is_image()) :
69
+	$attachments = array_values(get_children(array('post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID')));
70
+	foreach ($attachments as $k => $attachment) {
71
+		if ($attachment->ID == $post->ID)
72 72
 			break;
73 73
 	}
74 74
 
75 75
 	// If there is more than 1 image attachment in a gallery
76
-	if ( count( $attachments ) > 1 ) {
76
+	if (count($attachments) > 1) {
77 77
 		$k++;
78
-		if ( isset( $attachments[ $k ] ) )
78
+		if (isset($attachments[$k]))
79 79
 			// get the URL of the next image attachment
80
-			$next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
80
+			$next_attachment_url = get_attachment_link($attachments[$k]->ID);
81 81
 		else
82 82
 			// or get the URL of the first image attachment
83
-			$next_attachment_url = get_attachment_link( $attachments[0]->ID );
83
+			$next_attachment_url = get_attachment_link($attachments[0]->ID);
84 84
 	} else {
85 85
 		// or, if there's only 1 image attachment, get the URL of the image
86 86
 		$next_attachment_url = wp_get_attachment_url();
87 87
 	}
88 88
 ?>
89
-						<p class="attachment"><a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php
89
+						<p class="attachment"><a href="<?php echo esc_url($next_attachment_url); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php
90 90
 							/**
91 91
 							 * Filter the Twenty Ten default attachment width.
92 92
 							 *
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 							 *
95 95
 							 * @param int The default attachment width in pixels. Default 900.
96 96
 							 */
97
-							$attachment_width  = apply_filters( 'twentyten_attachment_size', 900 );
97
+							$attachment_width = apply_filters('twentyten_attachment_size', 900);
98 98
 							/**
99 99
 							 * Filter the Twenty Ten default attachment height.
100 100
 							 *
@@ -102,28 +102,28 @@  discard block
 block discarded – undo
102 102
 							 *
103 103
 							 * @param int The default attachment height in pixels. Default 900.
104 104
 							 */
105
-							$attachment_height = apply_filters( 'twentyten_attachment_height', 900 );
106
-							echo wp_get_attachment_image( $post->ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height.
105
+							$attachment_height = apply_filters('twentyten_attachment_height', 900);
106
+							echo wp_get_attachment_image($post->ID, array($attachment_width, $attachment_height)); // filterable image width with, essentially, no limit for image height.
107 107
 						?></a></p>
108 108
 
109 109
 						<div id="nav-below" class="navigation">
110
-							<div class="nav-previous"><?php previous_image_link( false ); ?></div>
111
-							<div class="nav-next"><?php next_image_link( false ); ?></div>
110
+							<div class="nav-previous"><?php previous_image_link(false); ?></div>
111
+							<div class="nav-next"><?php next_image_link(false); ?></div>
112 112
 						</div><!-- #nav-below -->
113 113
 <?php else : ?>
114
-						<a href="<?php echo esc_url( wp_get_attachment_url() ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php echo esc_html( basename( get_permalink() ) ); ?></a>
114
+						<a href="<?php echo esc_url(wp_get_attachment_url()); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php echo esc_html(basename(get_permalink())); ?></a>
115 115
 <?php endif; ?>
116 116
 						</div><!-- .entry-attachment -->
117
-						<div class="entry-caption"><?php if ( ! empty( $post->post_excerpt ) ) the_excerpt(); ?></div>
117
+						<div class="entry-caption"><?php if ( ! empty($post->post_excerpt)) the_excerpt(); ?></div>
118 118
 
119
-<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
120
-<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
119
+<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten')); ?>
120
+<?php wp_link_pages(array('before' => '<div class="page-link">'.__('Pages:', 'twentyten'), 'after' => '</div>')); ?>
121 121
 
122 122
 					</div><!-- .entry-content -->
123 123
 
124 124
 					<div class="entry-utility">
125 125
 						<?php twentyten_posted_in(); ?>
126
-						<?php edit_post_link( __( 'Edit', 'twentyten' ), ' <span class="edit-link">', '</span>' ); ?>
126
+						<?php edit_post_link(__('Edit', 'twentyten'), ' <span class="edit-link">', '</span>'); ?>
127 127
 					</div><!-- .entry-utility -->
128 128
 				</div><!-- #post-## -->
129 129
 
Please login to merge, or discard this patch.
Braces   +21 added lines, -10 removed lines patch added patch discarded remove patch
@@ -15,7 +15,10 @@  discard block
 block discarded – undo
15 15
  */
16 16
 ?>
17 17
 
18
-<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
18
+<?php if ( have_posts() ) {
19
+	while ( have_posts() ) : the_post();
20
+}
21
+?>
19 22
 
20 23
 				<?php if ( ! empty( $post->post_parent ) ) : ?>
21 24
 					<p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) ) ); ?>" rel="gallery"><?php
@@ -68,19 +71,21 @@  discard block
 block discarded – undo
68 71
 <?php if ( wp_attachment_is_image() ) :
69 72
 	$attachments = array_values( get_children( array( 'post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) );
70 73
 	foreach ( $attachments as $k => $attachment ) {
71
-		if ( $attachment->ID == $post->ID )
72
-			break;
74
+		if ( $attachment->ID == $post->ID ) {
75
+					break;
76
+		}
73 77
 	}
74 78
 
75 79
 	// If there is more than 1 image attachment in a gallery
76 80
 	if ( count( $attachments ) > 1 ) {
77 81
 		$k++;
78
-		if ( isset( $attachments[ $k ] ) )
79
-			// get the URL of the next image attachment
82
+		if ( isset( $attachments[ $k ] ) ) {
83
+					// get the URL of the next image attachment
80 84
 			$next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
81
-		else
82
-			// or get the URL of the first image attachment
85
+		} else {
86
+					// or get the URL of the first image attachment
83 87
 			$next_attachment_url = get_attachment_link( $attachments[0]->ID );
88
+		}
84 89
 	} else {
85 90
 		// or, if there's only 1 image attachment, get the URL of the image
86 91
 		$next_attachment_url = wp_get_attachment_url();
@@ -110,11 +115,17 @@  discard block
 block discarded – undo
110 115
 							<div class="nav-previous"><?php previous_image_link( false ); ?></div>
111 116
 							<div class="nav-next"><?php next_image_link( false ); ?></div>
112 117
 						</div><!-- #nav-below -->
113
-<?php else : ?>
114
-						<a href="<?php echo esc_url( wp_get_attachment_url() ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php echo esc_html( basename( get_permalink() ) ); ?></a>
118
+<?php else {
119
+	: ?>
120
+						<a href="<?php echo esc_url( wp_get_attachment_url() );
121
+}
122
+?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php echo esc_html( basename( get_permalink() ) ); ?></a>
115 123
 <?php endif; ?>
116 124
 						</div><!-- .entry-attachment -->
117
-						<div class="entry-caption"><?php if ( ! empty( $post->post_excerpt ) ) the_excerpt(); ?></div>
125
+						<div class="entry-caption"><?php if ( ! empty( $post->post_excerpt ) ) {
126
+	the_excerpt();
127
+}
128
+?></div>
118 129
 
119 130
 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
120 131
 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyten/sidebar.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
- * Sidebar template containing the primary and secondary widget areas
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Ten
7
- * @since Twenty Ten 1.0
8
- */
3
+						 * Sidebar template containing the primary and secondary widget areas
4
+						 *
5
+						 * @package WordPress
6
+						 * @subpackage Twenty_Ten
7
+						 * @since Twenty Ten 1.0
8
+						 */
9 9
 ?>
10 10
 
11 11
 		<div id="primary" class="widget-area" role="complementary">
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,21 +18,21 @@  discard block
 block discarded – undo
18 18
 	 * then the sidebar simply doesn't exist, so we'll hard-code in
19 19
 	 * some default sidebar stuff just in case.
20 20
 	 */
21
-	if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
21
+	if ( ! dynamic_sidebar('primary-widget-area')) : ?>
22 22
 
23 23
 			<li id="search" class="widget-container widget_search">
24 24
 				<?php get_search_form(); ?>
25 25
 			</li>
26 26
 
27 27
 			<li id="archives" class="widget-container">
28
-				<h3 class="widget-title"><?php _e( 'Archives', 'twentyten' ); ?></h3>
28
+				<h3 class="widget-title"><?php _e('Archives', 'twentyten'); ?></h3>
29 29
 				<ul>
30
-					<?php wp_get_archives( 'type=monthly' ); ?>
30
+					<?php wp_get_archives('type=monthly'); ?>
31 31
 				</ul>
32 32
 			</li>
33 33
 
34 34
 			<li id="meta" class="widget-container">
35
-				<h3 class="widget-title"><?php _e( 'Meta', 'twentyten' ); ?></h3>
35
+				<h3 class="widget-title"><?php _e('Meta', 'twentyten'); ?></h3>
36 36
 				<ul>
37 37
 					<?php wp_register(); ?>
38 38
 					<li><?php wp_loginout(); ?></li>
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
 
47 47
 <?php
48 48
 	// A second sidebar for widgets, just because.
49
-	if ( is_active_sidebar( 'secondary-widget-area' ) ) : ?>
49
+	if (is_active_sidebar('secondary-widget-area')) : ?>
50 50
 
51 51
 		<div id="secondary" class="widget-area" role="complementary">
52 52
 			<ul class="xoxo">
53
-				<?php dynamic_sidebar( 'secondary-widget-area' ); ?>
53
+				<?php dynamic_sidebar('secondary-widget-area'); ?>
54 54
 			</ul>
55 55
 		</div><!-- #secondary .widget-area -->
56 56
 
Please login to merge, or discard this patch.