Version Description
- Remove images from help documentation which caused slowdown for some users
Download this release
Release Info
Developer | FoolsRun |
Plugin | Bootstrap Shortcodes for WordPress |
Version | 3.3.12 |
Comparing to | |
See all releases |
Code changes from version 3.3.11 to 3.3.12
- README.md +1 -1
- bootstrap-shortcodes.php +1 -1
- includes/bootstrap-shortcodes-help.php +1 -1
- readme.txt +7 -1
README.md
CHANGED
@@ -12,7 +12,7 @@ WordPress plugin that provides shortcodes for easier use of the Bootstrap styles
|
|
12 |
|
13 |
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**.
|
14 |
|
15 |
-
The plugin is tested to work with ```Bootstrap 3``` and ```WordPress 4.
|
16 |
|
17 |
## Shortcode Reference
|
18 |
|
12 |
|
13 |
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**.
|
14 |
|
15 |
+
The plugin is tested to work with ```Bootstrap 3``` and ```WordPress 4.9+``` and **requires PHP 5.3 or later**.
|
16 |
|
17 |
## Shortcode Reference
|
18 |
|
bootstrap-shortcodes.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Bootstrap 3 Shortcodes
|
4 |
Plugin URI: https://github.com/MWDelaney/bootstrap-shortcodes
|
5 |
Description: The plugin adds a shortcodes for all Bootstrap 3 elements.
|
6 |
-
Version: 3.3.
|
7 |
Author: Michael W. Delaney, Filip Stefansson, and Simon Yeldon
|
8 |
Author URI:
|
9 |
License: MIT
|
3 |
Plugin Name: Bootstrap 3 Shortcodes
|
4 |
Plugin URI: https://github.com/MWDelaney/bootstrap-shortcodes
|
5 |
Description: The plugin adds a shortcodes for all Bootstrap 3 elements.
|
6 |
+
Version: 3.3.12
|
7 |
Author: Michael W. Delaney, Filip Stefansson, and Simon Yeldon
|
8 |
Author URI:
|
9 |
License: MIT
|
includes/bootstrap-shortcodes-help.php
CHANGED
@@ -127,7 +127,7 @@ $html = file_get_contents(dirname(__FILE__) . '/help/README.html');
|
|
127 |
$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);
|
128 |
$html = str_replace('<h3 id="', '<h3 id="bs-', $html);
|
129 |
$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);
|
130 |
-
|
131 |
//Insert the HTML now that we're done editing it
|
132 |
echo $html;
|
133 |
|
127 |
$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);
|
128 |
$html = str_replace('<h3 id="', '<h3 id="bs-', $html);
|
129 |
$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);
|
130 |
+
$html = preg_replace("/<img[^>]+\>/i", "", $html);
|
131 |
//Insert the HTML now that we're done editing it
|
132 |
echo $html;
|
133 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: FoolsRun, filipstefansson, nodley
|
|
3 |
Tags: bootstrap, shortcode, shortcodes, responsive, grid
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.9.4
|
6 |
-
Stable tag: 3.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -72,6 +72,12 @@ No, we assume you are already working with a WordPress theme that includes the B
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
= 3.3.10 =
|
76 |
* Tested to work with WordPress 4.6
|
77 |
* Fixed bug in [collapse] (thanks who all who reported it)
|
3 |
Tags: bootstrap, shortcode, shortcodes, responsive, grid
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.9.4
|
6 |
+
Stable tag: 3.3.12
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
= 3.3.12 =
|
76 |
+
* Remove images from help documentation which caused slowdown for some users
|
77 |
+
|
78 |
+
= 3.3.11 =
|
79 |
+
* Tested to work with WordPress 4.9+
|
80 |
+
|
81 |
= 3.3.10 =
|
82 |
* Tested to work with WordPress 4.6
|
83 |
* Fixed bug in [collapse] (thanks who all who reported it)
|