Skip to content

Commit

Permalink
update boostrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Taggart committed Oct 12, 2016
1 parent eb0b00c commit 4a214fc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions core/mapi-utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}
Expand All @@ -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');
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/min/builder/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<!DOCTYPE html>
<title>Minify URI Builder</title>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style>
body {margin:1em 60px;}
h1, h2, h3 {margin-left:-25px; position:relative;}
Expand Down
4 changes: 2 additions & 2 deletions mindshare-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://mindsharelabs.com/downloads/mindshare-theme-api/
Description: Provides a library of additional template tags, 3rd-party libraries, and functions for WordPress themes and additional features for WordPress CMS websites.
Author: Mindshare Labs, Inc
Version: 1.0.2
Version: 1.1
Author URI: https://mind.sh/are/
Network: false
*/
Expand Down Expand Up @@ -102,7 +102,7 @@ class Mindshare_API {
*
* @var string
*/
private $class_version = '1.0.2';
private $class_version = '1.1';

/**
* Used for automatic updates
Expand Down

0 comments on commit 4a214fc

Please sign in to comment.