ソースを参照

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>';