From b6ad3b341a0d8114818f95557257607686893641 Mon Sep 17 00:00:00 2001 From: Jack Lenox Date: Wed, 25 Jun 2014 00:04:59 +0100 Subject: [PATCH 1/3] Changed lone uppercase H to lower --- header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/header.php b/header.php index f5e5ee32..e35c4f1e 100644 --- a/header.php +++ b/header.php @@ -1,6 +1,6 @@ section and everything up till
* From 776eaf6e946d300a45a33726880ffc737a28dda5 Mon Sep 17 00:00:00 2001 From: Jack Lenox Date: Wed, 25 Jun 2014 00:13:36 +0100 Subject: [PATCH 2/3] Correcting some irregular capitalisation and coding standards issues --- 404.php | 2 +- archive.php | 6 +++--- comments.php | 18 +++++++++++------- search.php | 2 +- sidebar.php | 2 +- single.php | 2 +- 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/404.php b/404.php index 1d285150..ddeeea0d 100644 --- a/404.php +++ b/404.php @@ -1,6 +1,6 @@ _e( 'Asides', '_s' ); elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) : - _e( 'Galleries', '_s'); + _e( 'Galleries', '_s' ); elseif ( is_tax( 'post_format', 'post-format-image' ) ) : - _e( 'Images', '_s'); + _e( 'Images', '_s' ); elseif ( is_tax( 'post_format', 'post-format-video' ) ) : _e( 'Videos', '_s' ); diff --git a/comments.php b/comments.php index 4098891d..4788f4ae 100644 --- a/comments.php +++ b/comments.php @@ -1,6 +1,6 @@

' . get_the_title() . '' ); + printf( + _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', '_s' ), + number_format_i18n( get_comments_number() ), '' . get_the_title() . '' + ); ?>

@@ -40,10 +42,12 @@ if ( post_password_required() ) {
    'ol', - 'short_ping' => true, - ) ); + wp_list_comments( + array( + 'style' => 'ol', + 'short_ping' => true, + ) + ); ?>
diff --git a/search.php b/search.php index 03d280d8..632ec098 100644 --- a/search.php +++ b/search.php @@ -1,6 +1,6 @@ Date: Wed, 25 Jun 2014 10:31:51 +0100 Subject: [PATCH 3/3] Undid my multiline function corrections --- comments.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/comments.php b/comments.php index 4788f4ae..d58eac71 100644 --- a/comments.php +++ b/comments.php @@ -25,10 +25,8 @@ if ( post_password_required() ) {

' . get_the_title() . '' - ); + printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', '_s' ), + number_format_i18n( get_comments_number() ), '' . get_the_title() . '' ); ?>

@@ -42,12 +40,10 @@ if ( post_password_required() ) {
    'ol', - 'short_ping' => true, - ) - ); + wp_list_comments( array( + 'style' => 'ol', + 'short_ping' => true, + ) ); ?>