diff --git a/functions.php b/functions.php
index 04da105b0..86c5f1130 100644
--- a/functions.php
+++ b/functions.php
@@ -120,7 +120,7 @@ function twentytwelve_setup() {
// This theme uses a custom image size for featured images, displayed on "standard" posts.
add_theme_support( 'post-thumbnails' );
- set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft crop
+ set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft crop.
// Indicate widget sidebars can use selective refresh in the Customizer.
add_theme_support( 'customize-selective-refresh-widgets' );
@@ -482,7 +482,7 @@ if ( ! function_exists( 'twentytwelve_comment' ) ) :
if ( $attachment->ID == $post->ID ) {
break;
}
-endforeach;
+ endforeach;
- // If there is more than 1 attachment in a gallery
+ // If there is more than 1 attachment in a gallery...
if ( count( $attachments ) > 1 ) :
$k++;
if ( isset( $attachments[ $k ] ) ) :
- // get the URL of the next image attachment
+ // ...get the URL of the next image attachment.
$next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
else :
- // or get the URL of the first image attachment
+ // ...or get the URL of the first image attachment.
$next_attachment_url = get_attachment_link( $attachments[0]->ID );
endif;
-else :
- // or, if there's only 1 image, get the URL of the image
- $next_attachment_url = wp_get_attachment_url();
-endif;
-?>
+ else :
+ // Or, if there's only 1 image, get the URL of the image.
+ $next_attachment_url = wp_get_attachment_url();
+ endif;
+ ?>
- ID, $attachment_size );
- ?>
+ ID, $attachment_size );
+ ?>
post_excerpt ) ) : ?>
@@ -134,7 +134,7 @@ endif;
-
+
diff --git a/inc/custom-header.php b/inc/custom-header.php
index 636309b7c..c985246f8 100644
--- a/inc/custom-header.php
+++ b/inc/custom-header.php
@@ -70,7 +70,7 @@ add_action( 'admin_print_styles-appearance_page_custom-header', 'twentytwelve_cu
function twentytwelve_header_style() {
$text_color = get_header_textcolor();
- // If no custom options for text are set, let's bail
+ // If no custom options for text are set, let's bail.
if ( $text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) {
return;
}
diff --git a/index.php b/index.php
index c8bdc64a5..98649a841 100644
--- a/index.php
+++ b/index.php
@@ -20,8 +20,8 @@ get_header(); ?>
-
@@ -63,11 +63,11 @@ get_header(); ?>
-
+
-
+
diff --git a/js/theme-customizer.js b/js/theme-customizer.js
index 8bf094be5..c388997da 100644
--- a/js/theme-customizer.js
+++ b/js/theme-customizer.js
@@ -18,7 +18,7 @@
} );
} );
- // Header text color
+ // Header text color.
wp.customize( 'header_textcolor', function( value ) {
value.bind( function( to ) {
if ( 'blank' === to ) {
diff --git a/page-templates/front-page.php b/page-templates/front-page.php
index 72efd0102..28ce766b9 100644
--- a/page-templates/front-page.php
+++ b/page-templates/front-page.php
@@ -29,7 +29,7 @@ get_header(); ?>
-
+
diff --git a/page-templates/full-width.php b/page-templates/full-width.php
index 13a1b39be..370e76eaf 100644
--- a/page-templates/full-width.php
+++ b/page-templates/full-width.php
@@ -25,7 +25,7 @@ get_header(); ?>
?>
-
+
diff --git a/page.php b/page.php
index cf75606bd..7107a61ce 100644
--- a/page.php
+++ b/page.php
@@ -23,7 +23,7 @@ get_header(); ?>
?>
-
+
diff --git a/search.php b/search.php
index 51c84522a..99acfe403 100644
--- a/search.php
+++ b/search.php
@@ -25,8 +25,8 @@ get_header(); ?>
-
diff --git a/single.php b/single.php
index 10165cec3..4cc6a43a4 100644
--- a/single.php
+++ b/single.php
@@ -27,7 +27,7 @@ get_header(); ?>
-
+
diff --git a/tag.php b/tag.php
index 6d42da5bc..041427729 100644
--- a/tag.php
+++ b/tag.php
@@ -25,19 +25,19 @@ get_header(); ?>
?>
-
+