fix: 导航用户弹层认证图标同行
This commit is contained in:
1 parent
3004310194
commit
29ef28066e
2 files changed
+18
-3
No files matched your search
@@ -91,8 +91,9 @@ if (!function_exists('aksrt_header_user_badges_row')) :
|
||||
if ($user_id <= 0 || !function_exists('aksrt_render_user_identity_chips')) {
|
||||
return '';
|
||||
}
|
||||
// VIP + level already shown next to display name in the header profile row.
|
||||
// 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 '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user