From 5704531a4d822f9d659ada384012c088985aa9f9 Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Fri, 23 Jan 2026 22:00:21 +0800 Subject: [PATCH] fix: correct condition check in argon_format_mermaid_code --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 81fa0b0..1bc0513 100644 --- a/functions.php +++ b/functions.php @@ -3610,7 +3610,7 @@ add_filter('the_content' , 'the_content_filter',20); // Mermaid 代码块预处理 function argon_format_mermaid_code($content) { - if (!get_option('argon_mermaid_enable', 'false') == 'true') { + if (get_option('argon_mermaid_enable', 'false') != 'true') { return $content; }