From 5808169307f84f7b7ed8755fc0d4c32e017fddd6 Mon Sep 17 00:00:00 2001 From: Beda Schmid Date: Wed, 8 Nov 2023 10:46:28 +0700 Subject: [PATCH] Remove IE Support [Removed] IE Support removed Signed-off-by: Beda Schmid --- inc/enqueue.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/inc/enqueue.php b/inc/enqueue.php index 3c25ef94..7c2b8883 100644 --- a/inc/enqueue.php +++ b/inc/enqueue.php @@ -41,17 +41,6 @@ function bootscore_scripts() { // Theme JS wp_enqueue_script('bootscore-script', get_template_directory_uri() . '/js/theme.js', array('jquery'), $modificated_themeJs, true); - // IE Warning - wp_localize_script('bootscore-script', 'bootscore', array( - 'ie_title' => __('Internet Explorer detected', 'bootscore'), - 'ie_limited_functionality' => __('This website will offer limited functionality in this browser.', 'bootscore'), - 'ie_modern_browsers_1' => __('Please use a modern and secure web browser like', 'bootscore'), - 'ie_modern_browsers_2' => __(' Mozilla Firefox, Google Chrome, Opera ', 'bootscore'), - 'ie_modern_browsers_3' => __('or', 'bootscore'), - 'ie_modern_browsers_4' => __(' Microsoft Edge ', 'bootscore'), - 'ie_modern_browsers_5' => __('to display this site correctly.', 'bootscore'), - )); - if (is_singular() && comments_open() && get_option('thread_comments')) { wp_enqueue_script('comment-reply'); }