fix: 缩小后台用户等级图标

This commit is contained in:
2026-08-17 12:18:44 +08:00
parent 72527fd88b
commit 0097875dc9
2 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -45,11 +45,12 @@ class LevelAdmin {
if (!in_array($hook, ['users.php', 'user-edit.php', 'profile.php'], true)) {
return;
}
$style_path = get_theme_file_path('/assets/css/admin/user-level.css');
wp_enqueue_style(
'aksrt-user-level-admin',
get_theme_file_uri('/assets/css/admin/user-level.css'),
[],
defined('AKSRT_VERSION') ? AKSRT_VERSION : null
file_exists($style_path) ? (string) filemtime($style_path) : (defined('AKSRT_VERSION') ? AKSRT_VERSION : null)
);
}