diff --git a/functions.php b/functions.php index 12355cf..fc34307 100644 --- a/functions.php +++ b/functions.php @@ -578,6 +578,10 @@ function argon_debug_console_footer_button() { if (get_option('argon_enable_debug_console', 'false') != 'true') { return; } + // 仅管理员可见 + if (!current_user_can('manage_options')) { + return; + } ?>