Related Posts Thumbnails Plugin for WordPress - Version 1.5.1

Version Description

  • [BugFix] Removed deprecated constructors for Related Posts widget. Compatible with PHP 7.0
Download this release

Release Info

Developer hiddenpearls
Plugin Icon 128x128 Related Posts Thumbnails Plugin for WordPress
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5.0 to 1.5.1

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpress.shaldybina.com/donate
4
  Tags: related, posts, thumbnails, Related Content, related posts, pages, similar posts, shortcodes, widgets
5
  Requires at least: 2.9
6
  Tested up to: 4.5.3
7
- Stable tag: 1.5.0
8
 
9
  The Best Customizable plugin, that nicely displays related posts thumbnails under the post.
10
 
@@ -65,10 +65,13 @@ If there are no images of the specified size in the post, or file does not exist
65
 
66
  == Changelog ==
67
 
68
- = 1.5.0
 
 
 
69
  * Major UI changes for admin settings and compatibility with WP 4.5
70
 
71
- = 1.4.0
72
  * compatibility with WP 4.4
73
 
74
  = 1.3.1 =
@@ -146,6 +149,10 @@ If there are no images of the specified size in the post, or file does not exist
146
 
147
  == Upgrade Notice ==
148
 
 
 
 
 
149
  = 1.5.0 =
150
  Major UI changes for admin settings and compatibility with WP 4.5
151
 
4
  Tags: related, posts, thumbnails, Related Content, related posts, pages, similar posts, shortcodes, widgets
5
  Requires at least: 2.9
6
  Tested up to: 4.5.3
7
+ Stable tag: 1.5.1
8
 
9
  The Best Customizable plugin, that nicely displays related posts thumbnails under the post.
10
 
65
 
66
  == Changelog ==
67
 
68
+ = 1.5.1 =
69
+ * [BugFix] Removed deprecated constructors for Related Posts widget. Compatible with PHP 7.0
70
+
71
+ = 1.5.0 =
72
  * Major UI changes for admin settings and compatibility with WP 4.5
73
 
74
+ = 1.4.0 =
75
  * compatibility with WP 4.4
76
 
77
  = 1.3.1 =
149
 
150
  == Upgrade Notice ==
151
 
152
+ = 1.5.1 =
153
+
154
+ [BugFix] Removed deprecated constructors for Related Posts widget. Compatible with PHP 7.0
155
+
156
  = 1.5.0 =
157
  Major UI changes for admin settings and compatibility with WP 4.5
158
 
related-posts-thumbnails.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Related Posts Thumbnails
4
  * Plugin URI: http://wordpress.shaldybina.com/plugins/related-posts-thumbnails/
5
  * Description: Showing related posts thumbnails under the post.
6
- * Version: 1.5.0
7
  * Author: Maria Shaldybina
8
  * Author URI: http://shaldybina.com/
9
  */
@@ -48,7 +48,7 @@ class RelatedPostsThumbnails {
48
  var $post_types = array( 'post' );
49
  var $custom_taxonomies = array();
50
 
51
- function RelatedPostsThumbnails() {
52
  // initialization
53
  load_plugin_textdomain( 'related-posts-thumbnails', false, basename( dirname( __FILE__ ) ) . '/locale' );
54
  $this->default_image = esc_url( plugins_url( 'img/default.png', __FILE__ ) );
@@ -1244,7 +1244,8 @@ function get_related_posts_thumbnails() {
1244
  * Related Posts Widget, will be displayed on post page
1245
  */
1246
  class RelatedPostsThumbnailsWidget extends WP_Widget {
1247
- function RelatedPostsThumbnailsWidget() {
 
1248
  parent::__construct( false, $name = 'Related Posts Thumbnails' );
1249
  }
1250
 
3
  * Plugin Name: Related Posts Thumbnails
4
  * Plugin URI: http://wordpress.shaldybina.com/plugins/related-posts-thumbnails/
5
  * Description: Showing related posts thumbnails under the post.
6
+ * Version: 1.5.1
7
  * Author: Maria Shaldybina
8
  * Author URI: http://shaldybina.com/
9
  */
48
  var $post_types = array( 'post' );
49
  var $custom_taxonomies = array();
50
 
51
+ function __construct() {
52
  // initialization
53
  load_plugin_textdomain( 'related-posts-thumbnails', false, basename( dirname( __FILE__ ) ) . '/locale' );
54
  $this->default_image = esc_url( plugins_url( 'img/default.png', __FILE__ ) );
1244
  * Related Posts Widget, will be displayed on post page
1245
  */
1246
  class RelatedPostsThumbnailsWidget extends WP_Widget {
1247
+
1248
+ function __construct() {
1249
  parent::__construct( false, $name = 'Related Posts Thumbnails' );
1250
  }
1251
 
screenshot-1.png DELETED
Binary file
screenshot-2.png DELETED
Binary file