소스 검색

remove code causing a notice

Ben Dwyer 4 년 전
부모
커밋
16f44a3fd0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      spearhead/functions.php

+ 1 - 1
spearhead/functions.php

@@ -230,7 +230,7 @@ function spearhead_the_excerpt( $excerpt ) {
 	// For cases where the post excerpt is empty
 	// (but the post might have content)
 	if ( 0 === strlen( $excerpt ) ) {
-		return $excerpt . $link;
+		return $excerpt;
 	}
 
 	return $excerpt . '<span class="excerpt-more-link">' . spearhead_more_link() . '</span>';