Skip to content

Commit cd6d9fb

Browse files
committed
Updated Bootstrap to the latest v.5.1.0
1 parent a65b49c commit cd6d9fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bs5starter/functions/enqueues.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function custom_enqueue_scripts()
44
// * styles *
55

66
// Bootstrap 5 style
7-
wp_register_style('bootstrap5', 'https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css', false, '5.0.0', null);
7+
wp_register_style('bootstrap5', 'https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css', false, '5.1.0', null);
88
wp_enqueue_style('bootstrap5');
99

1010
// custom style
@@ -19,7 +19,7 @@ function custom_enqueue_scripts()
1919
// wp_register_script('jquery', 'https://code.jquery.com/jquery-3.6.0.js', false, '3.6.0', false);
2020
// wp_enqueue_script('jquery');
2121

22-
wp_register_script('bootstrap5', 'https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js', false, '5.0.0', true);
22+
wp_register_script('bootstrap5', 'https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js', false, '5.1.0', true);
2323
wp_enqueue_script('bootstrap5');
2424

2525
// custom script

0 commit comments

Comments
 (0)