Yasr – Yet Another Stars Rating - Version 2.7.0

Version Description

Sorry, I swear it is the last update for today :) * FIXED: fixed warning that can return on fresh installations

Download this release

Release Info

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

Code changes from version 2.6.9 to 2.7.0

includes/yasr-includes-init.php CHANGED
@@ -207,13 +207,13 @@ if ($style_options) {
207
  }
208
 
209
  //Multi set options
210
- $first_multiset = YasrMultiSetData::returnFirstSetId();
211
- define('YASR_FIRST_SETID', $first_multiset);
 
 
 
212
 
213
- if(YASR_FIRST_SETID !== false) {
214
- $multi_set_options = get_option('yasr_multiset_options');
215
-
216
- if ($multi_set_options) {
217
  if (isset($multi_set_options['show_average'])) {
218
  define('YASR_MULTI_SHOW_AVERAGE', $multi_set_options['show_average']);
219
  }
207
  }
208
 
209
  //Multi set options
210
+ $multi_set_options = get_option('yasr_multiset_options');
211
+ if ($multi_set_options) {
212
+ //Multi set options
213
+ $first_multiset = YasrMultiSetData::returnFirstSetId();
214
+ define('YASR_FIRST_SETID', $first_multiset);
215
 
216
+ if(YASR_FIRST_SETID !== false) {
 
 
 
217
  if (isset($multi_set_options['show_average'])) {
218
  define('YASR_MULTI_SHOW_AVERAGE', $multi_set_options['show_average']);
219
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 5.0
5
  Contributors: Dudo
6
  Tested up to: 5.7
7
  Requires PHP: 5.4
8
- Stable tag: 2.6.9
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
@@ -181,6 +181,10 @@ If doesn't, you should work on your seo reputation.
181
 
182
  The full changelog can be found in the plugin's directory. Recent entries:
183
 
 
 
 
 
184
  = 2.6.9 =
185
  * FIXED: error YasrMultiSetData.php on line 61 if multiSet are not used
186
 
5
  Contributors: Dudo
6
  Tested up to: 5.7
7
  Requires PHP: 5.4
8
+ Stable tag: 2.7.0
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
181
 
182
  The full changelog can be found in the plugin's directory. Recent entries:
183
 
184
+ = 2.7.0 =
185
+ Sorry, I swear it is the last update for today :)
186
+ * FIXED: fixed warning that can return on fresh installations
187
+
188
  = 2.6.9 =
189
  * FIXED: error YasrMultiSetData.php on line 61 if multiSet are not used
190
 
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: Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
7
- * Version: 2.6.9
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.6.9' );
80
  //Plugin absolute path
81
  //e.g. /var/www/html/plugin_development/wp-content/plugins/yet-another-stars-rating
82
  define( 'YASR_ABSOLUTE_PATH', __DIR__ );
4
  * Plugin Name: Yet Another Stars Rating
5
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
6
  * Description: Boost the way people interact with your site with an easy WordPress stars rating system! With schema.org rich snippets YASR will improve your SEO
7
+ * Version: 2.7.0
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.7.0' );
80
  //Plugin absolute path
81
  //e.g. /var/www/html/plugin_development/wp-content/plugins/yet-another-stars-rating
82
  define( 'YASR_ABSOLUTE_PATH', __DIR__ );