From 4a214fc1d689a5098d79b615f2afe585863bd0d3 Mon Sep 17 00:00:00 2001 From: Damian Taggart Date: Wed, 12 Oct 2016 11:41:14 -0600 Subject: [PATCH] update boostrap --- README.md | 1 + core/mapi-utility.php | 4 ++-- lib/min/builder/index.php | 2 +- mindshare-api.php | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 87d6187..78bb5bc 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Provides a library of additional template tags, 3rd-party libraries, and functio - Remove deprecated params from TGMPA - Rewrite `mapi_excerpt()` with improved CPT/ACF support - Rewrite `mapi_money_format()` with trim zeros +- Update Bootstrap to 3.3.7 - Update copyright date and name - Updated `mapi_facebook_lookup()` to use an Open Graph access token diff --git a/core/mapi-utility.php b/core/mapi-utility.php index 84e3aed..e55c937 100644 --- a/core/mapi-utility.php +++ b/core/mapi-utility.php @@ -695,7 +695,7 @@ function mapi_load_jquery() { function mapi_load_bootstrap() { if (!is_admin()) { wp_deregister_script('bootstrap'); - wp_register_script('bootstrap', '//cdn.jsdelivr.net/bootstrap/3.3.6/js/bootstrap.min.js', array('jquery')); + wp_register_script('bootstrap', '//cdn.jsdelivr.net/bootstrap/3.3.7/js/bootstrap.min.js', array('jquery')); wp_enqueue_script('bootstrap'); } } @@ -706,7 +706,7 @@ function mapi_load_bootstrap() { function mapi_load_bootstrap_css() { if (!is_admin()) { wp_deregister_style('bootstrap'); - wp_register_style('bootstrap', '//cdn.jsdelivr.net/bootstrap/3.3.6/css/bootstrap.min.css'); + wp_register_style('bootstrap', '//cdn.jsdelivr.net/bootstrap/3.3.7/css/bootstrap.min.css'); wp_enqueue_style('bootstrap'); } } diff --git a/lib/min/builder/index.php b/lib/min/builder/index.php index 78a533b..61ca2af 100644 --- a/lib/min/builder/index.php +++ b/lib/min/builder/index.php @@ -49,7 +49,7 @@ Minify URI Builder - +