Advanced Random Posts Widget - Version 2.0.6

Version Description

  • 07/12/2015 =
  • Fix: Deprecated function in WordPress 4.3
Download this release

Release Info

Developer satrya
Plugin Icon 128x128 Advanced Random Posts Widget
Version 2.0.6
Comparing to
See all releases

Code changes from version 2.0.5 to 2.0.6

Files changed (3) hide show
  1. arpw.php +1 -1
  2. classes/widget.php +1 -1
  3. readme.txt +4 -1
arpw.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Advanced Random Posts Widget
4
  * Plugin URI: http://satrya.me/projects/advanced-random-posts-widget/
5
  * Description: Easy to display random posts via shortcode or widget.
6
- * Version: 2.0.5
7
  * Author: Satrya
8
  * Author URI: http://satrya.me/
9
  * Author Email: satrya@satrya.me
3
  * Plugin Name: Advanced Random Posts Widget
4
  * Plugin URI: http://satrya.me/projects/advanced-random-posts-widget/
5
  * Description: Easy to display random posts via shortcode or widget.
6
+ * Version: 2.0.6
7
  * Author: Satrya
8
  * Author URI: http://satrya.me/
9
  * Author Email: satrya@satrya.me
classes/widget.php CHANGED
@@ -29,7 +29,7 @@ class Advanced_Random_Posts_Widget extends WP_Widget {
29
  );
30
 
31
  // Create the widget.
32
- $this->WP_Widget(
33
  'arpw-widget', // $this->id_base
34
  __( 'Random Posts', 'arpw' ), // $this->name
35
  $widget_options, // $this->widget_options
29
  );
30
 
31
  // Create the widget.
32
+ parent::__construct(
33
  'arpw-widget', // $this->id_base
34
  __( 'Random Posts', 'arpw' ), // $this->name
35
  $widget_options, // $this->widget_options
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: satrya
3
  Tags: random posts, thumbnail, widget, widgets, sidebar, excerpt, category, post tag, post type, taxonomy, shortcode, multiple widgets
4
  Requires at least: 4.0
5
  Tested up to: 4.3
6
- Stable tag: 2.0.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -168,6 +168,9 @@ after=""
168
 
169
  == Changelog ==
170
 
 
 
 
171
  = 2.0.5 - 07/12/2015 =
172
  * WordPress 4.3 support
173
  * **Update:** Remove `ID` in the widget markup to prevent duplicate ID
3
  Tags: random posts, thumbnail, widget, widgets, sidebar, excerpt, category, post tag, post type, taxonomy, shortcode, multiple widgets
4
  Requires at least: 4.0
5
  Tested up to: 4.3
6
+ Stable tag: 2.0.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
168
 
169
  == Changelog ==
170
 
171
+ = 2.0.6 - 07/12/2015 =
172
+ * **Fix:** Deprecated function in WordPress 4.3
173
+
174
  = 2.0.5 - 07/12/2015 =
175
  * WordPress 4.3 support
176
  * **Update:** Remove `ID` in the widget markup to prevent duplicate ID