diff --git a/wp-content/themes/twentyten/attachment.php b/wp-content/themes/twentyten/attachment.php index 4d9d5fc9db..3218369ee9 100644 --- a/wp-content/themes/twentyten/attachment.php +++ b/wp-content/themes/twentyten/attachment.php @@ -21,23 +21,23 @@
- -

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(); ?>
- →', 'twentyten' ) ); ?> - ' . __( 'Pages:', 'twentyten' ) . '&after=
' ); ?> +→', 'twentyten' ) ); ?> +' . __( 'Pages:', 'twentyten' ) . '&after=' ); ?> diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index 4c22741fee..9a23cceaa3 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -1,16 +1,47 @@ ' . 'Continue reading ' . ''; } -add_filter( 'excerpt_more', 'twentyten_new_excerpt_more' ); +endif; +add_filter( 'excerpt_more', 'twentyten_excerpt_more' ); // Template for comments and pingbacks -function twentyten_list_comment( $comment, $args, $depth ) { - $GLOBALS['comment'] = $comment; ?> - comment_type ) { ?> +if ( ! function_exists( 'twentyten_comment' ) ) : +function twentyten_comment( $comment, $args, $depth ) { + $GLOBALS ['comment'] = $comment; ?> + comment_type ) : ?>
  • id="li-comment-">
    - %s says:'), get_comment_author_link() ); ?> + %s says:' ), get_comment_author_link() ); ?>
    comment_approved == '0' ) : ?>
    - +
    - $depth, 'max_depth' => $args['max_depth'])) ); ?> + $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    - +
  • - "; + return "\t\t