Image Widget - Version 2.2.1

Version Description

Download this release

Release Info

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

Code changes from version 2.2 to 2.2.1

Files changed (2) hide show
  1. image-widget.php +3 -3
  2. readme.txt +5 -1
image-widget.php CHANGED
@@ -5,7 +5,7 @@ Plugin Name: Image Widget
5
  Plugin URI: http://www.shaneandpeter.com/wordpress
6
  Description: This widget accepts a title, a link and an image and displays them. The admin panel is separated from the widget to offer independant control
7
  Author: Shane and Peter, Inc. [Contributors: Kevin Miller, Nick Ohrn]
8
- Version: 2.2
9
  Author URI: http://www.shaneandpeter.com
10
  */
11
 
@@ -120,7 +120,7 @@ class sp_image_widget {
120
  $link = !empty($widget_options['link']);
121
  $linktarget = !empty($widget_options['linktarget']);
122
 
123
- echo '<div id="'.$this->options['control_options']['id_base'].'-'.$number.'" class="widget '.$this->options['widget_options']['classname'].'">';
124
 
125
 
126
  if (!empty($widget_options['title'])) {
@@ -160,7 +160,7 @@ class sp_image_widget {
160
 
161
  echo $after_widget;
162
 
163
- echo "</div>\n";
164
 
165
  }
166
 
5
  Plugin URI: http://www.shaneandpeter.com/wordpress
6
  Description: This widget accepts a title, a link and an image and displays them. The admin panel is separated from the widget to offer independant control
7
  Author: Shane and Peter, Inc. [Contributors: Kevin Miller, Nick Ohrn]
8
+ Version: 2.2.1
9
  Author URI: http://www.shaneandpeter.com
10
  */
11
 
120
  $link = !empty($widget_options['link']);
121
  $linktarget = !empty($widget_options['linktarget']);
122
 
123
+ echo '<li id="'.$this->options['control_options']['id_base'].'-'.$number.'" class="widget '.$this->options['widget_options']['classname'].'">';
124
 
125
 
126
  if (!empty($widget_options['title'])) {
160
 
161
  echo $after_widget;
162
 
163
+ echo "</li>\n";
164
 
165
  }
166
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.shaneandpeter.com
4
  Tags: widget, image, ad, banner, simple
5
  Requires at least: 2.0
6
  Tested up to: 2.7.1
7
- Stable tag: 2.2
8
 
9
  Simple image widget. Allows for placement of an image in the sidebar without requiring Design access.
10
 
@@ -33,6 +33,10 @@ If you find any bugs or have any ideas, please mail us.
33
 
34
  == Changelog ==
35
 
 
 
 
 
36
  New in version 2.2
37
 
38
  * Fixed missing DIV close tag (Thank you Jesper Goos)
4
  Tags: widget, image, ad, banner, simple
5
  Requires at least: 2.0
6
  Tested up to: 2.7.1
7
+ Stable tag: 2.2.1
8
 
9
  Simple image widget. Allows for placement of an image in the sidebar without requiring Design access.
10
 
33
 
34
  == Changelog ==
35
 
36
+ New in version 2.2.1
37
+
38
+ * Update <div> to be <li> (Thanks to Lois Turley)
39
+
40
  New in version 2.2
41
 
42
  * Fixed missing DIV close tag (Thank you Jesper Goos)