Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Remove shields.io links from popup documentation. Closes #154.
Browse files Browse the repository at this point in the history
  • Loading branch information
MWDelaney committed Apr 4, 2018
1 parent df920bf commit 2d48f97
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WordPress plugin that provides shortcodes for easier use of the Bootstrap styles

This plugin won't do anything if you don't have WordPress theme built with the [Bootstrap](http://getbootstrap.com/) framework. **This plugin does not include the Bootstrap framework**.

The plugin is tested to work with ```Bootstrap 3``` and ```WordPress 4.5``` and **requires PHP 5.3 or later**.
The plugin is tested to work with ```Bootstrap 3``` and ```WordPress 4.9+``` and **requires PHP 5.3 or later**.

## Shortcode Reference

Expand Down
2 changes: 1 addition & 1 deletion bootstrap-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Bootstrap 3 Shortcodes
Plugin URI: https://github.com/MWDelaney/bootstrap-shortcodes
Description: The plugin adds a shortcodes for all Bootstrap 3 elements.
Version: 3.3.11
Version: 3.3.12
Author: Michael W. Delaney, Filip Stefansson, and Simon Yeldon
Author URI:
License: MIT
Expand Down
2 changes: 1 addition & 1 deletion includes/bootstrap-shortcodes-help.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function bsajustamodal() {
$html = str_replace('<hr>', '<hr><a class="btn btn-link btn-default pull-right" href="#bs-top"><i class="text-muted glyphicon glyphicon-arrow-up"></i></a>', $html);
$html = str_replace('<h3 id="', '<h3 id="bs-', $html);
$html = str_replace('</pre>', '</pre><p><button data-dismiss="modal" class="btn btn-primary btn-sm insert-code">Insert Example <i class="glyphicon glyphicon-share-alt"></i></button></p>', $html);

$html = preg_replace("/<img[^>]+\>/i", "", $html);
//Insert the HTML now that we're done editing it
echo $html;

Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: FoolsRun, filipstefansson, nodley
Tags: bootstrap, shortcode, shortcodes, responsive, grid
Requires at least: 3.8
Tested up to: 4.9.4
Stable tag: 3.3.11
Stable tag: 3.3.12
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -72,6 +72,12 @@ No, we assume you are already working with a WordPress theme that includes the B

== Changelog ==

= 3.3.12 =
* Remove images from help documentation which caused slowdown for some users

= 3.3.11 =
* Tested to work with WordPress 4.9+

= 3.3.10 =
* Tested to work with WordPress 4.6
* Fixed bug in [collapse] (thanks who all who reported it)
Expand Down

0 comments on commit 2d48f97

Please sign in to comment.