diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index 5cde254350..3cfbb62ca6 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -282,7 +282,7 @@ add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' ); * @return string Excerpt with a pretty "Continue Reading" link */ function twentyten_custom_excerpt_more( $output ) { - if ( has_excerpt() ) { + if ( has_excerpt() && ! is_attachment() ) { $output .= twentyten_continue_reading_link(); } return $output;