进行了一些小修复
This commit is contained in:
@@ -385,7 +385,6 @@ class PostDisplay {
|
||||
'avatar_size' => max(24, min(96, (int) ($settings['comment_avatar_size'] ?? 48))),
|
||||
'empty_text' => $empty_text !== '' ? $empty_text : __('暂无评论,来做第一个评论的人吧~', 'aksrt'),
|
||||
'toolbar' => [
|
||||
'smilie' => !isset($settings['comment_smilie']) || !empty($settings['comment_smilie']),
|
||||
'code' => !isset($settings['comment_code']) || !empty($settings['comment_code']),
|
||||
'image' => !isset($settings['comment_img']) || !empty($settings['comment_img']),
|
||||
'upload_img' => function_exists('aksrt_user_can') && aksrt_user_can('upload_comment_image', get_current_user_id()),
|
||||
|
||||
Reference in New Issue
Block a user