Version Description
- Fix for older versions of pinnacle
Download this release
Release Info
Developer | britner |
Plugin | Kadence Themes Toolkit |
Version | 2.5 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.5
- readme.txt +5 -2
- shortcodes.php +4 -4
- virtue_toolkit.php +1 -1
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: britner
|
|
3 |
Tags:
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.1
|
6 |
-
Stable tag: 2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -22,8 +22,11 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
|
|
22 |
|
23 |
== Changelog ==
|
24 |
|
|
|
|
|
|
|
25 |
= 2.4 =
|
26 |
-
* Fix for
|
27 |
|
28 |
= 2.3 =
|
29 |
* Admin Gallery update.
|
3 |
Tags:
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.1
|
6 |
+
Stable tag: 2.5
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
22 |
|
23 |
== Changelog ==
|
24 |
|
25 |
+
= 2.5 =
|
26 |
+
* Fix for older versions of pinnacle
|
27 |
+
|
28 |
= 2.4 =
|
29 |
+
* Fix for older versions of pinnacle
|
30 |
|
31 |
= 2.3 =
|
32 |
* Admin Gallery update.
|
shortcodes.php
CHANGED
@@ -335,7 +335,7 @@ function virtue_tinymce_shortcode_button() {
|
|
335 |
add_action('init', 'virtue_tinymce_shortcode_button');
|
336 |
|
337 |
// Clean up Shortcodes
|
338 |
-
function
|
339 |
$array = array (
|
340 |
'<p>[' => '[',
|
341 |
']</p>' => ']',
|
@@ -344,8 +344,8 @@ function kad_content_clean_shortcodes($content){
|
|
344 |
$content = strtr($content, $array);
|
345 |
return $content;
|
346 |
}
|
347 |
-
add_filter('the_content', '
|
348 |
-
function
|
349 |
$array = array (
|
350 |
'<p>[' => '[',
|
351 |
']</p>' => ']',
|
@@ -356,5 +356,5 @@ function kad_widget_clean_shortcodes($text){
|
|
356 |
$text = strtr($text, $array);
|
357 |
return $text;
|
358 |
}
|
359 |
-
add_filter('widget_text', '
|
360 |
add_filter('widget_text', 'do_shortcode', 50);
|
335 |
add_action('init', 'virtue_tinymce_shortcode_button');
|
336 |
|
337 |
// Clean up Shortcodes
|
338 |
+
function kadtool_content_clean_shortcodes($content){
|
339 |
$array = array (
|
340 |
'<p>[' => '[',
|
341 |
']</p>' => ']',
|
344 |
$content = strtr($content, $array);
|
345 |
return $content;
|
346 |
}
|
347 |
+
add_filter('the_content', 'kadtool_content_clean_shortcodes');
|
348 |
+
function kadtool_widget_clean_shortcodes($text){
|
349 |
$array = array (
|
350 |
'<p>[' => '[',
|
351 |
']</p>' => ']',
|
356 |
$text = strtr($text, $array);
|
357 |
return $text;
|
358 |
}
|
359 |
+
add_filter('widget_text', 'kadtool_widget_clean_shortcodes');
|
360 |
add_filter('widget_text', 'do_shortcode', 50);
|
virtue_toolkit.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Virtue / Pinnacle ToolKit
|
5 |
Description: Custom Portfolio and Shortcode functionality for Virtue and Pinnacle Wordpress Theme
|
6 |
-
Version: 2.
|
7 |
Author: Kadence Themes
|
8 |
Author URI: http://kadencethemes.com/
|
9 |
License: GPLv2 or later
|
3 |
/*
|
4 |
Plugin Name: Virtue / Pinnacle ToolKit
|
5 |
Description: Custom Portfolio and Shortcode functionality for Virtue and Pinnacle Wordpress Theme
|
6 |
+
Version: 2.5
|
7 |
Author: Kadence Themes
|
8 |
Author URI: http://kadencethemes.com/
|
9 |
License: GPLv2 or later
|