Merge pull request 'fix: 移除导航弹层重复认证图标' (#336) from certification-flow-fixed-types into main

Reviewed-on: CYL/wordpress-theme-aksrt#336
This commit is contained in:
2026-07-31 12:13:49 +08:00
+1 -6
View File
@@ -92,12 +92,7 @@ if (!function_exists('aksrt_header_user_badges_row')) :
return ''; return '';
} }
// Certification is displayed beside the name and level icon in the 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]); return '';
$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>';
} }
endif; endif;