From f713b87e31bd197b76c83b53b855bde1340fdc2a Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 17 May 2010 06:36:11 +0000 Subject: [PATCH] In Twenty Ten, documentation and code improvements. see #12695. git-svn-id: http://svn.automattic.com/wordpress/trunk@14708 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/404.php | 2 +- wp-content/themes/twentyten/archive.php | 20 ++++++-- wp-content/themes/twentyten/attachment.php | 6 ++- wp-content/themes/twentyten/author.php | 25 ++++++++-- wp-content/themes/twentyten/category.php | 4 +- wp-content/themes/twentyten/comments.php | 43 ++++++++++------- wp-content/themes/twentyten/footer.php | 9 +++- wp-content/themes/twentyten/header.php | 10 ++-- wp-content/themes/twentyten/index.php | 2 +- wp-content/themes/twentyten/loop.php | 47 +++++++++++++------ .../themes/twentyten/onecolumn-page.php | 12 +++-- wp-content/themes/twentyten/page.php | 6 ++- wp-content/themes/twentyten/search.php | 2 +- .../themes/twentyten/sidebar-footer.php | 33 ++++++++----- wp-content/themes/twentyten/sidebar.php | 21 +++++++-- wp-content/themes/twentyten/single.php | 4 +- wp-content/themes/twentyten/style.css | 4 +- wp-content/themes/twentyten/tag.php | 12 ++--- 18 files changed, 173 insertions(+), 89 deletions(-) diff --git a/wp-content/themes/twentyten/404.php b/wp-content/themes/twentyten/404.php index ec83fa0b8..dbc389e8b 100644 --- a/wp-content/themes/twentyten/404.php +++ b/wp-content/themes/twentyten/404.php @@ -4,7 +4,7 @@ * * @package WordPress * @subpackage Twenty_Ten - * @since 3.0.0 + * @since Twenty Ten 1.0 */ ?> diff --git a/wp-content/themes/twentyten/archive.php b/wp-content/themes/twentyten/archive.php index 1381f4b33..7f041db93 100644 --- a/wp-content/themes/twentyten/archive.php +++ b/wp-content/themes/twentyten/archive.php @@ -9,7 +9,7 @@ * * @package WordPress * @subpackage Twenty_Ten - * @since 3.0.0 + * @since Twenty Ten 1.0 */ ?> @@ -18,7 +18,15 @@
- +

@@ -31,8 +39,14 @@

- + @@ -13,7 +13,7 @@
- +

post_parent ); ?>

@@ -98,6 +98,8 @@ + +
diff --git a/wp-content/themes/twentyten/author.php b/wp-content/themes/twentyten/author.php index e17c2a423..bf36a2bc4 100644 --- a/wp-content/themes/twentyten/author.php +++ b/wp-content/themes/twentyten/author.php @@ -4,7 +4,7 @@ * * @package WordPress * @subpackage Twenty_Ten - * @since 3.0.0 + * @since Twenty Ten 1.0 */ ?> @@ -13,11 +13,22 @@
- +

" . get_the_author() . "" ); ?>

- +
@@ -29,9 +40,13 @@
- - @@ -20,9 +20,7 @@ $category_description = category_description(); if ( ! empty( $category_description ) ) echo '
' . $categorydesc . '
'; - ?> - @@ -18,6 +18,10 @@
@@ -27,14 +31,12 @@ ?> -

-' . get_the_title() . '' ); -?> -

+ ?> - 1 ) : // are there comments to navigate through ?> + 1 ) : // Are there comments to navigate through? ?> @@ -15,7 +15,12 @@