Image Widget - Version 3.0.9

Version Description

  • Fix bug: update tabs filter to not kill tabs if upload window is for non widget uses.
Download this release

Release Info

Developer peterchester
Plugin Icon 128x128 Image Widget
Version 3.0.9
Comparing to
See all releases

Code changes from version 3.0.8 to 3.0.9

Files changed (2) hide show
  1. image-widget.php +2 -2
  2. readme.txt +5 -1
image-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Image Widget
4
  Plugin URI: http://wordpress.org/extend/plugins/image-widget/
5
  Description: Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
6
  Author: Shane and Peter, Inc.
7
- Version: 3.0.8
8
  Author URI: http://www.shaneandpeter.com
9
  */
10
 
@@ -158,8 +158,8 @@ class SP_Image_Widget extends WP_Widget {
158
  public function media_upload_tabs($tabs) {
159
  if ( $this->is_sp_widget_context() ) {
160
  unset($tabs['type_url']);
161
- return $tabs;
162
  }
 
163
  }
164
 
165
 
4
  Plugin URI: http://wordpress.org/extend/plugins/image-widget/
5
  Description: Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
6
  Author: Shane and Peter, Inc.
7
+ Version: 3.0.9
8
  Author URI: http://www.shaneandpeter.com
9
  */
10
 
158
  public function media_upload_tabs($tabs) {
159
  if ( $this->is_sp_widget_context() ) {
160
  unset($tabs['type_url']);
 
161
  }
162
+ return $tabs;
163
  }
164
 
165
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.shaneandpeter.com
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
5
  Requires at least: 2.8
6
  Tested up to: 2.9
7
- Stable tag: 3.0.8
8
 
9
  == Description ==
10
 
@@ -35,6 +35,10 @@ If you find any bugs or have any ideas, please mail us.
35
 
36
  == Changelog ==
37
 
 
 
 
 
38
  = 3.0.8 =
39
 
40
  * Remove the "From URL" tab since it isn't supported.
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
5
  Requires at least: 2.8
6
  Tested up to: 2.9
7
+ Stable tag: 3.0.9
8
 
9
  == Description ==
10
 
35
 
36
  == Changelog ==
37
 
38
+ = 3.0.9 =
39
+
40
+ * Fix bug: update tabs filter to not kill tabs if upload window is for non widget uses.
41
+
42
  = 3.0.8 =
43
 
44
  * Remove the "From URL" tab since it isn't supported.