Black Studio TinyMCE Widget - Version 0.8.2

Version Description

  • Added support for shortcodes in widget text
Download this release

Release Info

Developer marcochiesi
Plugin Icon 128x128 Black Studio TinyMCE Widget
Version 0.8.2
Comparing to
See all releases

Code changes from version 0.8.1 to 0.8.2

Files changed (2) hide show
  1. black-studio-tinymce-widget.php +3 -3
  2. readme.txt +6 -3
black-studio-tinymce-widget.php CHANGED
@@ -3,14 +3,14 @@
3
Plugin Name: Black Studio TinyMCE Widget
4
Plugin URI: http://wordpress.org/extend/plugins/black-studio-tinymce-widget/
5
Description: Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
6
- Version: 0.8.1
7
Author: Black Studio
8
Author URI: http://www.blackstudio.it
9
License: GPL2
10
*/
11
12
global $black_studio_tinymce_widget_version;
13
- $black_studio_tinymce_widget_version = "0.8.1"; // This is used internally - should be the same reported on the plugin header
14
15
/* Widget class */
16
class WP_Widget_Black_Studio_TinyMCE extends WP_Widget {
@@ -24,7 +24,7 @@ class WP_Widget_Black_Studio_TinyMCE extends WP_Widget {
24
function widget( $args, $instance ) {
25
extract($args);
26
$title = apply_filters( 'widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base);
27
- $text = apply_filters( 'widget_text', $instance['text'], $instance );
28
echo $before_widget;
29
if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>
30
<div class="textwidget"><?php echo $text; ?></div>
3
Plugin Name: Black Studio TinyMCE Widget
4
Plugin URI: http://wordpress.org/extend/plugins/black-studio-tinymce-widget/
5
Description: Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
6
+ Version: 0.8.2
7
Author: Black Studio
8
Author URI: http://www.blackstudio.it
9
License: GPL2
10
*/
11
12
global $black_studio_tinymce_widget_version;
13
+ $black_studio_tinymce_widget_version = "0.8.2"; // This is used internally - should be the same reported on the plugin header
14
15
/* Widget class */
16
class WP_Widget_Black_Studio_TinyMCE extends WP_Widget {
24
function widget( $args, $instance ) {
25
extract($args);
26
$title = apply_filters( 'widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base);
27
+ $text = do_shortcode( apply_filters( 'widget_text', $instance['text'], $instance ) );
28
echo $before_widget;
29
if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>
30
<div class="textwidget"><?php echo $text; ?></div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.blackstudio.it/pagamento/
4
Tags: wysiwyg, widget, tinymce, editor, image, media, rich text, rich text editor, visual editor, wysiwyg editor, tinymce editor, widget editor, html editor, wysiwyg widget, html widget, editor widget, text widget, rich text widget, enhanced text widget, tinymce widget, visual widget, image widget, media widget
5
Requires at least: 3.0
6
Tested up to: 3.3
7
- Stable tag: 0.8.1
8
9
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
10
@@ -37,6 +37,9 @@ This section describes how to install the plugin and get it working.
37
38
== Changelog ==
39
40
= 0.8.1 =
41
* Fixed issue when inserting images on Wordpress 3.3
42
@@ -44,7 +47,7 @@ This section describes how to install the plugin and get it working.
44
* Added support for Wordpress networks (Multisite)
45
46
= 0.7 =
47
- * Added compatibility for upcoming Wordpress 3.3 (currently beta 4)
48
* Added compatibility for previous Wordpress 3.0 and 3.1
49
* Optimization/compression of javascript code
50
@@ -68,4 +71,4 @@ This section describes how to install the plugin and get it working.
68
* Added support for Wordpress Media Library
69
70
= 0.5 =
71
- * First Beta release
4
Tags: wysiwyg, widget, tinymce, editor, image, media, rich text, rich text editor, visual editor, wysiwyg editor, tinymce editor, widget editor, html editor, wysiwyg widget, html widget, editor widget, text widget, rich text widget, enhanced text widget, tinymce widget, visual widget, image widget, media widget
5
Requires at least: 3.0
6
Tested up to: 3.3
7
+ Stable tag: 0.8.2
8
9
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
10
37
38
== Changelog ==
39
40
+ = 0.8.2 =
41
+ * Added support for shortcodes in widget text
42
+
43
= 0.8.1 =
44
* Fixed issue when inserting images on Wordpress 3.3
45
47
* Added support for Wordpress networks (Multisite)
48
49
= 0.7 =
50
+ * Added compatibility for upcoming Wordpress 3.3
51
* Added compatibility for previous Wordpress 3.0 and 3.1
52
* Optimization/compression of javascript code
53
71
* Added support for Wordpress Media Library
72
73
= 0.5 =
74
+ * First Beta release