Version Description
- Fixed the reference to the widget's parent class to prevent an error.
Download this release
Release Info
Developer | bradyvercher |
Plugin | Simple Image Widget |
Version | 4.0.2 |
Comparing to | |
See all releases |
Code changes from version 4.0.1 to 4.0.2
- includes/class-simple-image-widget.php +1 -1
- languages/simple-image-widget.pot +1 -1
- readme.txt +3 -0
- simple-image-widget.php +1 -1
includes/class-simple-image-widget.php
CHANGED
@@ -393,7 +393,7 @@ class Simple_Image_Widget extends WP_Widget {
|
|
393 |
public function is_preview() {
|
394 |
global $wp_customize;
|
395 |
|
396 |
-
if ( method_exists(
|
397 |
return parent::is_preview();
|
398 |
}
|
399 |
|
393 |
public function is_preview() {
|
394 |
global $wp_customize;
|
395 |
|
396 |
+
if ( method_exists( get_parent_class( $this ), 'is_preview' ) ) {
|
397 |
return parent::is_preview();
|
398 |
}
|
399 |
|
languages/simple-image-widget.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Simple Image Widget 4.0.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"http://wordpress.org/support/plugin/simple-image-widget\n"
|
8 |
"POT-Creation-Date: 2014-06-13 21:26:00+00:00\n"
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Simple Image Widget 4.0.2\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"http://wordpress.org/support/plugin/simple-image-widget\n"
|
8 |
"POT-Creation-Date: 2014-06-13 21:26:00+00:00\n"
|
readme.txt
CHANGED
@@ -75,6 +75,9 @@ The widget uses the core function `wp_get_attachment_image()` to display the ima
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
78 |
= 4.0.1 =
|
79 |
* Allow more HTML tags in the text field.
|
80 |
* Updated customizer support and prevent cache poisoning.
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 4.0.2 =
|
79 |
+
* Fixed the reference to the widget's parent class to prevent an error.
|
80 |
+
|
81 |
= 4.0.1 =
|
82 |
* Allow more HTML tags in the text field.
|
83 |
* Updated customizer support and prevent cache poisoning.
|
simple-image-widget.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin Name: Simple Image Widget
|
12 |
* Plugin URI: https://wordpress.org/extend/plugins/simple-image-widget/
|
13 |
* Description: A simple image widget utilizing the new WordPress media manager.
|
14 |
-
* Version: 4.0.
|
15 |
* Author: Blazer Six
|
16 |
* Author URI: http://www.blazersix.com/
|
17 |
* License: GPL-2.0+
|
11 |
* Plugin Name: Simple Image Widget
|
12 |
* Plugin URI: https://wordpress.org/extend/plugins/simple-image-widget/
|
13 |
* Description: A simple image widget utilizing the new WordPress media manager.
|
14 |
+
* Version: 4.0.2
|
15 |
* Author: Blazer Six
|
16 |
* Author URI: http://www.blazersix.com/
|
17 |
* License: GPL-2.0+
|