From 6bfca07a6401e6261e61a6e14302a19791555961 Mon Sep 17 00:00:00 2001 From: smallxu038 <47671569+smallxu038@users.noreply.github.com> Date: Tue, 20 Feb 2024 20:12:10 +0800 Subject: [PATCH] Remove comment-reply.js --- functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions.php b/functions.php index e9a2e2d..49b4148 100644 --- a/functions.php +++ b/functions.php @@ -1910,3 +1910,5 @@ function permalink_tip() } add_action('admin_notices', 'permalink_tip'); //code end +//移除comment-reply.js 防止不兼容 +function clean_header(){ wp_deregister_script( 'comment-reply' ); } add_action('init','clean_header');