Yasr – Yet Another Stars Rating - Version 2.9.0

Version Description

  • FIXED: ranking yasr_most_or_highest_rated_posts doesn't load in some circumstances
Download this release

Release Info

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

Code changes from version 2.8.9 to 2.9.0

includes/shortcodes/classes/YasrRankings.php CHANGED
@@ -87,6 +87,8 @@ class YasrRankings extends YasrShortcode {
87
  $this->returnDoubleTableRanking($this->urlencodeAtts($sql_atts), $source);
88
  $this->shortcode_html .= '<!--End Yasr TMost Or Highest Rated Shortcode -->';
89
 
 
 
90
  return $this->shortcode_html;
91
  }
92
 
@@ -112,6 +114,8 @@ class YasrRankings extends YasrShortcode {
112
  $this->returnSingleTableRanking($this->urlencodeAtts($sql_atts), 'author_multi');
113
  $this->shortcode_html .= '<!-- Yasr Ranking by Multiset -->';
114
 
 
 
115
  return $this->shortcode_html;
116
  }
117
 
@@ -149,6 +153,8 @@ class YasrRankings extends YasrShortcode {
149
  $this->returnDoubleTableRanking($this->urlencodeAtts($sql_atts), 'visitor_multi');
150
  $this->shortcode_html .= '<!--End Yasr Ranking by Visitor Multiset -->';
151
 
 
 
152
  return $this->shortcode_html;
153
  }
154
 
87
  $this->returnDoubleTableRanking($this->urlencodeAtts($sql_atts), $source);
88
  $this->shortcode_html .= '<!--End Yasr TMost Or Highest Rated Shortcode -->';
89
 
90
+ YasrShortcode::enqueueRankingScript();
91
+
92
  return $this->shortcode_html;
93
  }
94
 
114
  $this->returnSingleTableRanking($this->urlencodeAtts($sql_atts), 'author_multi');
115
  $this->shortcode_html .= '<!-- Yasr Ranking by Multiset -->';
116
 
117
+ YasrShortcode::enqueueRankingScript();
118
+
119
  return $this->shortcode_html;
120
  }
121
 
153
  $this->returnDoubleTableRanking($this->urlencodeAtts($sql_atts), 'visitor_multi');
154
  $this->shortcode_html .= '<!--End Yasr Ranking by Visitor Multiset -->';
155
 
156
+ YasrShortcode::enqueueRankingScript();
157
+
158
  return $this->shortcode_html;
159
  }
160
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: rating, rate post, rate page, star rating, google rating, votes
4
  Requires at least: 5.0
5
  Contributors: Dudo
6
  Tested up to: 5.9
7
- Stable tag: 2.8.9
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  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
@@ -197,6 +197,9 @@ Yes, YASR is 100% fully compatible with PHP 8
197
 
198
  The full changelog can be found in the plugin's directory. Recent entries:
199
 
 
 
 
200
  = 2.8.9 =
201
  * FIXED: stars next to the title didn't work if shortcode doesn't exists in a post or page
202
  * TWEAKED: minor changes
@@ -208,6 +211,7 @@ The full changelog can be found in the plugin's directory. Recent entries:
208
  * FIXED: Import functions from external plugins is now compatible with mysql8
209
  * FIXED: itemTypename didn't get saved into Rich snippet options above the editor
210
 
 
211
  = 2.8.7 =
212
  * TWEAKED: added a check to improve compatibility with external plugins
213
  * TWEAKED: removed old and useless languages files: only three were left to use as example
@@ -234,9 +238,11 @@ WordPress version 5.6
234
  * FIXED: link to trial page
235
  * TWEAKED: added some hooks
236
 
 
237
  = 2.8.2 =
238
  * FIXED: if "Enable stars next to the title?" is activated, the ratings also appears in rss feed.
239
 
 
240
  = 2.8.1 =
241
  * FIXED: error that could occurs in some circumstances
242
 
@@ -251,6 +257,7 @@ a php warning is returned
251
  = 2.7.9 =
252
  * FIXED: missing stats in some circumstances for yasr_visitor_votes shortcode
253
 
 
254
  = 2.7.8 =
255
  * FIXED: error when "Load results with AJAX?" is enabled, and the attribute "readonly" is set to yasr_visitor_votes shortcode
256
  * TWEAKED: css minor changes
4
  Requires at least: 5.0
5
  Contributors: Dudo
6
  Tested up to: 5.9
7
+ Stable tag: 2.9.0
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  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
197
 
198
  The full changelog can be found in the plugin's directory. Recent entries:
199
 
200
+ = 2.9.0 =
201
+ * FIXED: ranking yasr_most_or_highest_rated_posts doesn't load in some circumstances
202
+
203
  = 2.8.9 =
204
  * FIXED: stars next to the title didn't work if shortcode doesn't exists in a post or page
205
  * TWEAKED: minor changes
211
  * FIXED: Import functions from external plugins is now compatible with mysql8
212
  * FIXED: itemTypename didn't get saved into Rich snippet options above the editor
213
 
214
+
215
  = 2.8.7 =
216
  * TWEAKED: added a check to improve compatibility with external plugins
217
  * TWEAKED: removed old and useless languages files: only three were left to use as example
238
  * FIXED: link to trial page
239
  * TWEAKED: added some hooks
240
 
241
+
242
  = 2.8.2 =
243
  * FIXED: if "Enable stars next to the title?" is activated, the ratings also appears in rss feed.
244
 
245
+
246
  = 2.8.1 =
247
  * FIXED: error that could occurs in some circumstances
248
 
257
  = 2.7.9 =
258
  * FIXED: missing stats in some circumstances for yasr_visitor_votes shortcode
259
 
260
+
261
  = 2.7.8 =
262
  * FIXED: error when "Load results with AJAX?" is enabled, and the attribute "readonly" is set to yasr_visitor_votes shortcode
263
  * TWEAKED: css minor changes
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.8.9
8
  * Requires at least: 5.6
9
  * Requires PHP: 5.4
10
  * Author: Dario Curvino
@@ -78,7 +78,7 @@ if ( !function_exists( 'yasr_fs' ) ) {
78
  yasr_fs();
79
  // Signal that SDK was initiated.
80
  do_action( 'yasr_fs_loaded' );
81
- define( 'YASR_VERSION_NUM', '2.8.9' );
82
  //Plugin absolute path
83
  //e.g. /var/www/html/plugin_development/wp-content/plugins/yet-another-stars-rating
84
  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.9.0
8
  * Requires at least: 5.6
9
  * Requires PHP: 5.4
10
  * Author: Dario Curvino
78
  yasr_fs();
79
  // Signal that SDK was initiated.
80
  do_action( 'yasr_fs_loaded' );
81
+ define( 'YASR_VERSION_NUM', '2.9.0' );
82
  //Plugin absolute path
83
  //e.g. /var/www/html/plugin_development/wp-content/plugins/yet-another-stars-rating
84
  define( 'YASR_ABSOLUTE_PATH', __DIR__ );