Remove comment-reply.js

This commit is contained in:
smallxu038 2024-02-20 20:12:10 +08:00 committed by GitHub
parent 940b3f46bd
commit 6bfca07a64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1910,3 +1910,5 @@ function permalink_tip()
} }
add_action('admin_notices', 'permalink_tip'); add_action('admin_notices', 'permalink_tip');
//code end //code end
//移除comment-reply.js 防止不兼容
function clean_header(){ wp_deregister_script( 'comment-reply' ); } add_action('init','clean_header');