插件代码 - 这是什么意思?

时间:2010-04-29 17:15:58

标签: php plugins

我在我的网站上安装了露西娅的爱情,评论显示为(新评论),而不是显示计数。我甚至都不知道这意味着什么。如何让它显示实际计数以及“新评论”的含义?

我知道这个文字包含但不理解:

if (($oldCommentDate <  mysql2date('U', $comment->comment_date)) ||  $daysBefore < -14 ||!$sameNameExclude ){
   //echo('<br>This is new  or 14 days after last post or excluded name: return ');
   if( is_user_logged_in() )
    $text .= " (new comment) ";
   return $text;
  }

1 个答案:

答案 0 :(得分:0)

如果评论的时间少于14天,则文字会显示(new comment)