The Post Grid - Version 5.0.1

Version Description

  • Fixed: Parse error in the earlier PHP versions.
Download this release

Release Info

Developer techlabpro1
Plugin Icon 128x128 The Post Grid
Version 5.0.1
Comparing to
See all releases

Code changes from version 5.0.0 to 5.0.1

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: post grid, content grid, post block, post grid gutengerg block, post grid elementor addon
5
  Requires at least: 5.0
6
  Tested up to: 6.1
7
- Stable tag: 5.0.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -361,6 +361,10 @@ With the Post Grid PRO, you get to use the Single Page Builder, which is based o
361
 
362
  == Changelog ==
363
 
 
 
 
 
364
  = 5.0.0 =
365
  * Added: 3 Gutenberg Blocks (Grid Layout, List Layout, and Grid Hover Layout) with 9 layouts for Post Grid
366
  * Fixed: Shortcode bug fixed
4
  Tags: post grid, content grid, post block, post grid gutengerg block, post grid elementor addon
5
  Requires at least: 5.0
6
  Tested up to: 6.1
7
+ Stable tag: 5.0.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
361
 
362
  == Changelog ==
363
 
364
+ = 5.0.1 =
365
+ * Fixed: Parse error in the earlier PHP versions.
366
+
367
+
368
  = 5.0.0 =
369
  * Added: 3 Gutenberg Blocks (Grid Layout, List Layout, and Grid Hover Layout) with 9 layouts for Post Grid
370
  * Fixed: Shortcode bug fixed
app/Controllers/Admin/UpgradeController.php CHANGED
@@ -69,7 +69,7 @@ class UpgradeController {
69
  esc_attr( $class ),
70
  esc_url( $link_pro ),
71
  esc_html( $text ),
72
- self::$compare_version,
73
  );
74
  }
75
  );
69
  esc_attr( $class ),
70
  esc_url( $link_pro ),
71
  esc_html( $text ),
72
+ self::$compare_version
73
  );
74
  }
75
  );
app/Widgets/elementor/rtTPGElementorQuery.php CHANGED
@@ -22,7 +22,7 @@ class rtTPGElementorQuery {
22
  *
23
  * @return array
24
  */
25
- public static function post_query( $data, $prefix = '' ): array {
26
  $post_type = isset( $data['post_type'] ) ? $data['post_type'] : 'post';
27
  $args = [
28
  'post_type' => [ $post_type ],
@@ -231,7 +231,7 @@ class rtTPGElementorQuery {
231
  *
232
  * @return array
233
  */
234
- public static function post_query_builder( $data, $prefix = '', $template_type = '' ): array {
235
  if ( 'single' === $template_type ) {
236
  $rt_post_cat = wp_get_object_terms( $data['last_post_id'], $data['taxonomy_lists'], [ 'fields' => 'ids' ] );
237
  $args = [
22
  *
23
  * @return array
24
  */
25
+ public static function post_query( $data, $prefix = '' ) {
26
  $post_type = isset( $data['post_type'] ) ? $data['post_type'] : 'post';
27
  $args = [
28
  'post_type' => [ $post_type ],
231
  *
232
  * @return array
233
  */
234
+ public static function post_query_builder( $data, $prefix = '', $template_type = '' ) {
235
  if ( 'single' === $template_type ) {
236
  $rt_post_cat = wp_get_object_terms( $data['last_post_id'], $data['taxonomy_lists'], [ 'fields' => 'ids' ] );
237
  $args = [
the-post-grid.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://demo.radiustheme.com/wordpress/plugins/the-post-grid/
5
  * Description: Fast & Easy way to display WordPress post in Grid, List & Isotope view ( filter by category, tag, author..) without a single line of coding.
6
  * Author: RadiusTheme
7
- * Version: 5.0.0
8
  * Text Domain: the-post-grid
9
  * Domain Path: /languages
10
  * Author URI: https://radiustheme.com/
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
17
  exit( 'This script cannot be accessed directly.' );
18
  }
19
 
20
- define( 'RT_THE_POST_GRID_VERSION', '5.0.0' );
21
  define( 'RT_THE_POST_GRID_AUTHOR', 'RadiusTheme' );
22
  define( 'RT_THE_POST_GRID_NAME', 'The Post Grid' );
23
  define( 'RT_THE_POST_GRID_PLUGIN_FILE', __FILE__ );
4
  * Plugin URI: http://demo.radiustheme.com/wordpress/plugins/the-post-grid/
5
  * Description: Fast & Easy way to display WordPress post in Grid, List & Isotope view ( filter by category, tag, author..) without a single line of coding.
6
  * Author: RadiusTheme
7
+ * Version: 5.0.1
8
  * Text Domain: the-post-grid
9
  * Domain Path: /languages
10
  * Author URI: https://radiustheme.com/
17
  exit( 'This script cannot be accessed directly.' );
18
  }
19
 
20
+ define( 'RT_THE_POST_GRID_VERSION', '5.0.1' );
21
  define( 'RT_THE_POST_GRID_AUTHOR', 'RadiusTheme' );
22
  define( 'RT_THE_POST_GRID_NAME', 'The Post Grid' );
23
  define( 'RT_THE_POST_GRID_PLUGIN_FILE', __FILE__ );