Yasr – Yet Another Stars Rating - Version 0.5.3

Version Description

  • Fixed a non closing div. This can cause problem when used in old template
Download this release

Release Info

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

Code changes from version 0.5.2 to 0.5.3

lib/yasr-shortcode-functions.php CHANGED
@@ -48,6 +48,11 @@ function shortcode_overall_rating_callback ($atts) {
48
  break;
49
  }
50
 
 
 
 
 
 
51
 
52
  //IF show overall rating in loop is disabled use is_singular && is_main query
53
  if ( YASR_SHOW_OVERALL_IN_LOOP === 'disabled' ) {
@@ -332,7 +337,6 @@ function shortcode_visitor_votes_callback ($atts) {
332
  jQuery.cookie(cookiename, value, { expires : 360 });
333
  }) ;
334
  });
335
- //} //End if (!jQuery.cookie(cookiename))
336
 
337
 
338
  //If user is not logged in
48
  break;
49
  }
50
 
51
+ if (YASR_TEXT_BEFORE_STARS == 1 && YASR_TEXT_BEFORE_OVERALL != '') {
52
+
53
+ $shortcode_html .= "</div>";
54
+
55
+ }
56
 
57
  //IF show overall rating in loop is disabled use is_singular && is_main query
58
  if ( YASR_SHOW_OVERALL_IN_LOOP === 'disabled' ) {
337
  jQuery.cookie(cookiename, value, { expires : 360 });
338
  }) ;
339
  });
 
340
 
341
 
342
  //If user is not logged in
readme.txt CHANGED
@@ -3,7 +3,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
3
  Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post rating, posts, rate, rating, rating platform, rating system, ratings, review, reviews, rich snippets, seo, star, star rating, stars, vote, Votes, voting, voting contest, schema, serp
4
  Requires at least: 3.5
5
  Tested up to: 4.0
6
- Stable tag: 0.5.2
7
  License: GPL2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -83,6 +83,9 @@ Of course not: you can easily add it on the visual editor just by clicking on th
83
 
84
  == Changelog ==
85
 
 
 
 
86
  = 0.5.2 =
87
  * Bugfixes
88
 
3
  Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post rating, posts, rate, rating, rating platform, rating system, ratings, review, reviews, rich snippets, seo, star, star rating, stars, vote, Votes, voting, voting contest, schema, serp
4
  Requires at least: 3.5
5
  Tested up to: 4.0
6
+ Stable tag: 0.5.3
7
  License: GPL2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
83
 
84
  == Changelog ==
85
 
86
+ = 0.5.3 =
87
+ * Fixed a non closing div. This can cause problem when used in old template
88
+
89
  = 0.5.2 =
90
  * Bugfixes
91
 
yet-another-stars-rating.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Yet Another Stars Rating
4
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
  * Description: Rating system with rich snippets
6
- * Version: 0.5.2
7
  * Author: Dario Curvino
8
  * Author URI: http://profiles.wordpress.org/dudo/
9
  * License: GPL2
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
28
  */
29
 
30
 
31
- define('YASR_VERSION_NUM', '0.5.2');
32
 
33
  //Plugin absolute path
34
  define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
3
  * Plugin Name: Yet Another Stars Rating
4
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
  * Description: Rating system with rich snippets
6
+ * Version: 0.5.3
7
  * Author: Dario Curvino
8
  * Author URI: http://profiles.wordpress.org/dudo/
9
  * License: GPL2
28
  */
29
 
30
 
31
+ define('YASR_VERSION_NUM', '0.5.3');
32
 
33
  //Plugin absolute path
34
  define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );