Yasr – Yet Another Stars Rating - Version 2.0.5

Version Description

  • FIXED: Warning: array_merge(): on line 552 in yasr-functions.php
Download this release

Release Info

Developer Dudo
Plugin Icon 128x128 Yasr – Yet Another Stars Rating
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

lib/yasr-functions.php CHANGED
@@ -546,7 +546,7 @@ function yasr_add_schema($content) {
546
}
547
548
//if doesn't exists a filter for yasr_filter_existing_schema, false is assigned to $more_rich_snippet
549
- $more_rich_snippet = apply_filters('yasr_filter_existing_schema', $review_choosen);
550
551
if ($more_rich_snippet !== false) {
552
$rich_snippet = array_merge($rich_snippet, $more_rich_snippet);
546
}
547
548
//if doesn't exists a filter for yasr_filter_existing_schema, false is assigned to $more_rich_snippet
549
+ $more_rich_snippet = apply_filters('yasr_filter_existing_schema', false);
550
551
if ($more_rich_snippet !== false) {
552
$rich_snippet = array_merge($rich_snippet, $more_rich_snippet);
readme.txt CHANGED
@@ -3,9 +3,9 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
3
Tags: ratings, rating, postrating, google rating, 5 star, review, reviews, star rating, vote, votes, blocks
4
Requires at least: 4.3.0
5
Contributors: Dudo
6
- Tested up to: 5.2.2
7
Requires PHP: 5.3
8
- Stable tag: 2.0.4
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
Boost the way people interact with your website, e-commerce or blog with an easy and intuitive WordPress rating system!
@@ -133,6 +133,9 @@ If doesn't, it's suggested to ask in a SEO oriented forum.
133
134
The full changelog can be found in the plugin's directory. Recent entries:
135
136
= 2.0.4 =
137
* NEW FEATURE: is now possible align to left, center or right if auto insert is used
138
* TWEAKED: check tidy version before use it: this will fix some enconding issue if an old version in server is installed
3
Tags: ratings, rating, postrating, google rating, 5 star, review, reviews, star rating, vote, votes, blocks
4
Requires at least: 4.3.0
5
Contributors: Dudo
6
+ Tested up to: 5.2.3
7
Requires PHP: 5.3
8
+ Stable tag: 2.0.5
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
Boost the way people interact with your website, e-commerce or blog with an easy and intuitive WordPress rating system!
133
134
The full changelog can be found in the plugin's directory. Recent entries:
135
136
+ = 2.0.5 =
137
+ * FIXED: Warning: array_merge(): on line 552 in yasr-functions.php
138
+
139
= 2.0.4 =
140
* NEW FEATURE: is now possible align to left, center or right if auto insert is used
141
* TWEAKED: check tidy version before use it: this will fix some enconding issue if an old version in server is installed
yet-another-stars-rating.php CHANGED
@@ -4,7 +4,7 @@
4
* Plugin Name: Yet Another Stars Rating
5
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
6
* Description: Yasr - Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and testimonials to your website posts, pages and CPT, without affecting its speed.
7
- * Version: 2.0.4
8
* Author: Dario Curvino
9
* Author URI: https://dariocurvino.it/
10
* Text Domain: yet-another-stars-rating
@@ -76,7 +76,7 @@ if ( !function_exists( 'yasr_fs' ) ) {
76
yasr_fs();
77
// Signal that SDK was initiated.
78
do_action( 'yasr_fs_loaded' );
79
- define( 'YASR_VERSION_NUM', '2.0.4' );
80
//Plugin relative path
81
define( "YASR_ABSOLUTE_PATH", dirname( __FILE__ ) );
82
//Plugin RELATIVE PATH without slashes (just the directory's name)
4
* Plugin Name: Yet Another Stars Rating
5
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
6
* Description: Yasr - Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and testimonials to your website posts, pages and CPT, without affecting its speed.
7
+ * Version: 2.0.5
8
* Author: Dario Curvino
9
* Author URI: https://dariocurvino.it/
10
* Text Domain: yet-another-stars-rating
76
yasr_fs();
77
// Signal that SDK was initiated.
78
do_action( 'yasr_fs_loaded' );
79
+ define( 'YASR_VERSION_NUM', '2.0.5' );
80
//Plugin relative path
81
define( "YASR_ABSOLUTE_PATH", dirname( __FILE__ ) );
82
//Plugin RELATIVE PATH without slashes (just the directory's name)