From 7b4c5622b2e24719bd387dec1c8b3a8f62602bd9 Mon Sep 17 00:00:00 2001 From: Seaton Jiang Date: Mon, 3 Aug 2020 11:59:42 +0800 Subject: [PATCH] feat: update bootstrap to v4.5.0 --- inc/theme-core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/theme-core.php b/inc/theme-core.php index beb20fe..4d4ed66 100644 --- a/inc/theme-core.php +++ b/inc/theme-core.php @@ -36,7 +36,7 @@ function theme_autoload() { if (!is_admin()) { // css - wp_enqueue_style('bootstrap', ASSET_PATH . '/assets/css/bootstrap.min.css', array(), '4.4.1'); + wp_enqueue_style('bootstrap', ASSET_PATH . '/assets/css/bootstrap.min.css', array(), '4.5.0'); wp_enqueue_style('kicon', ASSET_PATH . '/assets/css/iconfont.min.css', array(), THEME_VERSION); wp_enqueue_style('layer', ASSET_PATH . '/assets/css/layer.min.css', array(), '3.1.1'); if (kratos_option('g_animate', false)) { @@ -50,7 +50,7 @@ function theme_autoload() // js wp_deregister_script('jquery'); wp_enqueue_script('jquery', ASSET_PATH . '/assets/js/jquery.min.js', array(), '3.4.1', false); - wp_enqueue_script('bootstrap', ASSET_PATH . '/assets/js/bootstrap.min.js', array(), '4.4.1', true); + wp_enqueue_script('bootstrap', ASSET_PATH . '/assets/js/bootstrap.min.js', array(), '4.5.0', true); wp_enqueue_script('layer', ASSET_PATH . '/assets/js/layer.min.js', array(), '3.1.1', true); wp_enqueue_script('kratos', ASSET_PATH . '/assets/js/kratos.min.js', array(), THEME_VERSION, true); wp_enqueue_script('custom', get_template_directory_uri() . '/custom/custom.js', array(), THEME_VERSION, true);