Related Posts Thumbnails Plugin for WordPress - Version 1.7.1

Version Description

  • Please upgrade immediately - fix for php 5.3

=

Download this release

Release Info

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

Code changes from version 1.7.0 to 1.7.1

inc/rpt-blocks.php CHANGED
@@ -8,10 +8,10 @@ function enqueue_block_editor_assets() {
8
  $style_path = 'assets/blocks/css/blocks.editor.css';
9
 
10
  // Enqueue the bundled block JS file
11
- wp_enqueue_script( 'rpt-blocks-js', RELATED_POSTS_THUMBNAILS_URI.$block_path, ['wp-i18n', 'wp-element', 'wp-blocks', 'wp-components', 'wp-editor'], RELATED_POSTS_THUMBNAILS_VERSION );
12
 
13
  // Enqueue optional editor only styles
14
- wp_enqueue_style( 'rpt-blocks-editor-css', RELATED_POSTS_THUMBNAILS_URI.$style_path, [], RELATED_POSTS_THUMBNAILS_VERSION );
15
  }
16
 
17
  add_action('enqueue_block_editor_assets', 'enqueue_block_editor_assets');
@@ -39,7 +39,7 @@ function enqueue_frontend_assets() {
39
 
40
  $block_path = 'assets/blocks/js/frontend.blocks.js';
41
 
42
- wp_enqueue_script( 'rpt-blocks-frontend', RELATED_POSTS_THUMBNAILS_URI.$block_path, [], RELATED_POSTS_THUMBNAILS_VERSION );
43
  }
44
 
45
  add_action('enqueue_block_assets', 'enqueue_frontend_assets');
@@ -82,9 +82,9 @@ function register_rpt_dynamic_block() {
82
  }
83
 
84
  // Hook server side rendering into render callback
85
- register_block_type('related-post-thumbnails/rpt-block', [
86
  'render_callback' => 'render_rpt_dynamic_block'
87
- ]);
88
  }
89
 
90
  /**
8
  $style_path = 'assets/blocks/css/blocks.editor.css';
9
 
10
  // Enqueue the bundled block JS file
11
+ wp_enqueue_script( 'rpt-blocks-js', RELATED_POSTS_THUMBNAILS_URI.$block_path, array('wp-i18n', 'wp-element', 'wp-blocks', 'wp-components', 'wp-editor'), RELATED_POSTS_THUMBNAILS_VERSION );
12
 
13
  // Enqueue optional editor only styles
14
+ wp_enqueue_style( 'rpt-blocks-editor-css', RELATED_POSTS_THUMBNAILS_URI.$style_path, array(), RELATED_POSTS_THUMBNAILS_VERSION );
15
  }
16
 
17
  add_action('enqueue_block_editor_assets', 'enqueue_block_editor_assets');
39
 
40
  $block_path = 'assets/blocks/js/frontend.blocks.js';
41
 
42
+ wp_enqueue_script( 'rpt-blocks-frontend', RELATED_POSTS_THUMBNAILS_URI.$block_path, array(), RELATED_POSTS_THUMBNAILS_VERSION );
43
  }
44
 
45
  add_action('enqueue_block_assets', 'enqueue_frontend_assets');
82
  }
83
 
84
  // Hook server side rendering into render callback
85
+ register_block_type('related-post-thumbnails/rpt-block', array(
86
  'render_callback' => 'render_rpt_dynamic_block'
87
+ ));
88
  }
89
 
90
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpbrigade.com/
4
  Tags: easy related posts, Related Posts thumbnails, Free Related Posts, related posts, similar related posts
5
  Requires at least: 3.6
6
  Tested up to: 5.2
7
- Stable tag: 1.7.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -71,11 +71,14 @@ If there are no images of the specified size in the post, or file does not exist
71
 
72
  == Upgrade Notice ==
73
 
74
- = 1.7.0 =
75
- * Please upgrade immediately - Introducing Gutenberg block for Related posts.
76
 
77
  == Changelog ==
78
 
 
 
 
79
  = 1.7.0 - 2019-05-24 =
80
  * New Feature : Added Gutenberg block for Related posts.
81
  * Bug Fix : Empty container class name.
4
  Tags: easy related posts, Related Posts thumbnails, Free Related Posts, related posts, similar related posts
5
  Requires at least: 3.6
6
  Tested up to: 5.2
7
+ Stable tag: 1.7.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
71
 
72
  == Upgrade Notice ==
73
 
74
+ = 1.7.1 =
75
+ * Please upgrade immediately - fix for php 5.3
76
 
77
  == Changelog ==
78
 
79
+ = 1.7.1 - 2019-05-27 =
80
+ * Bug Fix : Compatibility issue with php 5.3 in newly Gutenberg block.
81
+
82
  = 1.7.0 - 2019-05-24 =
83
  * New Feature : Added Gutenberg block for Related posts.
84
  * Bug Fix : Empty container class name.
related-posts-thumbnails.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WordPress Related Posts Thumbnails
4
  * Plugin URI: https://wpbrigade.com/wordpress/plugins/related-posts/?utm_source=related-posts-lite&utm_medium=plugin-uri&utm_campaign=pro-upgrade-rp
5
  * Description: Showing related posts thumbnails under the posts.
6
- * Version: 1.7.0
7
  * Author: WPBrigade
8
  * Author URI: https://WPBrigade.com/?utm_source=related-posts-lite&utm_medium=author-link&utm_campaign=pro-upgrade-rp
9
  */
3
  * Plugin Name: WordPress Related Posts Thumbnails
4
  * Plugin URI: https://wpbrigade.com/wordpress/plugins/related-posts/?utm_source=related-posts-lite&utm_medium=plugin-uri&utm_campaign=pro-upgrade-rp
5
  * Description: Showing related posts thumbnails under the posts.
6
+ * Version: 1.7.1
7
  * Author: WPBrigade
8
  * Author URI: https://WPBrigade.com/?utm_source=related-posts-lite&utm_medium=author-link&utm_campaign=pro-upgrade-rp
9
  */