From 20c0e6c2ef70912dcb60a0782295900570260164 Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 14 Feb 2010 01:12:51 +0000 Subject: [PATCH] Fix comment listing, Correct Indentations. See #9015 git-svn-id: http://svn.automattic.com/wordpress/trunk@13129 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/attachment.php | 23 +++++++++++----------- wp-content/themes/twentyten/comments.php | 2 +- wp-content/themes/twentyten/functions.php | 5 +++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/wp-content/themes/twentyten/attachment.php b/wp-content/themes/twentyten/attachment.php index cfcbb7142..2989874f1 100644 --- a/wp-content/themes/twentyten/attachment.php +++ b/wp-content/themes/twentyten/attachment.php @@ -21,19 +21,18 @@
-ID ) ) : ?> -

ID, array($content_width, $content_width) ); // max $content_width wide or high. - ?>

+ +

ID, array($content_width, $content_width) ); // max $content_width wide or high. + ?>

- - - - - + + + +
post_excerpt) ) the_excerpt(); ?>
diff --git a/wp-content/themes/twentyten/comments.php b/wp-content/themes/twentyten/comments.php index da254bce2..cd86ce6e1 100644 --- a/wp-content/themes/twentyten/comments.php +++ b/wp-content/themes/twentyten/comments.php @@ -28,7 +28,7 @@
    - 'twentyten_comment') ); ?> + 'twentyten_list_comment') ); ?>
1 ) : // are there comments to navigate through ?> diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index b2d6d721e..7a4d1547f 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -98,8 +98,9 @@ function twentyten_list_comment( $comment, $args, $depth ) { // Make the Visual Editor styles match the theme's styles function twentyten_my_editor_style( $url ) { - if ( !empty($url) ) - $url .= ','; + if ( !empty($url) ) + $url .= ','; + // Change the path here if using sub-directory $url .= trailingslashit( get_stylesheet_directory_uri() ) . 'editor-style.css';