fix: 移除导航弹层重复认证图标
This commit is contained in:
@@ -92,12 +92,7 @@ if (!function_exists('aksrt_header_user_badges_row')) :
|
||||
return '';
|
||||
}
|
||||
// Certification is displayed beside the name and level icon in the profile row.
|
||||
$chips = aksrt_render_user_identity_chips($user_id, 'card', ['include_vip' => false, 'skip_level' => true]);
|
||||
$chips = preg_replace('/<img class="aksrt-identity-certification-icon[^>]*>/', '', $chips);
|
||||
if ($chips === '') {
|
||||
return '';
|
||||
}
|
||||
return '<div class="em09 author-tag mb10 mt6 flex jc aksrt-header-badges">' . $chips . '</div>';
|
||||
return '';
|
||||
}
|
||||
endif;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user