fix: 缩小后台用户等级图标
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user