Image Widget - Version 3.3.2

Version Description

  • Remove extra esc_attr() from the $title display. (Thank you @romaspit)
Download this release

Release Info

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

Code changes from version 3.3.1 to 3.3.2

Files changed (3) hide show
  1. image-widget.php +1 -1
  2. readme.txt +5 -1
  3. views/widget.php +1 -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: Modern Tribe, Inc.
7
- Version: 3.3.1
8
  Author URI: http://tri.be
9
  */
10
 
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: Modern Tribe, Inc.
7
+ Version: 3.3.2
8
  Author URI: http://tri.be
9
  */
10
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
- Stable tag: 3.3.1
8
 
9
  == Description ==
10
 
@@ -64,6 +64,10 @@ function my_template_filter($template) {
64
 
65
  == Changelog ==
66
 
 
 
 
 
67
  = 3.3.1 =
68
 
69
  * Add minor security updates.
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
+ Stable tag: 3.3.2
8
 
9
  == Description ==
10
 
64
 
65
  == Changelog ==
66
 
67
+ = 3.3.2 =
68
+
69
+ * Remove extra esc_attr() from the $title display. (Thank you @romaspit)
70
+
71
  = 3.3.1 =
72
 
73
  * Add minor security updates.
views/widget.php CHANGED
@@ -9,7 +9,7 @@ if ( !defined('ABSPATH') )
9
  die('-1');
10
 
11
  echo $before_widget;
12
- if ( !empty( $title ) ) { echo $before_title . esc_attr($title) . $after_title; }
13
  if ( !empty( $image ) ) {
14
  if ( $link ) {
15
  echo '<a class="'.$this->widget_options['classname'].'-image-link" href="'.esc_url($link).'" target="'.esc_attr($linktarget).'">';
9
  die('-1');
10
 
11
  echo $before_widget;
12
+ if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }
13
  if ( !empty( $image ) ) {
14
  if ( $link ) {
15
  echo '<a class="'.$this->widget_options['classname'].'-image-link" href="'.esc_url($link).'" target="'.esc_attr($linktarget).'">';