Sfoglia il codice sorgente

取消作者评论展示

wqg 3 settimane fa
parent
commit
a7441fced3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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]
         );
     }