Version Description
- Removed unused code
Download this release
Release Info
Developer | MyThemeShop |
Plugin | WP Shortcode by MyThemeShop |
Version | 1.4.7 |
Comparing to | |
See all releases |
Code changes from version 1.4.6 to 1.4.7
- readme.txt +5 -2
- tinymce/tinymce.php +1 -10
- wp-shortcode.php +1 -1
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mythemeshop
|
|
3 |
Creator's website link: http://mythemeshop.com/
|
4 |
Tags: shortcodes, shortcode, shortcodes list, toggle shortcode, buttons, google map shortcode, youtube shortcode, vimeo shortcode, alert shortcode, notification shortcode, column shortcodes
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 4.8
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -65,6 +65,9 @@ Please disable all plugins and check if shortcode plugin is working properly. Th
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
|
|
|
|
|
|
68 |
= 1.4.6 =
|
69 |
* Fixed styling and escaping issues
|
70 |
|
3 |
Creator's website link: http://mythemeshop.com/
|
4 |
Tags: shortcodes, shortcode, shortcodes list, toggle shortcode, buttons, google map shortcode, youtube shortcode, vimeo shortcode, alert shortcode, notification shortcode, column shortcodes
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 4.8.2
|
7 |
+
Stable tag: 1.4.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
+
= 1.4.7 =
|
69 |
+
* Removed unused code
|
70 |
+
|
71 |
= 1.4.6 =
|
72 |
* Fixed styling and escaping issues
|
73 |
|
tinymce/tinymce.php
CHANGED
@@ -41,15 +41,6 @@
|
|
41 |
|
42 |
function add_tinymce_plugin($plugin_array)
|
43 |
{
|
44 |
-
global $page_handle;
|
45 |
-
global $post_id;
|
46 |
-
|
47 |
-
if(isset($_GET['post'])) {
|
48 |
-
$post_id = $_GET['post'];
|
49 |
-
}
|
50 |
-
$post = get_post($post_id);
|
51 |
-
$post_type = $post->post_type;
|
52 |
-
|
53 |
$plugin_array[$this->pluginname] = $this->path . 'editor_plugin.js';
|
54 |
|
55 |
return $plugin_array;
|
@@ -82,4 +73,4 @@ function mts_wpshortcodes_tinymce() {
|
|
82 |
$tinymce_button = new add_wpshortcodes_button();
|
83 |
}
|
84 |
add_action( 'after_setup_theme', 'mts_wpshortcodes_tinymce' );
|
85 |
-
?>
|
41 |
|
42 |
function add_tinymce_plugin($plugin_array)
|
43 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
$plugin_array[$this->pluginname] = $this->path . 'editor_plugin.js';
|
45 |
|
46 |
return $plugin_array;
|
73 |
$tinymce_button = new add_wpshortcodes_button();
|
74 |
}
|
75 |
add_action( 'after_setup_theme', 'mts_wpshortcodes_tinymce' );
|
76 |
+
?>
|
wp-shortcode.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Shortcode by MyThemeShop
|
|
4 |
Plugin URI: http://mythemeshop.com/
|
5 |
Description: With the vast array of shortcodes, you can quickly and easily build content for your posts and pages and turbocharge your blogging experience.
|
6 |
Author: MyThemeShop
|
7 |
-
Version: 1.4.
|
8 |
Author URI: http://mythemeshop.com/
|
9 |
*/
|
10 |
|
4 |
Plugin URI: http://mythemeshop.com/
|
5 |
Description: With the vast array of shortcodes, you can quickly and easily build content for your posts and pages and turbocharge your blogging experience.
|
6 |
Author: MyThemeShop
|
7 |
+
Version: 1.4.7
|
8 |
Author URI: http://mythemeshop.com/
|
9 |
*/
|
10 |
|