Browse Source

取消作者评论展示

wqg 3 tuần trước cách đây
mục cha
commit
a7441fced3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      var/Widget/Comments/Recent.php

+ 1 - 1
var/Widget/Comments/Recent.php

@@ -27,7 +27,7 @@ class Recent extends Comments
     protected function initParameter(Config $parameter)
     {
         $parameter->setDefault(
-            ['pageSize' => $this->options->commentsListSize, 'parentId' => 0, 'ignoreAuthor' => false]
+            ['pageSize' => $this->options->commentsListSize, 'parentId' => 0, 'ignoreAuthor' => true]
         );
     }