Skip to content

Commit

Permalink
Remove IE Support
Browse files Browse the repository at this point in the history
[Removed] IE Support removed

Signed-off-by: Beda Schmid <beda@tukutoi.com>
  • Loading branch information
smileBeda committed Nov 8, 2023
1 parent 4f89354 commit 5808169
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions inc/enqueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => __(' <a href="https://www.mozilla.org/firefox/" target="_blank">Mozilla Firefox</a>, <a href="https://www.google.com/chrome/" target="_blank">Google Chrome</a>, <a href="https://www.opera.com/" target="_blank">Opera</a> ', 'bootscore'),
'ie_modern_browsers_3' => __('or', 'bootscore'),
'ie_modern_browsers_4' => __(' <a href="https://www.microsoft.com/edge" target="_blank">Microsoft Edge</a> ', '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');
}
Expand Down

0 comments on commit 5808169

Please sign in to comment.