Index: wp-content/themes/twentyfourteen/comments.php
===================================================================
--- wp-content/themes/twentyfourteen/comments.php	(revision 29396)
+++ wp-content/themes/twentyfourteen/comments.php	(working copy)
@@ -40,9 +40,9 @@
 	<ol class="comment-list">
 		<?php
 			wp_list_comments( array(
-				'style'      => 'ol',
-				'short_ping' => true,
-				'avatar_size'=> 34,
+				'style'       => 'ol',
+				'short_ping'  => true,
+				'avatar_size' => 34,
 			) );
 		?>
 	</ol><!-- .comment-list -->
Index: wp-content/themes/twentyfourteen/featured-content.php
===================================================================
--- wp-content/themes/twentyfourteen/featured-content.php	(revision 29396)
+++ wp-content/themes/twentyfourteen/featured-content.php	(working copy)
@@ -22,7 +22,7 @@
 		foreach ( (array) $featured_posts as $order => $post ) :
 			setup_postdata( $post );
 
-			 // Include the featured content template.
+			// Include the featured content template.
 			get_template_part( 'content', 'featured-post' );
 		endforeach;
 
Index: wp-content/themes/twentyfourteen/functions.php
===================================================================
--- wp-content/themes/twentyfourteen/functions.php	(revision 29396)
+++ wp-content/themes/twentyfourteen/functions.php	(working copy)
@@ -211,7 +211,7 @@
 	 * by Lato, translate this to 'off'. Do not translate into your own language.
 	 */
 	if ( 'off' !== _x( 'on', 'Lato font: on or off', 'twentyfourteen' ) ) {
-		$font_url = add_query_arg( 'family', urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic' ), "//fonts.googleapis.com/css" );
+		$font_url = add_query_arg( 'family', urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic' ), '//fonts.googleapis.com/css' );
 	}
 
 	return $font_url;
Index: wp-content/themes/twentyfourteen/image.php
===================================================================
--- wp-content/themes/twentyfourteen/image.php	(revision 29396)
+++ wp-content/themes/twentyfourteen/image.php	(working copy)
@@ -28,7 +28,7 @@
 
 						<span class="entry-date"><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time></span>
 
-						<span class="full-size-link"><a href="<?php echo esc_url( wp_get_attachment_url() ); ?>"><?php echo $metadata['width']; ?> &times; <?php echo $metadata['height']; ?></a></span>
+						<span class="full-size-link"><a href="<?php echo esc_url( wp_get_attachment_url() ); ?>"><?php echo esc_html( $metadata['width'] ); ?> &times; <?php echo esc_html( $metadata['height'] ); ?></a></span>
 
 						<span class="parent-post-link"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span>
 						<?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
Index: wp-content/themes/twentyfourteen/inc/custom-header.php
===================================================================
--- wp-content/themes/twentyfourteen/inc/custom-header.php	(revision 29396)
+++ wp-content/themes/twentyfourteen/inc/custom-header.php	(working copy)
@@ -140,7 +140,7 @@
 		<?php if ( get_header_image() ) : ?>
 		<img src="<?php header_image(); ?>" alt="">
 		<?php endif; ?>
-		<h1 class="displaying-header-text"><a id="name"<?php echo sprintf( ' style="color:#%s;"', get_header_textcolor() ); ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
+		<h1 class="displaying-header-text"><a id="name" style="<?php echo esc_attr( sprintf( 'color: #%s;', get_header_textcolor() ) ); ?>" onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
 	</div>
 <?php
 }
Index: wp-content/themes/twentyfourteen/inc/featured-content.php
===================================================================
--- wp-content/themes/twentyfourteen/inc/featured-content.php	(revision 29396)
+++ wp-content/themes/twentyfourteen/inc/featured-content.php	(working copy)
@@ -327,7 +327,7 @@
 		}
 
 		$settings = self::get_setting();
-		foreach( $terms as $order => $term ) {
+		foreach ( $terms as $order => $term ) {
 			if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) {
 				unset( $terms[ $order ] );
 			}
@@ -371,7 +371,7 @@
 		}
 
 		$settings = self::get_setting();
-		foreach( $terms as $order => $term ) {
+		foreach ( $terms as $order => $term ) {
 			if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) {
 				unset( $terms[ $term->term_id ] );
 			}
Index: wp-content/themes/twentyfourteen/inc/widgets.php
===================================================================
--- wp-content/themes/twentyfourteen/inc/widgets.php	(revision 29396)
+++ wp-content/themes/twentyfourteen/inc/widgets.php	(working copy)
@@ -107,7 +107,7 @@
 			echo $args['before_widget'];
 			?>
 			<h1 class="widget-title <?php echo esc_attr( $format ); ?>">
-				<a class="entry-format" href="<?php echo esc_url( get_post_format_link( $format ) ); ?>"><?php echo $title; ?></a>
+				<a class="entry-format" href="<?php echo esc_url( get_post_format_link( $format ) ); ?>"><?php echo esc_html( $title ); ?></a>
 			</h1>
 			<ol>
 
@@ -261,7 +261,7 @@
 			<p><label for="<?php echo esc_attr( $this->get_field_id( 'format' ) ); ?>"><?php _e( 'Post format to show:', 'twentyfourteen' ); ?></label>
 			<select id="<?php echo esc_attr( $this->get_field_id( 'format' ) ); ?>" class="widefat" name="<?php echo esc_attr( $this->get_field_name( 'format' ) ); ?>">
 				<?php foreach ( $this->formats as $slug ) : ?>
-				<option value="<?php echo esc_attr( $slug ); ?>"<?php selected( $format, $slug ); ?>><?php echo get_post_format_string( $slug ); ?></option>
+				<option value="<?php echo esc_attr( $slug ); ?>"<?php selected( $format, $slug ); ?>><?php echo esc_html( get_post_format_string( $slug ) ); ?></option>
 				<?php endforeach; ?>
 			</select>
 		<?php
Index: wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js
===================================================================
--- wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js	(revision 29396)
+++ wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js	(working copy)
@@ -14,7 +14,7 @@
 			url = $( '.entry-attachment a' ).attr( 'href' );
 		}
 
-		if ( url && ( !$( 'textarea, input' ).is( ':focus' ) ) ) {
+		if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) {
 			window.location = url;
 		}
 	} );
Index: wp-content/themes/twentyfourteen/js/slider.js
===================================================================
--- wp-content/themes/twentyfourteen/js/slider.js	(revision 29396)
+++ wp-content/themes/twentyfourteen/js/slider.js	(working copy)
@@ -524,7 +524,7 @@
 		slider.doMath = function() {
 			var slide = slider.slides.first();
 
-			slider.w = ( slider.viewport===undefined ) ? slider.width() : slider.viewport.width();
+			slider.w = ( slider.viewport === undefined ) ? slider.width() : slider.viewport.width();
 			slider.h = slide.height();
 			slider.boxPadding = slide.outerWidth() - slide.width();
 
