瀏覽代碼

Merge pull request #2893 from Automattic/fix/spearhead-more

Spearhead: fix more filter
Jeff Ong 4 年之前
父節點
當前提交
72caa10d21
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spearhead/functions.php

+ 1 - 1
spearhead/functions.php

@@ -222,7 +222,7 @@ function spearhead_more_link() {
 /**
  * Use this instead of the default WordPress ellipsis which is […].
  */
-function spearhead_excerpt_more() {
+function spearhead_excerpt_more( $more ) {
 	if ( is_admin() ) {
 		return $more;
 	}